66 #ifndef vtkOpenGLInstanceCulling_h 67 #define vtkOpenGLInstanceCulling_h 71 #include "vtkRenderingOpenGL2Module.h" 99 return this->Distance < other.
Distance;
115 void AddLOD(
float distance,
float targetReduction);
145 void RunCullingShaders(
vtkIdType numInstances,
154 vtkSetMacro(ColorLOD,
bool);
155 vtkGetMacro(ColorLOD,
bool);
170 std::vector<InstanceLOD> LODList;
172 bool ColorLOD =
false;
175 #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
VTKCOMMONCORE_EXPORT bool operator<(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
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.