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