66 #ifndef vtkOpenGLInstanceCulling_h
67 #define vtkOpenGLInstanceCulling_h
71 #include "vtkRenderingOpenGL2Module.h"
113 void AddLOD(
float distance,
float targetReduction);
150 vtkSetMacro(ColorLOD,
bool);
151 vtkGetMacro(ColorLOD,
bool);
159 void UploadCurrentState(InstanceLOD& lod,
vtkPolyData* pd);
166 std::vector<InstanceLOD> LODList;
168 bool ColorLOD =
false;
171 #endif // vtkOpenGLInstanceCulling_h
abstract base class for most VTK objects
vtkOpenGLBufferObject * PositionVBO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLIndexBufferObject * IBO
manage Shader Programs within a context
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
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.