vtkDataSetSurfaceFilter Class Reference

#include <vtkDataSetSurfaceFilter.h>

Inheritance diagram for vtkDataSetSurfaceFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetSurfaceFilter:

Collaboration graph
[legend]

List of all members.


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.
Tests:
vtkDataSetSurfaceFilter (Tests)

Definition at line 52 of file vtkDataSetSurfaceFilter.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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)
virtual int DataSetExecute (vtkDataSet *input, vtkPolyData *output)

Static Public Member Functions

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

Protected Member Functions

 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)
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)

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

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 56 of file vtkDataSetSurfaceFilter.h.


Constructor & Destructor Documentation

vtkDataSetSurfaceFilter::vtkDataSetSurfaceFilter (  )  [protected]

vtkDataSetSurfaceFilter::~vtkDataSetSurfaceFilter (  )  [protected]


Member Function Documentation

static vtkDataSetSurfaceFilter* vtkDataSetSurfaceFilter::New (  )  [static]

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

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkDataSetSurfaceFilter::GetClassName (  )  [virtual]

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.

static vtkDataSetSurfaceFilter* vtkDataSetSurfaceFilter::SafeDownCast ( vtkObject o  )  [static]

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.

virtual int vtkDataSetSurfaceFilter::GetUseStrips (  )  [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::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.

virtual int vtkDataSetSurfaceFilter::GetPieceInvariant (  )  [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.

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

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 int vtkDataSetSurfaceFilter::GetPassThroughCellIds (  )  [virtual]

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::PassThroughCellIdsOn (  )  [virtual]

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::PassThroughCellIdsOff (  )  [virtual]

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::SetPassThroughPointIds ( int   )  [virtual]

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 int vtkDataSetSurfaceFilter::GetPassThroughPointIds (  )  [virtual]

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::PassThroughPointIdsOn (  )  [virtual]

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::PassThroughPointIdsOff (  )  [virtual]

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 97 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 102 of file vtkDataSetSurfaceFilter.h.

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

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::GetNonlinearSubdivisionLevel (  )  [virtual]

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 
) [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::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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::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 
) [protected]

void vtkDataSetSurfaceFilter::InitializeQuadHash ( vtkIdType  numPoints  )  [protected]

void vtkDataSetSurfaceFilter::DeleteQuadHash (  )  [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]

void vtkDataSetSurfaceFilter::InitQuadHashTraversal (  )  [protected]

vtkFastGeomQuad* vtkDataSetSurfaceFilter::GetNextVisibleQuadFromHash (  )  [protected]

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::InitFastGeomQuadAllocation ( vtkIdType  numberOfCells  )  [protected]

vtkFastGeomQuad* vtkDataSetSurfaceFilter::NewFastGeomQuad ( int  numPts  )  [protected]

void vtkDataSetSurfaceFilter::DeleteAllFastGeomQuads (  )  [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 149 of file vtkDataSetSurfaceFilter.h.

Definition at line 178 of file vtkDataSetSurfaceFilter.h.

Definition at line 179 of file vtkDataSetSurfaceFilter.h.

Definition at line 180 of file vtkDataSetSurfaceFilter.h.

Definition at line 181 of file vtkDataSetSurfaceFilter.h.

Definition at line 183 of file vtkDataSetSurfaceFilter.h.

vtkEdgeInterpolationMap* vtkDataSetSurfaceFilter::EdgeMap [protected]

Definition at line 187 of file vtkDataSetSurfaceFilter.h.

Definition at line 195 of file vtkDataSetSurfaceFilter.h.

Definition at line 202 of file vtkDataSetSurfaceFilter.h.

Definition at line 203 of file vtkDataSetSurfaceFilter.h.

unsigned char** vtkDataSetSurfaceFilter::FastGeomQuadArrays [protected]

Definition at line 204 of file vtkDataSetSurfaceFilter.h.

Definition at line 206 of file vtkDataSetSurfaceFilter.h.

Definition at line 207 of file vtkDataSetSurfaceFilter.h.

Definition at line 209 of file vtkDataSetSurfaceFilter.h.

Definition at line 211 of file vtkDataSetSurfaceFilter.h.

Definition at line 214 of file vtkDataSetSurfaceFilter.h.

Definition at line 215 of file vtkDataSetSurfaceFilter.h.

Definition at line 217 of file vtkDataSetSurfaceFilter.h.

Definition at line 219 of file vtkDataSetSurfaceFilter.h.

Definition at line 220 of file vtkDataSetSurfaceFilter.h.

Definition at line 222 of file vtkDataSetSurfaceFilter.h.


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

Generated on Wed Aug 24 11:33:20 2011 for VTK by  doxygen 1.5.6