20 #ifndef vtkOpenGLGlyph3DHelper_h
21 #define vtkOpenGLGlyph3DHelper_h
33 void PrintSelf(ostream& os,
vtkIndent indent);
35 void SetModelTransform(
float *matrix)
37 this->ModelTransformMatrix = matrix;
42 this->ModelNormalMatrix = matrix;
47 this->ModelColor =
color;
52 this->UseFastPath = fastpath;
53 this->UsingInstancing =
false;
60 std::vector<unsigned char> &colors, std::vector<float> &matrices,
61 std::vector<float> &normalMatrices, std::vector<vtkIdType> &pickIds,
62 unsigned long pointMTime);
75 #if GL_ES_VERSION_2_0 != 1 || GL_ES_VERSION_3_0 == 1
77 std::vector<unsigned char> &colors, std::vector<float> &matrices,
78 std::vector<float> &normalMatrices,
79 unsigned long pointMTime);
85 std::map<vtkShader::Type, vtkShader *> shaders,
92 std::map<vtkShader::Type, vtkShader *> shaders,
95 std::map<vtkShader::Type, vtkShader *> shaders,
98 std::map<vtkShader::Type, vtkShader *> shaders,
101 std::map<vtkShader::Type, vtkShader *> shaders,
104 std::map<vtkShader::Type, vtkShader *> shaders,
a PolyDataMapper for the OpenGL library
virtual void ReplaceShaderPositionVC(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
#define VTKRENDERINGOPENGL2_EXPORT
record modification and/or execution time
virtual void ReplaceShaderClip(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
abstract specification for renderers
virtual void SetPropertyShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
vtkOpenGLBufferObject * NormalMatrixBuffer
window superclass for vtkRenderWindow
void SetModelColor(unsigned char *color)
float * ModelNormalMatrix
a simple class to control print indentation
virtual void ReplaceShaderNormal(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
virtual void ReplaceShaderPicking(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
void SetModelNormalTransform(float *matrix)
vtkOpenGLBufferObject * ColorBuffer
virtual void GetShaderTemplate(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
vtkTimeStamp InstanceBuffersLoadTime
PolyDataMapper using OpenGL to render.
virtual void SetMapperShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
vtkOpenGLBufferObject * MatrixBuffer
float * ModelTransformMatrix
void SetUseFastPath(bool fastpath)
virtual void ReplaceShaderColor(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
dynamic, self-adjusting array of bits
virtual void SetCameraShaderParameters(vtkOpenGLHelper &cellBO, vtkRenderer *ren, vtkActor *act)
void ReleaseGraphicsResources(vtkWindow *)
unsigned char * ModelColor