31 #ifndef vtkPolyDataMapper_h
32 #define vtkPolyDataMapper_h
35 #include "vtkRenderingCoreModule.h"
81 vtkSetMacro(
Piece,
int);
82 vtkGetMacro(
Piece,
int);
83 vtkSetMacro(NumberOfPieces,
int);
84 vtkGetMacro(NumberOfPieces,
int);
85 vtkSetMacro(NumberOfSubPieces,
int);
86 vtkGetMacro(NumberOfSubPieces,
int);
93 vtkSetMacro(GhostLevel,
int);
94 vtkGetMacro(GhostLevel,
int);
106 vtkSetMacro(SeamlessU,
bool);
107 vtkGetMacro(SeamlessU,
bool);
108 vtkBooleanMacro(SeamlessU,
bool);
109 vtkSetMacro(SeamlessV,
bool);
110 vtkGetMacro(SeamlessV,
bool);
111 vtkBooleanMacro(SeamlessV,
bool);
138 virtual void MapDataArrayToVertexAttribute(
const char* vertexAttributeName,
139 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
144 virtual void MapDataArrayToMultiTextureAttribute(
145 const char* textureName,
const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
150 virtual void RemoveVertexAttributeMapping(
const char* vertexAttributeName);
155 virtual void RemoveAllVertexAttributeMappings();
172 virtual void ComputeBounds();
void GetBounds(T a, double bds[6])
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
represents an object (geometry & properties) in a rendered scene
abstract specification for renderers
virtual void RenderPiece(vtkRenderer *, vtkActor *)
Implemented by sub classes.
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
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.
#define VTK_SIZEHINT(...)
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
abstract class specifies interface to map data
map vtkPolyData to graphics primitives
create a window for renderers to draw into
static vtkAlgorithm * New()
std::map< DataSetType, DataSet > Piece
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.