 |
VTK
9.0.1
|
Go to the documentation of this file.
25 #ifndef vtkPolyDataMapper_h
26 #define vtkPolyDataMapper_h
29 #include "vtkRenderingCoreModule.h"
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);
133 const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
139 const char* textureName,
const char* dataArrayName,
int fieldAssociation,
int componentno = -1);
map vtkPolyData to graphics primitives
virtual void MapDataArrayToMultiTextureAttribute(const char *textureName, const char *dataArrayName, int fieldAssociation, int componentno=-1)
void SetInputData(vtkPolyData *in)
Specify the input data to map.
std::map< DataSetType, DataSet > Piece
virtual double * GetBounds()=0
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
vtkTypeBool ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
see vtkAlgorithm for details
virtual void RemoveVertexAttributeMapping(const char *vertexAttributeName)
Remove a vertex attribute mapping.
void ShallowCopy(vtkAbstractMapper *m) override
Make a shallow copy of this mapper.
vtkTypeBool Update(vtkInformation *requests) override
Convenience method to update an algorithm after passing requests to its first output port.
virtual void RenderPiece(vtkRenderer *, vtkActor *)
Implemented by sub classes.
#define VTK_SIZEHINT(...)
abstract class specifies interface to map data to graphics primitives
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
~vtkPolyDataMapper() override
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void Render(vtkRenderer *ren, vtkActor *act) override
This calls RenderPiece (in a for loop if streaming is necessary).
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void Update(int port) override
Bring this algorithm's outputs up-to-date.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPolyDataMapper * New()
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.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void ComputeBounds()
Called in GetBounds().
vtkTypeBool Update(int port, vtkInformationVector *requests) override
This method enables the passing of data requests to the algorithm to be used during execution (in add...
create a window for renderers to draw into
virtual void RemoveAllVertexAttributeMappings()
Remove all vertex attributes.
abstract class specifies interface to map data