28 #ifndef vtkDataSetSurfaceFilter_h
29 #define vtkDataSetSurfaceFilter_h
31 #include "vtkFiltersGeometryModule.h"
73 vtkSetMacro(PieceInvariant,
int);
74 vtkGetMacro(PieceInvariant,
int);
101 vtkSetStringMacro(OriginalCellIdsName);
104 return (this->OriginalCellIdsName ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
106 vtkSetStringMacro(OriginalPointIdsName);
109 return (this->OriginalPointIdsName ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
125 vtkSetMacro(NonlinearSubdivisionLevel,
int);
126 vtkGetMacro(NonlinearSubdivisionLevel,
int);
136 #ifdef VTK_USE_64BIT_IDS
141 for (
int cc = 0; cc < 6; cc++)
144 wholeExt[cc] = wholeExt32[cc];
146 return this->StructuredExecute(input, output, ext, wholeExt);
153 vtkIdType* wholeExt,
bool extractface[6]);
154 #ifdef VTK_USE_64BIT_IDS
155 virtual int UniformGridExecute(
160 for (
int cc = 0; cc < 6; cc++)
163 wholeExt[cc] = wholeExt32[cc];
165 return this->UniformGridExecute(input, output, ext, wholeExt, extractface);
194 int aAxis,
int bAxis,
int cAxis,
vtkIdType* wholeExt);
197 int aAxis,
int bAxis,
int cAxis,
vtkIdType* wholeExt,
bool checkVisibility);
200 int aAxis,
int bAxis,
int cAxis,
vtkIdType* wholeExt);
221 class vtkEdgeInterpolationMap;
abstract class to specify cell behavior
Extracts outer (polygonal) surface.
char * OriginalPointIdsName
unsigned char ** FastGeomQuadArrays
vtkFastGeomQuad * QuadHashTraversal
vtkTypeBool PassThroughCellIds
vtkIdType GetOutputPointId(vtkIdType inPtId, vtkDataSet *input, vtkPoints *outPts, vtkPointData *outPD)
vtkFastGeomQuad ** QuadHash
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ExecuteFaceQuads(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
static vtkDataSetSurfaceFilter * New()
virtual int DataSetExecute(vtkDataSet *input, vtkPolyData *output)
virtual void InsertPolygonInHash(const vtkIdType *ids, int numpts, vtkIdType sourceId)
void ExecuteFaceStrips(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
virtual const char * GetOriginalCellIdsName()
vtkFastGeomQuad * NewFastGeomQuad(int numPts)
vtkIdType NumberOfFastGeomQuadArrays
void DeleteAllFastGeomQuads()
void ExecuteFaceQuads(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt, bool checkVisibility)
virtual int UniformGridExecute(vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkIdType *wholeExt, bool extractface[6])
vtkIdType QuadHashTraversalIndex
~vtkDataSetSurfaceFilter() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
char * OriginalCellIdsName
vtkDataSetSurfaceFilter()
virtual int StructuredWithBlankingExecute(vtkStructuredGrid *input, vtkPolyData *output)
void EstimateStructuredDataArraySizes(vtkIdType *ext, vtkIdType *wholeExt, vtkIdType &numPoints, vtkIdType &numCells)
Estimates the total number of points & cells on the surface to render ext – the extent of the structu...
virtual int StructuredExecute(vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkIdType *wholeExt)
Direct access methods that can be used to use the this class as an algorithm without using it as a fi...
vtkIdTypeArray * OriginalCellIds
virtual int UnstructuredGridExecute(vtkDataSet *input, vtkPolyData *output)
vtkFastGeomQuad * GetNextVisibleQuadFromHash()
vtkEdgeInterpolationMap * EdgeMap
virtual void RecordOrigCellId(vtkIdType newIndex, vtkFastGeomQuad *quad)
void InitQuadHashTraversal()
void InitFastGeomQuadAllocation(vtkIdType numberOfCells)
int NonlinearSubdivisionLevel
void RecordOrigPointId(vtkIdType newIndex, vtkIdType origId)
void RecordOrigCellId(vtkIdType newIndex, vtkIdType origId)
vtkIdType GetInterpolatedPointId(vtkIdType edgePtA, vtkIdType edgePtB, vtkDataSet *input, vtkCell *cell, double pcoords[3], vtkPoints *outPts, vtkPointData *outPD)
vtkIdType NumberOfNewCells
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual const char * GetOriginalPointIdsName()
virtual void InsertQuadInHash(vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType sourceId)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void InsertTriInHash(vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType sourceId, vtkIdType faceId=-1)
vtkIdTypeArray * OriginalPointIds
vtkIdType FastGeomQuadArrayLength
vtkTypeBool PassThroughPointIds
void InitializeQuadHash(vtkIdType numPoints)
abstract class to specify dataset behavior
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
topologically regular array of data
struct vtkFastGeomQuadStruct * Next