23 #ifndef vtkOpenGLPolyDataMapper_h
24 #define vtkOpenGLPolyDataMapper_h
26 #include "vtkRenderingOpenGL2Module.h"
46 void PrintSelf(ostream& os,
vtkIndent indent);
62 void ReleaseGraphicsResources(
vtkWindow *);
64 vtkGetMacro(PopulateSelectionSettings,
int);
65 void SetPopulateSelectionSettings(
int v) { this->PopulateSelectionSettings = v; };
94 vtkSetStringMacro(PointIdArrayName);
95 vtkGetStringMacro(PointIdArrayName);
96 vtkSetStringMacro(CellIdArrayName);
97 vtkGetStringMacro(CellIdArrayName);
104 vtkSetStringMacro(ProcessIdArrayName);
105 vtkGetStringMacro(ProcessIdArrayName);
116 vtkSetStringMacro(CompositeIdArrayName);
117 vtkGetStringMacro(CompositeIdArrayName);
126 std::vector<float> &buffData);
150 virtual void UpdateShaders(
156 virtual bool GetNeedToRebuildShaders(
162 virtual void BuildShaders(
163 std::map<vtkShader::Type, vtkShader *> shaders,
169 virtual void GetShaderTemplate(
170 std::map<vtkShader::Type, vtkShader *> shaders,
176 virtual void ReplaceShaderValues(
177 std::map<vtkShader::Type, vtkShader *> shaders,
184 virtual void ReplaceShaderColor(
185 std::map<vtkShader::Type, vtkShader *> shaders,
187 virtual void ReplaceShaderLight(
188 std::map<vtkShader::Type, vtkShader *> shaders,
190 virtual void ReplaceShaderTCoord(
191 std::map<vtkShader::Type, vtkShader *> shaders,
193 virtual void ReplaceShaderPicking(
194 std::map<vtkShader::Type, vtkShader *> shaders,
196 virtual void ReplaceShaderDepthPeeling(
197 std::map<vtkShader::Type, vtkShader *> shaders,
199 virtual void ReplaceShaderPrimID(
200 std::map<vtkShader::Type, vtkShader *> shaders,
202 virtual void ReplaceShaderNormal(
203 std::map<vtkShader::Type, vtkShader *> shaders,
205 virtual void ReplaceShaderClip(
206 std::map<vtkShader::Type, vtkShader *> shaders,
208 virtual void ReplaceShaderPositionVC(
209 std::map<vtkShader::Type, vtkShader *> shaders,
288 bool IsShaderVariableUsed(
const char *);
296 void BuildCellTextures(
302 void AppendCellTextures(
307 std::vector<unsigned char> &colors,
308 std::vector<float> &normals,
a PolyDataMapper for the OpenGL library
vtkMatrix3x3 * TempMatrix3
represents an object (geometry & properties) in a rendered scene
vtkOpenGLBufferObject * CellScalarBuffer
represent and manipulate 4x4 transformation matrices
vtkTimeStamp VBOBuildTime
record modification and/or execution time
vtkPolyData * CurrentInput
vtkTextureObject * CellScalarTexture
vtkOpenGLBufferObject * CellNormalBuffer
vtkTextureObject * CellNormalTexture
abstract specification for renderers
bool ForceTextureCoordinates
virtual bool GetIsOpaque()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkTimeStamp DepthPeelingChanged
vtkOpenGLVertexBufferObject * VBO
std::vector< float > AppleBugPrimIDs
window superclass for vtkRenderWindow
std::vector< std::string > ShaderVariablesUsed
int PopulateSelectionSettings
a simple class to control print indentation
vtkMatrix4x4 * TempMatrix4
virtual void ComputeBounds()
virtual bool GetSupportsSelection()
vtkOpenGLHelper * LastBoundBO
abstracts an OpenGL texture object.
vtkTimeStamp SelectionStateChanged
map vtkPolyData to graphics primitives
object to represent cell connectivity
vtkOpenGLHelper TriStripsEdges
char * ProcessIdArrayName
static vtkPolyDataMapper * New()
vtkOpenGLHelper TriStrips
char * CompositeIdArrayName
represent and manipulate 3x3 transformation matrices
vtkOpenGLHelper TrisEdges
vtkTimeStamp LightComplexityChanged
vtkOpenGLBufferObject * AppleBugPrimIDBuffer