VTK
9.3.20240831
|
Helps vtkOpenGLLowMemoryPolyDataMapper map and draw cell types from vtkPolyData as OpenGL graphics primitives. More...
#include <vtkOpenGLLowMemoryCellTypeAgent.h>
Public Member Functions | |
vtkOpenGLLowMemoryCellTypeAgent () | |
virtual | ~vtkOpenGLLowMemoryCellTypeAgent () |
void | PreDraw (vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *mapper) const |
void | Draw (vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *mapper, const std::vector< vtkOpenGLLowMemoryPolyDataMapper::CellGroupInformation > &cellGroups, std::size_t cellGroupIdx=0) const |
void | PostDraw (vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *mapper) const |
virtual bool | ImplementsVertexVisibilityPass () const =0 |
void | BeginVertexVisibilityPass () |
void | EndVertexVisibilityPass () |
Protected Member Functions | |
virtual void | PreDrawInternal (vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *lmMapper) const =0 |
virtual void | PostDrawInternal (vtkRenderer *renderer, vtkActor *actor, vtkOpenGLLowMemoryPolyDataMapper *lmMapper) const =0 |
Protected Attributes | |
int | NumberOfPointsPerPrimitive = 1 |
bool | InVertexVisibilityPass = false |
Helps vtkOpenGLLowMemoryPolyDataMapper map and draw cell types from vtkPolyData as OpenGL graphics primitives.
Definition at line 20 of file vtkOpenGLLowMemoryCellTypeAgent.h.
vtkOpenGLLowMemoryCellTypeAgent::vtkOpenGLLowMemoryCellTypeAgent | ( | ) |
|
virtual |
void vtkOpenGLLowMemoryCellTypeAgent::PreDraw | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
vtkOpenGLLowMemoryPolyDataMapper * | mapper | ||
) | const |
void vtkOpenGLLowMemoryCellTypeAgent::Draw | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
vtkOpenGLLowMemoryPolyDataMapper * | mapper, | ||
const std::vector< vtkOpenGLLowMemoryPolyDataMapper::CellGroupInformation > & | cellGroups, | ||
std::size_t | cellGroupIdx = 0 |
||
) | const |
void vtkOpenGLLowMemoryCellTypeAgent::PostDraw | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
vtkOpenGLLowMemoryPolyDataMapper * | mapper | ||
) | const |
|
pure virtual |
Implemented in vtkOpenGLLowMemoryLinesAgent, vtkOpenGLLowMemoryPolygonsAgent, and vtkOpenGLLowMemoryVerticesAgent.
|
inline |
Definition at line 35 of file vtkOpenGLLowMemoryCellTypeAgent.h.
|
inline |
Definition at line 36 of file vtkOpenGLLowMemoryCellTypeAgent.h.
|
protectedpure virtual |
Implemented in vtkOpenGLLowMemoryLinesAgent, vtkOpenGLLowMemoryPolygonsAgent, and vtkOpenGLLowMemoryVerticesAgent.
|
protectedpure virtual |
Implemented in vtkOpenGLLowMemoryLinesAgent, vtkOpenGLLowMemoryPolygonsAgent, and vtkOpenGLLowMemoryVerticesAgent.
|
protected |
Definition at line 44 of file vtkOpenGLLowMemoryCellTypeAgent.h.
|
protected |
Definition at line 45 of file vtkOpenGLLowMemoryCellTypeAgent.h.