21 #ifndef vtkOpenGLGlyph3DHelper_h 22 #define vtkOpenGLGlyph3DHelper_h 29 #include "vtkRenderingOpenGL2Module.h" 38 void PrintSelf(ostream& os,
vtkIndent indent) override;
45 std::
vector<
unsigned char> &colors, std::
vector<
float> &matrices,
49 void SetLODs(std::
vector<std::pair<
float,
float> >& lods);
51 void SetLODColoring(
bool val);
58 void ReleaseGraphicsResources(
vtkWindow *window) override;
62 ~vtkOpenGLGlyph3DHelper() override = default;
66 std::
vector<
unsigned char> &colors, std::
vector<
float> &matrices,
67 std::
vector<
float> &normalMatrices,
73 void GetShaderTemplate(
81 void ReplaceShaderPicking(
84 void ReplaceShaderColor(
87 void ReplaceShaderNormal(
90 void ReplaceShaderClip(
93 void ReplaceShaderPositionVC(
101 void SetMapperShaderParameters(
106 bool UsingInstancing;
114 std::
vector<std::pair<
float,
float> > LODs;
118 vtkOpenGLGlyph3DHelper(const vtkOpenGLGlyph3DHelper&) = delete;
119 void operator=(const vtkOpenGLGlyph3DHelper&) = delete;
PolyDataMapper using OpenGL to render.
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
vtkTypeUInt32 vtkMTimeType
record modification and/or execution time
abstract specification for renderers
window superclass for vtkRenderWindow
a simple class to control print indentation
Frustum culling and LOD management.
PolyDataMapper using OpenGL to render.
dynamic, self-adjusting array of bits
Vertex or Fragment shader, combined into a ShaderProgram.
Allocate and hold a VTK object.