31 #ifndef vtkPolyDataMapper_h 32 #define vtkPolyDataMapper_h 34 #include "vtkRenderingCoreModule.h" 82 vtkGetMacro(Piece,
int);
84 vtkGetMacro(NumberOfPieces,
int);
86 vtkGetMacro(NumberOfSubPieces,
int);
94 vtkGetMacro(GhostLevel,
int);
121 virtual void MapDataArrayToVertexAttribute(
122 const char* vertexAttributeName,
123 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
125 virtual void MapDataArrayToMultiTextureAttribute(
127 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
132 virtual void RemoveVertexAttributeMapping(
const char* vertexAttributeName);
137 virtual void RemoveAllVertexAttributeMappings();
155 virtual void ComputeBounds();
represents an object (geometry & properties) in a rendered scene
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
a simple class to control print indentation
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Update()
Bring this algorithm's outputs up-to-date.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
abstract class specifies interface to map data to graphics primitives
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
~vtkPolyDataMapper() override
abstract class specifies interface to map data
map vtkPolyData to graphics primitives
create a window for renderers to draw into
void GetBounds(double bounds[6]) override
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
static vtkAlgorithm * New()
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
vtkDataSet * GetInput()
Get the input as a vtkDataSet.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.