Go to the documentation of this file.
28 #ifndef vtkCompositePolyDataMapper2_h
29 #define vtkCompositePolyDataMapper2_h
31 #include "vtkRenderingOpenGL2Module.h"
56 std::map<vtkShader::Type, vtkShader *>
shaders,
65 std::vector<unsigned char> &colors,
66 std::vector<float> &norms);
104 unsigned int &flat_index,
105 unsigned int &lastVertex,
106 unsigned int &lastIndex,
107 unsigned int &lastEdgeIndex);
virtual void Render(vtkRenderer *ren, vtkActor *act)
std::vector< unsigned int > IndexOffsets
int CanUseTextureMapForColoringValue
vtkTimeStamp GenericTestTime
unsigned int MaximumFlatIndex
virtual void ReplaceShaderColor(std::map< vtkShader::Type, vtkShader * > shaders, vtkRenderer *ren, vtkActor *act)
vtkTimeStamp RenderValuesBuildTime
record modification and/or execution time
~vtkCompositePolyDataMapper2()
#define vtkTypeMacro(thisClass, superclass)
std::vector< unsigned int > VertexOffsets
void PrintSelf(ostream &os, vtkIndent indent)
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)
GLenum GLenum GLenum input
mapper for composite dataset consisting of polygonal data.
bool CanUseTextureMapForColoringSet
std::vector< unsigned int > EdgeIndexOffsets
virtual void RenderEdges(vtkRenderer *ren, vtkActor *act)
std::vector< unsigned int > EdgeIndexArray
void BuildRenderValues(vtkRenderer *renderer, vtkActor *actor, vtkDataObject *dobj, unsigned int &flat_index, unsigned int &lastVertex, unsigned int &lastIndex, unsigned int &lastEdgeIndex)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
unsigned int EndEdgeIndex
virtual void BuildBufferObjects(vtkRenderer *ren, vtkActor *act)
virtual void AppendOneBufferObject(vtkRenderer *ren, vtkActor *act, vtkPolyData *pd, unsigned int flat_index, std::vector< unsigned char > &colors, std::vector< float > &norms)
unsigned int StartEdgeIndex
std::vector< unsigned int > IndexArray
static vtkCompositePolyDataMapper2 * New()
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
std::vector< RenderValue > RenderValues
general representation of visualization data
virtual int CanUseTextureMapForColoring(vtkDataObject *input)
mapper for composite dataset consisting of polygonal data.
vtkCompositePolyDataMapper2()
virtual void RenderPieceDraw(vtkRenderer *ren, vtkActor *act)