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