00001 //============================================================================= 00002 // This file is part of VTKEdge. See vtkedge.org for more information. 00003 // 00004 // Copyright (c) 2010 Kitware, Inc. 00005 // 00006 // VTKEdge may be used under the terms of the BSD License 00007 // Please see the file Copyright.txt in the root directory of 00008 // VTKEdge for further information. 00009 // 00010 // Alternatively, you may see: 00011 // 00012 // http://www.vtkedge.org/vtkedge/project/license.html 00013 // 00014 // 00015 // For custom extensions, consulting services, or training for 00016 // this or any other Kitware supported open source project, please 00017 // contact Kitware at sales@kitware.com. 00018 // 00019 // 00020 //============================================================================= 00025 #ifndef __vtkKWEWireframePainter_h 00026 #define __vtkKWEWireframePainter_h 00027 00028 #include "vtkOpenGLRepresentationPainter.h" 00029 #include "VTKEdgeConfigure.h" // include configuration header 00030 00031 class VTKEdge_RENDERING_EXPORT vtkKWEWireframePainter : public vtkOpenGLRepresentationPainter 00032 { 00033 public: 00034 static vtkKWEWireframePainter* New(); 00035 vtkTypeRevisionMacro(vtkKWEWireframePainter, vtkOpenGLRepresentationPainter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00041 virtual void ReleaseGraphicsResources(vtkWindow *); 00042 00043 //BTX 00044 protected: 00045 vtkKWEWireframePainter(); 00046 ~vtkKWEWireframePainter(); 00047 00052 virtual void PrepareForRendering(vtkRenderer*, vtkActor*); 00053 00055 00056 void RenderInternal(vtkRenderer* renderer, vtkActor* actor, 00057 unsigned long typeflags, bool forceCompileOnly); 00059 00061 bool CanRender(vtkRenderer*, vtkActor*); 00062 00063 private: 00064 vtkKWEWireframePainter(const vtkKWEWireframePainter&); // Not implemented. 00065 void operator=(const vtkKWEWireframePainter&); // Not implemented. 00066 00067 class vtkInternals; 00068 vtkInternals* Internals; 00069 //ETX 00070 }; 00071 00072 #endif 00073 00074
1.7.1