21 #ifndef vtkOpenGLGlyph3DHelper_h 22 #define vtkOpenGLGlyph3DHelper_h 24 #include "vtkRenderingOpenGL2Module.h" 38 this->ModelTransformMatrix = matrix;
43 this->ModelNormalMatrix = matrix;
48 this->ModelColor =
color;
53 this->UseFastPath = fastpath;
54 this->UsingInstancing =
false;
61 std::vector<unsigned char> &colors, std::vector<float> &matrices,
62 std::vector<float> &normalMatrices, std::vector<vtkIdType> &pickIds,
77 #if GL_ES_VERSION_2_0 != 1 || GL_ES_VERSION_3_0 == 1 79 std::vector<unsigned char> &colors, std::vector<float> &matrices,
80 std::vector<float> &normalMatrices,
88 std::map<vtkShader::Type, vtkShader *> shaders,
96 std::map<vtkShader::Type, vtkShader *> shaders,
99 std::map<vtkShader::Type, vtkShader *> shaders,
102 std::map<vtkShader::Type, vtkShader *> shaders,
105 std::map<vtkShader::Type, vtkShader *> shaders,
108 std::map<vtkShader::Type, vtkShader *> shaders,
a PolyDataMapper for the OpenGL library
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
virtual void ReplaceShaderColor(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacments on the shader templates, called from ReplaceShaderValues.
record modification and/or execution time
virtual void GetShaderTemplate(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Create the basic shaders before replacement.
abstract specification for renderers
virtual void SetPropertyShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameteres related to the property, called by UpdateShader.
vtkTypeUInt64 vtkMTimeType
virtual void ReplaceShaderPositionVC(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacments on the shader templates, called from ReplaceShaderValues.
virtual void ReplaceShaderClip(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacments on the shader templates, called from ReplaceShaderValues.
vtkOpenGLBufferObject * NormalMatrixBuffer
window superclass for vtkRenderWindow
void SetModelColor(unsigned char *color)
float * ModelNormalMatrix
a simple class to control print indentation
void SetModelTransform(float *matrix)
void SetModelNormalTransform(float *matrix)
vtkOpenGLBufferObject * ColorBuffer
vtkTimeStamp InstanceBuffersLoadTime
PolyDataMapper using OpenGL to render.
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameters related to the mapper/input data, called by UpdateShader.
vtkOpenGLBufferObject * MatrixBuffer
float * ModelTransformMatrix
void SetUseFastPath(bool fastpath)
dynamic, self-adjusting array of bits
virtual void ReplaceShaderNormal(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacments on the shader templates, called from ReplaceShaderValues.
virtual void SetCameraShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
Set the shader parameteres related to the Camera, called by UpdateShader.
virtual void ReplaceShaderPicking(std::map< vtkShader::Type, vtkShader *> shaders, vtkRenderer *ren, vtkActor *act)
Perform string replacments on the shader templates, called from ReplaceShaderValues.
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
unsigned char * ModelColor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.