16#ifndef vtkCellGraphicsPrimitiveMap_h
17#define vtkCellGraphicsPrimitiveMap_h
21#include "vtkRenderingCoreModule.h"
23#include "vtkTypeInt32Array.h"
24#include "vtkTypeUInt8Array.h"
26VTK_ABI_NAMESPACE_BEGIN
58 int PrimitiveSize = 0;
59 vtkTypeInt32 LocalCellIdOffset = 0;
Maps cell connectivity and offsets from VTK data model into primitives that graphics libraries expect...
static vtkCellGraphicsPrimitiveMap * New()
static PrimitiveDescriptor ProcessStrips(vtkPolyData *mesh)
break down (into triangles) and tag strips with their vtk cell id.
static PrimitiveDescriptor ProcessPolygons(vtkPolyData *mesh)
break down (into triangles) and tag polygons with their vtk cell id.
static PrimitiveDescriptor ProcessLines(vtkPolyData *mesh)
break down and tag lines with their vtk cell id.
static PrimitiveDescriptor ProcessVertices(vtkPolyData *mesh)
break down and tag vertices with their vtk cell id.
~vtkCellGraphicsPrimitiveMap() override
vtkCellGraphicsPrimitiveMap()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract base class for most VTK objects
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
friend std::ostream & operator<<(std::ostream &os, const CellTypeMapperOffsets &offsets)
vtkIdType EdgeValueBufferOffset
vtkIdType PrimitiveIdOffset
vtkSmartPointer< vtkTypeInt32Array > PrimitiveToCell
vtkSmartPointer< vtkTypeInt32Array > VertexIDs
vtkSmartPointer< vtkTypeUInt8Array > EdgeArray