Go to the documentation of this file.
31 #ifndef vtkDataSetSurfaceFilter_h
32 #define vtkDataSetSurfaceFilter_h
34 #include "vtkFiltersGeometryModule.h"
76 vtkSetMacro(PieceInvariant,
int);
77 vtkGetMacro(PieceInvariant,
int);
104 vtkSetStringMacro(OriginalCellIdsName);
107 return ( this->OriginalCellIdsName
108 ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
110 vtkSetStringMacro(OriginalPointIdsName);
113 return ( this->OriginalPointIdsName
114 ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
130 vtkSetMacro(NonlinearSubdivisionLevel,
int);
131 vtkGetMacro(NonlinearSubdivisionLevel,
int);
141 #ifdef VTK_USE_64BIT_IDS
142 virtual int StructuredExecute(
vtkDataSet *input,
146 for (
int cc=0; cc < 6; cc++)
149 wholeExt[cc] = wholeExt32[cc];
151 return this->StructuredExecute(input, output, ext, wholeExt);
161 #ifdef VTK_USE_64BIT_IDS
162 virtual int UniformGridExecute(
vtkDataSet *input,
163 vtkPolyData *output,
int *ext32,
int *wholeExt32,
bool extractface[6] )
166 for (
int cc=0; cc < 6; cc++)
169 wholeExt[cc] = wholeExt32[cc];
171 return this->UniformGridExecute(input, output, ext, wholeExt, extractface);
203 int aAxis,
int bAxis,
int cAxis,
207 int maxFlag,
vtkIdType *ext,
int aAxis,
int bAxis,
int cAxis,
208 vtkIdType *wholeExt,
bool checkVisibility );
212 int aAxis,
int bAxis,
int cAxis,
235 class vtkEdgeInterpolationMap;
represent and manipulate 3D points
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int DataSetExecute(vtkDataSet *input, vtkPolyData *output)
vtkFastGeomQuad * NewFastGeomQuad(int numPts)
represent and manipulate point attribute data
struct vtkFastGeomQuadStruct * Next
unsigned char ** FastGeomQuadArrays
vtkIdType FastGeomQuadArrayLength
vtkFastGeomQuad * QuadHashTraversal
topologically regular array of data
virtual const char * GetOriginalCellIdsName()
vtkIdType QuadHashTraversalIndex
vtkIdTypeArray * OriginalCellIds
vtkFastGeomQuad * GetNextVisibleQuadFromHash()
virtual void InsertTriInHash(vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType sourceId, vtkIdType faceId=-1)
vtkTypeBool PassThroughCellIds
vtkDataSetSurfaceFilter()
Extracts outer (polygonal) surface.
void ExecuteFaceQuads(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
virtual void InsertQuadInHash(vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType sourceId)
char * OriginalCellIdsName
static vtkDataSetSurfaceFilter * New()
void InitFastGeomQuadAllocation(vtkIdType numberOfCells)
abstract class to specify cell behavior
char * OriginalPointIdsName
vtkIdType GetOutputPointId(vtkIdType inPtId, vtkDataSet *input, vtkPoints *outPts, vtkPointData *outPD)
a simple class to control print indentation
void ExecuteFaceQuads(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt, bool checkVisibility)
void InitializeQuadHash(vtkIdType numPoints)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void InsertPolygonInHash(vtkIdType *ids, int numpts, vtkIdType sourceId)
~vtkDataSetSurfaceFilter() override
vtkIdType NumberOfFastGeomQuadArrays
void RecordOrigPointId(vtkIdType newIndex, vtkIdType origId)
abstract class to specify dataset behavior
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...
void DeleteAllFastGeomQuads()
virtual int StructuredWithBlankingExecute(vtkStructuredGrid *input, vtkPolyData *output)
dynamic, self-adjusting array of vtkIdType
vtkIdType NumberOfNewCells
vtkIdTypeArray * OriginalPointIds
virtual const char * GetOriginalPointIdsName()
virtual int UniformGridExecute(vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkIdType *wholeExt, bool extractface[6])
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkEdgeInterpolationMap * EdgeMap
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIdType GetInterpolatedPointId(vtkIdType edgePtA, vtkIdType edgePtB, vtkDataSet *input, vtkCell *cell, double pcoords[3], vtkPoints *outPts, vtkPointData *outPD)
virtual int UnstructuredGridExecute(vtkDataSet *input, vtkPolyData *output)
void InitQuadHashTraversal()
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...
vtkFastGeomQuad ** QuadHash
vtkTypeBool PassThroughPointIds
void ExecuteFaceStrips(vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
int NonlinearSubdivisionLevel
Superclass for algorithms that produce only polydata as output.