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

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)
int StructuredExecute (vtkDataSet *input, vtkPolyData *output, vtkIdType *ext, vtkInformation *inInfo)
int UnstructuredGridExecute (vtkDataSet *input, vtkPolyData *output)
int DataSetExecute (vtkDataSet *input, vtkPolyData *output)
void ExecuteFaceStrips (vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkInformation *inInfo)
void ExecuteFaceQuads (vtkDataSet *input, vtkPolyData *output, int maxFlag, vtkIdType *ext, int aAxis, int bAxis, int cAxis, vtkInformation *inInfo)
void InitializeQuadHash (vtkIdType numPoints)
void DeleteQuadHash ()
void InsertQuadInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType sourceId)
void InsertTriInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType sourceId)
void InsertPentaInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType e, vtkIdType sourceId)
void InsertHexInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType e, vtkIdType f, vtkIdType sourceId)
void InitQuadHashTraversal ()
vtkFastGeomQuadGetNextVisibleQuadFromHash ()
vtkIdType GetOutputPointId (vtkIdType inPtId, vtkDataSet *input, vtkPoints *outPts, vtkPointData *outPD)
void InitFastGeomQuadAllocation (int numberOfCells)
vtkFastGeomQuadNewFastGeomQuad ()
void DeleteAllFastGeomQuads ()
void RecordOrigCellId (vtkIdType newIndex, vtkIdType origId)
void RecordOrigPointId (vtkIdType newIndex, vtkIdType origId)

Protected Attributes

int UseStrips
vtkFastGeomQuad ** QuadHash
vtkIdType QuadHashLength
vtkFastGeomQuadQuadHashTraversal
vtkIdType QuadHashTraversalIndex
vtkIdTypePointMap
vtkIdType NumberOfNewCells
int FastGeomQuadArrayLength
int NumberOfFastGeomQuadArrays
vtkFastGeomQuad ** FastGeomQuadArrays
int NextArrayIndex
int NextQuadIndex
int PieceInvariant
int PassThroughCellIds
vtkIdTypeArrayOriginalCellIds
int PassThroughPointIds
vtkIdTypeArrayOriginalPointIds

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 49 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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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 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.

int vtkDataSetSurfaceFilter::StructuredExecute ( vtkDataSet input,
vtkPolyData output,
vtkIdType ext,
vtkInformation inInfo 
) [protected]

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

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

void vtkDataSetSurfaceFilter::ExecuteFaceStrips ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
vtkIdType ext,
int  aAxis,
int  bAxis,
int  cAxis,
vtkInformation inInfo 
) [protected]

void vtkDataSetSurfaceFilter::ExecuteFaceQuads ( vtkDataSet input,
vtkPolyData output,
int  maxFlag,
vtkIdType ext,
int  aAxis,
int  bAxis,
int  cAxis,
vtkInformation inInfo 
) [protected]

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

void vtkDataSetSurfaceFilter::DeleteQuadHash (  )  [protected]

void vtkDataSetSurfaceFilter::InsertQuadInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  d,
vtkIdType  sourceId 
) [protected]

void vtkDataSetSurfaceFilter::InsertTriInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  sourceId 
) [protected]

void vtkDataSetSurfaceFilter::InsertPentaInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  d,
vtkIdType  e,
vtkIdType  sourceId 
) [protected]

void vtkDataSetSurfaceFilter::InsertHexInHash ( vtkIdType  a,
vtkIdType  b,
vtkIdType  c,
vtkIdType  d,
vtkIdType  e,
vtkIdType  f,
vtkIdType  sourceId 
) [protected]

void vtkDataSetSurfaceFilter::InitQuadHashTraversal (  )  [protected]

vtkFastGeomQuad* vtkDataSetSurfaceFilter::GetNextVisibleQuadFromHash (  )  [protected]

vtkIdType vtkDataSetSurfaceFilter::GetOutputPointId ( vtkIdType  inPtId,
vtkDataSet input,
vtkPoints outPts,
vtkPointData outPD 
) [protected]

void vtkDataSetSurfaceFilter::InitFastGeomQuadAllocation ( int  numberOfCells  )  [protected]

vtkFastGeomQuad* vtkDataSetSurfaceFilter::NewFastGeomQuad (  )  [protected]

void vtkDataSetSurfaceFilter::DeleteAllFastGeomQuads (  )  [protected]

void vtkDataSetSurfaceFilter::RecordOrigCellId ( vtkIdType  newIndex,
vtkIdType  origId 
) [protected]

void vtkDataSetSurfaceFilter::RecordOrigPointId ( vtkIdType  newIndex,
vtkIdType  origId 
) [protected]


Member Data Documentation

Definition at line 88 of file vtkDataSetSurfaceFilter.h.

Definition at line 126 of file vtkDataSetSurfaceFilter.h.

Definition at line 127 of file vtkDataSetSurfaceFilter.h.

Definition at line 128 of file vtkDataSetSurfaceFilter.h.

Definition at line 129 of file vtkDataSetSurfaceFilter.h.

Definition at line 131 of file vtkDataSetSurfaceFilter.h.

Definition at line 135 of file vtkDataSetSurfaceFilter.h.

Definition at line 142 of file vtkDataSetSurfaceFilter.h.

Definition at line 143 of file vtkDataSetSurfaceFilter.h.

Definition at line 144 of file vtkDataSetSurfaceFilter.h.

Definition at line 146 of file vtkDataSetSurfaceFilter.h.

Definition at line 147 of file vtkDataSetSurfaceFilter.h.

Definition at line 149 of file vtkDataSetSurfaceFilter.h.

Definition at line 151 of file vtkDataSetSurfaceFilter.h.

Definition at line 153 of file vtkDataSetSurfaceFilter.h.

Definition at line 155 of file vtkDataSetSurfaceFilter.h.

Definition at line 157 of file vtkDataSetSurfaceFilter.h.


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

Generated on Sat Dec 27 13:22:09 2008 for VTK by  doxygen 1.5.6