28 #ifndef vtkPainterPolyDataMapper_h
29 #define vtkPainterPolyDataMapper_h
31 #include "vtkRenderingOpenGLModule.h"
34 class vtkPainterPolyDataMapperObserver;
79 const char* vertexAttributeName,
80 const char* dataArrayName,
int fieldAssociation,
int componentno=-1);
84 const char* dataArrayName,
int fieldAssociation,
int componentno=-1);
100 vtkGetObjectMacro(SelectionPainter,
vtkPainter);
111 {
return (this->SelectionPainter != 0); }
140 virtual void UpdatePainterInformation();
represents an object (geometry & properties) in a rendered scene
virtual void MapDataArrayToMultiTextureAttribute(int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
virtual void RemoveAllVertexAttributeMappings()
Remove all vertex attributes.
void ReportReferences(vtkGarbageCollector *) override
record modification and/or execution time
vtkPainterPolyDataMapperObserver * Observer
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.
virtual void RemoveVertexAttributeMapping(const char *vertexAttributeName)
Remove a vertex attribute mapping.
Detect and break reference loops.
vtkTimeStamp PainterUpdateTime
window superclass for vtkRenderWindow
a simple class to control print indentation
vtkInformation * PainterInformation
virtual void ComputeBounds()
Called in GetBounds().
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
vtkPainter * SelectionPainter
Abstract class for drawing poly data.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPolyDataMapper * New()
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
PolyDataMapper using painters.