23 #ifndef vtkOpenGLPolyDataMapper_h 24 #define vtkOpenGLPolyDataMapper_h 26 #include "vtkRenderingOpenGL2Module.h" 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
virtual void ReleaseGraphicsResources(vtkWindow *)
#define vtkGetMacro(name, type)
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
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)=0
vtkTimeStamp DepthPeelingChanged
vtkOpenGLVertexBufferObject * VBO
#define vtkSetStringMacro(name)
#define vtkTypeMacro(thisClass, superclass)
void SetPopulateSelectionSettings(int v)
std::vector< float > AppleBugPrimIDs
window superclass for vtkRenderWindow
std::vector< std::string > ShaderVariablesUsed
int PopulateSelectionSettings
a simple class to control print indentation
vtkMatrix4x4 * TempMatrix4
#define vtkGetStringMacro(name)
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
void PrintSelf(ostream &os, vtkIndent indent)
static vtkPolyDataMapper * New()
vtkOpenGLHelper TriStrips
char * CompositeIdArrayName
represent and manipulate 3x3 transformation matrices
vtkOpenGLHelper TrisEdges
vtkTimeStamp LightComplexityChanged
vtkOpenGLBufferObject * AppleBugPrimIDBuffer