40 (primType >= 0 && primType <= 3 &&
41 this->PrimOffsets[primType+1] != next->
PrimOffsets[primType]);
77 std::map<vtkPolyData *, vtkCompositeMapperHelperData *>
Data;
102 void ReplaceShaderColor(
113 virtual
void AppendOneBufferObject(
vtkRenderer *ren,
115 unsigned int &flat_index,
116 std::
vector<
unsigned char> &colors,
117 std::
vector<
float> &norms);
123 int CanUseTextureMapForColoring(
vtkDataObject*) VTK_OVERRIDE;
128 std::
vector<
unsigned int> IndexArray[PrimitiveEnd];
133 bool OverideColorUsed;
136 double CurrentAmbientIntensity;
137 double CurrentDiffuseIntensity;
a PolyDataMapper for the OpenGL library
represents an object (geometry & properties) in a rendered scene
static vtkOpenGLPolyDataMapper * New()
mapper for composite dataset consisting of polygonal data.
abstract specification for renderers
std::map< vtkPolyData *, vtkCompositeMapperHelperData * > Data
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkCompositeMapperHelper2()
vtkCompositePolyDataMapper2 * Parent
std::vector< vtkPolyData * > GetRenderedList()
Accessor to the ordered list of PolyData that we last drew.
virtual int GetCurrentPass()
Get the current pass number.
void RenderPiece(vtkRenderer *ren, vtkActor *a) override
Implement superclass render method.
Vertex or Fragment shader, combined into a ShaderProgram.
manager for OpenGL-based selection.
general representation of visualization data
bool Different(vtkCompositeMapperHelperData *next, vtkHardwareSelector *selector, int primType)
void SetParent(vtkCompositePolyDataMapper2 *p)
unsigned int StartIndex[vtkOpenGLPolyDataMapper::PrimitiveEnd]
The ShaderProgram uses one or more Shader objects.
unsigned int NextIndex[vtkOpenGLPolyDataMapper::PrimitiveEnd]