|
VTK
9.5.2
|
Maps cell connectivity and offsets from VTK data model into primitives that graphics libraries expect (points, lines and triangles) More...
#include <vtkCellGraphicsPrimitiveMap.h>
Classes | |
| struct | CellTypeMapperOffsets |
| struct | PrimitiveDescriptor |
Public Types | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
| vtkCellGraphicsPrimitiveMap * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More... | |
Static Public Member Functions | |
| static vtkCellGraphicsPrimitiveMap * | New () |
| static vtkTypeBool | IsTypeOf (const char *type) |
| static vtkCellGraphicsPrimitiveMap * | SafeDownCast (vtkObjectBase *o) |
| static PrimitiveDescriptor | ProcessVertices (vtkPolyData *mesh) |
| break down and tag vertices with their vtk cell id. More... | |
| static PrimitiveDescriptor | ProcessLines (vtkPolyData *mesh) |
| break down and tag lines with their vtk cell id. More... | |
| static PrimitiveDescriptor | ProcessPolygons (vtkPolyData *mesh) |
| break down (into triangles) and tag polygons with their vtk cell id. More... | |
| static PrimitiveDescriptor | ProcessStrips (vtkPolyData *mesh) |
| break down (into triangles) and tag strips with their vtk cell id. More... | |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkCellGraphicsPrimitiveMap () | |
| ~vtkCellGraphicsPrimitiveMap () override | |
Maps cell connectivity and offsets from VTK data model into primitives that graphics libraries expect (points, lines and triangles)
When given only vertices, lines and triangles and using 32-bit integer IDs, this class opts into low memory code paths, i.e, does not copy indices into new arrays. When input has poly-vertices, poly-lines and polygons or triangle strips or uses 64-bit integer IDs, this class makes an additional copy of the indices. A message is logged in the console to warn about potential OOM errors.
Definition at line 28 of file vtkCellGraphicsPrimitiveMap.h.
Definition at line 32 of file vtkCellGraphicsPrimitiveMap.h.
|
protected |
|
overrideprotected |
|
static |
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObjectBase.
|
static |
|
protectedvirtual |
| vtkCellGraphicsPrimitiveMap * vtkCellGraphicsPrimitiveMap::NewInstance | ( | ) | const |
|
overridevirtual |
|
static |
break down and tag vertices with their vtk cell id.
|
static |
break down and tag lines with their vtk cell id.
|
static |
break down (into triangles) and tag polygons with their vtk cell id.
Also generates edge masks used to hide internal edges of the polygon.
|
static |
break down (into triangles) and tag strips with their vtk cell id.