Go to the documentation of this file.
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();
map vtkPolyData to graphics primitives
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)=0
Implemented by sub classes.
virtual void RemoveVertexAttributeMapping(const char *vertexAttributeName)
Remove a vertex attribute mapping.
record modification and/or execution time
PolyDataMapper using painters.
virtual void MapDataArrayToMultiTextureAttribute(int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
window superclass for vtkRenderWindow
vtkPainter * SelectionPainter
vtkPainterPolyDataMapperObserver * Observer
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkInformation * PainterInformation
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
Abstract class for drawing poly data.
Detect and break reference loops.
void ReportReferences(vtkGarbageCollector *) override
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPolyDataMapper * New()
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.
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
abstract specification for renderers
virtual void ComputeBounds()
Called in GetBounds().
vtkTimeStamp PainterUpdateTime
virtual void RemoveAllVertexAttributeMappings()
Remove all vertex attributes.