25 #ifndef vtkPainterPolyDataMapper_h 26 #define vtkPainterPolyDataMapper_h 28 #include "vtkRenderingOpenGLModule.h" 31 class vtkPainterPolyDataMapperObserver;
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);
107 bool GetSupportsSelection() VTK_OVERRIDE
108 {
return (this->SelectionPainter != 0); }
131 void ComputeBounds() VTK_OVERRIDE;
137 virtual
void UpdatePainterInformation();
150 vtkPainterPolyDataMapperObserver* Observer;
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.
virtual void MapDataArrayToVertexAttribute(const char *vertexAttributeName, const char *dataArrayName, int fieldAssociation, int componentno=-1)
Select a data array from the point/cell data and map it to a generic vertex attribute.
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.