VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkDataSetSurfaceFilter Class Reference

Extracts outer (polygonal) surface. More...

#include <vtkDataSetSurfaceFilter.h>

Inheritance diagram for vtkDataSetSurfaceFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkDataSetSurfaceFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDataSetSurfaceFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetUseStrips (int)
virtual int GetUseStrips ()
virtual void UseStripsOn ()
virtual void UseStripsOff ()
virtual void SetPieceInvariant (int)
virtual int GetPieceInvariant ()
virtual void SetPassThroughCellIds (int)
virtual int GetPassThroughCellIds ()
virtual void PassThroughCellIdsOn ()
virtual void PassThroughCellIdsOff ()
virtual void SetPassThroughPointIds (int)
virtual int GetPassThroughPointIds ()
virtual void PassThroughPointIdsOn ()
virtual void PassThroughPointIdsOff ()
virtual void SetOriginalCellIdsName (const char *)
virtual const char * GetOriginalCellIdsName ()
virtual void SetOriginalPointIdsName (const char *)
virtual const char * GetOriginalPointIdsName ()
virtual void SetNonlinearSubdivisionLevel (int)
virtual int GetNonlinearSubdivisionLevel ()
virtual int StructuredExecute (vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkIdType *wholeExt)
virtual int UnstructuredGridExecute (vtkDataSet *input, vtkPolyData *output, int updateghostlevel)
virtual int DataSetExecute (vtkDataSet *input, vtkPolyData *output)
virtual int UniformGridExecute (vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkIdType *wholeExt, bool extractface[6])

Static Public Member Functions

static vtkDataSetSurfaceFilterNew ()
static int IsTypeOf (const char *type)
static vtkDataSetSurfaceFilterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDataSetSurfaceFilter ()
 ~vtkDataSetSurfaceFilter ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
void ExecuteFaceStrips (vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
void ExecuteFaceQuads (vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt, bool checkVisibility)
void ExecuteFaceQuads (vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkIdType *wholeExt)
void InitializeQuadHash (vtkIdType numPoints)
void DeleteQuadHash ()
virtual void InsertQuadInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType sourceId)
virtual void InsertTriInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType sourceId, vtkIdType faceId=-1)
virtual void InsertPolygonInHash (vtkIdType *ids, int numpts, vtkIdType sourceId)
void InitQuadHashTraversal ()
vtkFastGeomQuadGetNextVisibleQuadFromHash ()
vtkIdType GetOutputPointId (vtkIdType inPtId, vtkDataSet *input, vtkPoints *outPts, vtkPointData *outPD)
vtkIdType GetInterpolatedPointId (vtkIdType edgePtA, vtkIdType edgePtB, vtkDataSet *input, vtkCell *cell, double pcoords[3], vtkPoints *outPts, vtkPointData *outPD)
void InitFastGeomQuadAllocation (vtkIdType numberOfCells)
vtkFastGeomQuadNewFastGeomQuad (int numPts)
void DeleteAllFastGeomQuads ()
void RecordOrigCellId (vtkIdType newIndex, vtkIdType origId)
virtual void RecordOrigCellId (vtkIdType newIndex, vtkFastGeomQuad *quad)
void RecordOrigPointId (vtkIdType newIndex, vtkIdType origId)
void EstimateStructuredDataArraySizes (vtkIdType *ext, vtkIdType *wholeExt, vtkIdType &numPoints, vtkIdType &numCells)

Protected Attributes

int UseStrips
vtkFastGeomQuad ** QuadHash
vtkIdType QuadHashLength
vtkFastGeomQuadQuadHashTraversal
vtkIdType QuadHashTraversalIndex
vtkIdTypePointMap
vtkEdgeInterpolationMap * EdgeMap
vtkIdType NumberOfNewCells
vtkIdType FastGeomQuadArrayLength
vtkIdType NumberOfFastGeomQuadArrays
unsigned char ** FastGeomQuadArrays
vtkIdType NextArrayIndex
vtkIdType NextQuadIndex
int PieceInvariant
int PassThroughCellIds
vtkIdTypeArrayOriginalCellIds
char * OriginalCellIdsName
int PassThroughPointIds
vtkIdTypeArrayOriginalPointIds
char * OriginalPointIdsName
int NonlinearSubdivisionLevel

Detailed Description

Extracts outer (polygonal) surface.

vtkDataSetSurfaceFilter is a faster version of vtkGeometry filter, but it does not have an option to select bounds. It may use more memory than vtkGeometryFilter. It only has one option: whether to use triangle strips when the input type is structured.

See also:
vtkGeometryFilter vtkStructuredGridGeometryFilter.
Examples:
vtkDataSetSurfaceFilter (Examples)
Tests:
vtkDataSetSurfaceFilter (Tests)

Definition at line 56 of file vtkDataSetSurfaceFilter.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 60 of file vtkDataSetSurfaceFilter.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

static int vtkDataSetSurfaceFilter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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 vtkPolyDataAlgorithm.

virtual int vtkDataSetSurfaceFilter::IsA ( const char *  name) [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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkDataSetSurfaceFilter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkDataSetSurfaceFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPolyDataAlgorithm.

virtual void vtkDataSetSurfaceFilter::SetUseStrips ( int  ) [virtual]

When input is structured data, this flag will generate faces with triangle strips. This should render faster and use less memory, but no cell data is copied. By default, UseStrips is Off.

When input is structured data, this flag will generate faces with triangle strips. This should render faster and use less memory, but no cell data is copied. By default, UseStrips is Off.

virtual void vtkDataSetSurfaceFilter::UseStripsOn ( ) [virtual]

When input is structured data, this flag will generate faces with triangle strips. This should render faster and use less memory, but no cell data is copied. By default, UseStrips is Off.

virtual void vtkDataSetSurfaceFilter::UseStripsOff ( ) [virtual]

When input is structured data, this flag will generate faces with triangle strips. This should render faster and use less memory, but no cell data is copied. By default, UseStrips is Off.

virtual void vtkDataSetSurfaceFilter::SetPieceInvariant ( int  ) [virtual]

If PieceInvariant is true, vtkDataSetSurfaceFilter requests 1 ghost level from input in order to remove internal surface that are between processes. False by default.

If PieceInvariant is true, vtkDataSetSurfaceFilter requests 1 ghost level from input in order to remove internal surface that are between processes. False by default.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

If on, the output polygonal dataset will have a celldata array that holds the cell index of the original 3D cell that produced each output cell. This is useful for cell picking. The default is off to conserve memory. Note that PassThroughCellIds will be ignored if UseStrips is on, since in that case each tringle strip can represent more than on of the input cells.

virtual void vtkDataSetSurfaceFilter::SetOriginalCellIdsName ( const char *  ) [virtual]

If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the field in which the ids are written into. If set to NULL, then vtkOriginalCellIds or vtkOriginalPointIds (the default) is used, respectively.

virtual const char* vtkDataSetSurfaceFilter::GetOriginalCellIdsName ( ) [inline, virtual]

If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the field in which the ids are written into. If set to NULL, then vtkOriginalCellIds or vtkOriginalPointIds (the default) is used, respectively.

Definition at line 101 of file vtkDataSetSurfaceFilter.h.

virtual void vtkDataSetSurfaceFilter::SetOriginalPointIdsName ( const char *  ) [virtual]

If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the field in which the ids are written into. If set to NULL, then vtkOriginalCellIds or vtkOriginalPointIds (the default) is used, respectively.

virtual const char* vtkDataSetSurfaceFilter::GetOriginalPointIdsName ( ) [inline, virtual]

If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the field in which the ids are written into. If set to NULL, then vtkOriginalCellIds or vtkOriginalPointIds (the default) is used, respectively.

Definition at line 107 of file vtkDataSetSurfaceFilter.h.

If the input is an unstructured grid with nonlinear faces, this parameter determines how many times the face is subdivided into linear faces. If 0, the output is the equivalent of its linear couterpart (and the midpoints determining the nonlinear interpolation are discarded). If 1 (the default), the nonlinear face is triangulated based on the midpoints. If greater than 1, the triangulated pieces are recursively subdivided to reach the desired subdivision. Setting the value to greater than 1 may cause some point data to not be passed even if no nonlinear faces exist. This option has no effect if the input is not an unstructured grid.

If the input is an unstructured grid with nonlinear faces, this parameter determines how many times the face is subdivided into linear faces. If 0, the output is the equivalent of its linear couterpart (and the midpoints determining the nonlinear interpolation are discarded). If 1 (the default), the nonlinear face is triangulated based on the midpoints. If greater than 1, the triangulated pieces are recursively subdivided to reach the desired subdivision. Setting the value to greater than 1 may cause some point data to not be passed even if no nonlinear faces exist. This option has no effect if the input is not an unstructured grid.

virtual int vtkDataSetSurfaceFilter::StructuredExecute ( vtkDataSet input,
vtkPolyData output,
vtkIdType ext,
vtkIdType wholeExt 
) [virtual]

Direct access methods that can be used to use the this class as an algorithm without using it as a filter.

virtual int vtkDataSetSurfaceFilter::UnstructuredGridExecute ( vtkDataSet input,
vtkPolyData output,
int  updateghostlevel 
) [virtual]

Direct access methods that can be used to use the this class as an algorithm without using it as a filter.

virtual int vtkDataSetSurfaceFilter::DataSetExecute ( vtkDataSet input,
vtkPolyData output 
) [virtual]

Direct access methods that can be used to use the this class as an algorithm without using it as a filter.

virtual int vtkDataSetSurfaceFilter::UniformGridExecute ( vtkDataSet input,
vtkPolyData output,
vtkIdType ext,
vtkIdType wholeExt,
bool  extractface[6] 
) [virtual]

Direct access methods that can be used to use the this class as an algorithm without using it as a filter.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkDataSetSurfaceFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkDataSetSurfaceFilter::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.

void vtkDataSetSurfaceFilter::EstimateStructuredDataArraySizes ( vtkIdType ext,
vtkIdType wholeExt,
vtkIdType numPoints,
vtkIdType numCells 
) [protected]

Estimates the total number of points & cells on the surface to render ext -- the extent of the structured data in question (in) wholeExt -- the global extent of the structured data (in) numPoints -- the estimated number of points (out) numCells -- the estimated number of cells (out)

void vtkDataSetSurfaceFilter::ExecuteFaceStrips ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
vtkIdType ext,
int  aAxis,
int  bAxis,
int  cAxis,
vtkIdType wholeExt 
) [protected]
void vtkDataSetSurfaceFilter::ExecuteFaceQuads ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
vtkIdType ext,
int  aAxis,
int  bAxis,
int  cAxis,
vtkIdType wholeExt,
bool  checkVisibility 
) [protected]
void vtkDataSetSurfaceFilter::ExecuteFaceQuads ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
vtkIdType ext,
int  aAxis,
int  bAxis,
int  cAxis,
vtkIdType wholeExt 
) [protected]
void vtkDataSetSurfaceFilter::InitializeQuadHash ( vtkIdType  numPoints) [protected]
virtual void vtkDataSetSurfaceFilter::InsertQuadInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  d,
vtkIdType  sourceId 
) [protected, virtual]
virtual void vtkDataSetSurfaceFilter::InsertTriInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  sourceId,
vtkIdType  faceId = -1 
) [protected, virtual]
virtual void vtkDataSetSurfaceFilter::InsertPolygonInHash ( vtkIdType ids,
int  numpts,
vtkIdType  sourceId 
) [protected, virtual]
vtkIdType vtkDataSetSurfaceFilter::GetOutputPointId ( vtkIdType  inPtId,
vtkDataSet input,
vtkPoints outPts,
vtkPointData outPD 
) [protected]
vtkIdType vtkDataSetSurfaceFilter::GetInterpolatedPointId ( vtkIdType  edgePtA,
vtkIdType  edgePtB,
vtkDataSet input,
vtkCell cell,
double  pcoords[3],
vtkPoints outPts,
vtkPointData outPD 
) [protected]
void vtkDataSetSurfaceFilter::RecordOrigCellId ( vtkIdType  newIndex,
vtkIdType  origId 
) [protected]
virtual void vtkDataSetSurfaceFilter::RecordOrigCellId ( vtkIdType  newIndex,
vtkFastGeomQuad quad 
) [protected, virtual]
void vtkDataSetSurfaceFilter::RecordOrigPointId ( vtkIdType  newIndex,
vtkIdType  origId 
) [protected]

Member Data Documentation

Definition at line 173 of file vtkDataSetSurfaceFilter.h.

Definition at line 219 of file vtkDataSetSurfaceFilter.h.

Definition at line 220 of file vtkDataSetSurfaceFilter.h.

Definition at line 221 of file vtkDataSetSurfaceFilter.h.

Definition at line 222 of file vtkDataSetSurfaceFilter.h.

Definition at line 224 of file vtkDataSetSurfaceFilter.h.

vtkEdgeInterpolationMap* vtkDataSetSurfaceFilter::EdgeMap [protected]

Definition at line 228 of file vtkDataSetSurfaceFilter.h.

Definition at line 236 of file vtkDataSetSurfaceFilter.h.

Definition at line 243 of file vtkDataSetSurfaceFilter.h.

Definition at line 244 of file vtkDataSetSurfaceFilter.h.

unsigned char** vtkDataSetSurfaceFilter::FastGeomQuadArrays [protected]

Definition at line 245 of file vtkDataSetSurfaceFilter.h.

Definition at line 247 of file vtkDataSetSurfaceFilter.h.

Definition at line 248 of file vtkDataSetSurfaceFilter.h.

Definition at line 250 of file vtkDataSetSurfaceFilter.h.

Definition at line 252 of file vtkDataSetSurfaceFilter.h.

Definition at line 255 of file vtkDataSetSurfaceFilter.h.

Definition at line 256 of file vtkDataSetSurfaceFilter.h.

Definition at line 258 of file vtkDataSetSurfaceFilter.h.

Definition at line 260 of file vtkDataSetSurfaceFilter.h.

Definition at line 261 of file vtkDataSetSurfaceFilter.h.

Definition at line 263 of file vtkDataSetSurfaceFilter.h.


The documentation for this class was generated from the following file: