25 #ifndef vtkPainterPolyDataMapper_h
26 #define vtkPainterPolyDataMapper_h
28 #include "vtkRenderingOpenGLModule.h"
31 class vtkPainterPolyDataMapperObserver;
75 void MapDataArrayToVertexAttribute(
76 const
char* vertexAttributeName,
77 const
char* dataArrayName,
int fieldAssociation,
int componentno=-1) VTK_OVERRIDE;
79 void MapDataArrayToMultiTextureAttribute(
81 const
char* dataArrayName,
int fieldAssociation,
int componentno=-1) VTK_OVERRIDE;
86 void RemoveVertexAttributeMapping(const
char* vertexAttributeName) VTK_OVERRIDE;
91 void RemoveAllVertexAttributeMappings() VTK_OVERRIDE;
97 vtkGetObjectMacro(SelectionPainter,
vtkPainter);
98 void SetSelectionPainter(vtkPainter*);
107 bool GetSupportsSelection() VTK_OVERRIDE
108 {
return (this->SelectionPainter != 0); }
124 ~vtkPainterPolyDataMapper() VTK_OVERRIDE;
131 void ComputeBounds() VTK_OVERRIDE;
137 virtual
void UpdatePainterInformation();
150 vtkPainterPolyDataMapperObserver* Observer;
152 vtkPainterPolyDataMapper(const vtkPainterPolyDataMapper&) VTK_DELETE_FUNCTION;
153 void operator=(const vtkPainterPolyDataMapper&) VTK_DELETE_FUNCTION;
represents an object (geometry & properties) in a rendered scene
record modification and/or execution time
abstract specification for renderers
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)=0
Implemented by sub classes.
Detect and break reference loops.
window superclass for vtkRenderWindow
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
map vtkPolyData to graphics primitives
Abstract class for drawing poly data.
static vtkPolyDataMapper * New()
PolyDataMapper using painters.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.