66 #ifndef vtkOpenGLInstanceCulling_h 67 #define vtkOpenGLInstanceCulling_h 71 #include "vtkRenderingOpenGL2Module.h" 112 void AddLOD(
float distance,
float targetReduction);
149 vtkSetMacro(ColorLOD,
bool);
150 vtkGetMacro(ColorLOD,
bool);
158 void UploadCurrentState(InstanceLOD& lod,
vtkPolyData* pd);
165 std::vector<InstanceLOD> LODList;
167 bool ColorLOD =
false;
170 #endif // vtkOpenGLInstanceCulling_h
abstract base class for most VTK objects
vtkOpenGLBufferObject * PositionVBO
vtkOpenGLIndexBufferObject * IBO
manage Shader Programs within a context
concrete dataset represents vertices, lines, polygons, and triangle strips
bool operator<(const InstanceLOD &other) const
Frustum culling and LOD management.
vtkOpenGLBufferObject * NormalVBO
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
OpenGL vertex buffer object.