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);
122 const char* vertexAttributeName,
123 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
127 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
abstract class specifies interface to map data
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
map vtkPolyData to graphics primitives
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 Update(int port)
Bring this algorithm's outputs up-to-date.
virtual void RemoveAllVertexAttributeMappings()
Remove all vertex attributes.
void ShallowCopy(vtkAbstractMapper *m)
Make a shallow copy of this mapper.
virtual void RenderPiece(vtkRenderer *ren, vtkActor *act)=0
Implemented by sub classes.
virtual int FillInputPortInformation(int, vtkInformation *)
Fill the input port information objects for this algorithm.
virtual double * GetBounds()
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
virtual void RemoveVertexAttributeMapping(const char *vertexAttributeName)
Remove a vertex attribute mapping.
virtual int Update(vtkInformation *requests)
Convenience method to update an algorithm after passing requests to its first output port.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void Render(vtkRenderer *ren, vtkActor *act)
This calls RenderPiece (in a for loop if streaming is necessary).
virtual void MapDataArrayToMultiTextureAttribute(int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
virtual int Update(int port, vtkInformationVector *requests)
This method enables the passing of data requests to the algorithm to be used during execution (in add...
void SetInputData(vtkPolyData *in)
Specify the input data to map.
virtual void ComputeBounds()
Called in GetBounds().
virtual void GetBounds(double bounds[6])
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
see vtkAlgorithm for details
static vtkPolyDataMapper * New()
concrete dataset represents vertices, lines, polygons, and triangle strips
create a window for renderers to draw into
abstract specification for renderers
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.