 |
VTK
9.0.20210115
|
Go to the documentation of this file.
25 #ifndef vtkPolyDataMapper_h
26 #define vtkPolyDataMapper_h
29 #include "vtkRenderingCoreModule.h"
75 vtkSetMacro(
Piece,
int);
76 vtkGetMacro(
Piece,
int);
77 vtkSetMacro(NumberOfPieces,
int);
78 vtkGetMacro(NumberOfPieces,
int);
79 vtkSetMacro(NumberOfSubPieces,
int);
80 vtkGetMacro(NumberOfSubPieces,
int);
87 vtkSetMacro(GhostLevel,
int);
88 vtkGetMacro(GhostLevel,
int);
100 vtkSetMacro(SeamlessU,
bool);
101 vtkGetMacro(SeamlessU,
bool);
102 vtkBooleanMacro(SeamlessU,
bool);
103 vtkSetMacro(SeamlessV,
bool);
104 vtkGetMacro(SeamlessV,
bool);
105 vtkBooleanMacro(SeamlessV,
bool);
132 virtual void MapDataArrayToVertexAttribute(
const char* vertexAttributeName,
133 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
138 virtual void MapDataArrayToMultiTextureAttribute(
139 const char* textureName,
const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
144 virtual void RemoveVertexAttributeMapping(
const char* vertexAttributeName);
149 virtual void RemoveAllVertexAttributeMappings();
166 virtual void ComputeBounds();
map vtkPolyData to graphics primitives
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::map< DataSetType, DataSet > Piece
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual void RenderPiece(vtkRenderer *, vtkActor *)
Implemented by sub classes.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
#define VTK_SIZEHINT(...)
abstract class specifies interface to map data to graphics primitives
void GetBounds(T a, double bds[6])
represents an object (geometry & properties) in a rendered scene
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
a simple class to control print indentation
vtkDataSet * GetInput()
Get the input as a vtkDataSet.
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
static vtkAlgorithm * New()
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
create a window for renderers to draw into
virtual vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
abstract class specifies interface to map data