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);
111 {
return (this->SelectionPainter != 0); }
map vtkPolyData to graphics primitives
static vtkPainterPolyDataMapper * New()
record modification and/or execution time
PolyDataMapper using painters.
window superclass for vtkRenderWindow
virtual void UpdatePainterInformation()
Called when the PainterInformation becomes obsolete.
void SetSelectionPainter(vtkPainter *)
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
virtual void RemoveAllVertexAttributeMappings()
Remove all vertex attributes.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
Abstract class for drawing poly data.
vtkPainterPolyDataMapper()
~vtkPainterPolyDataMapper()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool GetIsOpaque()
Returns if the mapper does not expect to have translucent geometry.
Detect and break reference loops.
void SetPainter(vtkPainter *)
virtual void MapDataArrayToMultiTextureAttribute(int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
abstract specification for renderers
virtual void RemoveVertexAttributeMapping(const char *vertexAttributeName)
Remove a vertex attribute mapping.
virtual void ComputeBounds()
Called in GetBounds().
vtkTimeStamp PainterUpdateTime
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)
Implemented by sub classes.
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
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.
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this mapper.