Extracts outer (polygonal) surface.
More...
#include <vtkDataSetSurfaceFilter.h>
List of all members.
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 vtkDataSetSurfaceFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataSetSurfaceFilter * | SafeDownCast (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 () |
virtual void | InsertQuadInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType d, vtkIdType sourceId) |
virtual void | InsertTriInHash (vtkIdType a, vtkIdType b, vtkIdType c, vtkIdType sourceId) |
virtual void | InsertPolygonInHash (vtkIdType *ids, int numpts, vtkIdType sourceId) |
void | InitQuadHashTraversal () |
vtkFastGeomQuad * | GetNextVisibleQuadFromHash () |
vtkIdType | GetOutputPointId (vtkIdType inPtId, vtkDataSet *input, vtkPoints *outPts, vtkPointData *outPD) |
void | InitFastGeomQuadAllocation (int numberOfCells) |
vtkFastGeomQuad * | NewFastGeomQuad (int numPts) |
void | DeleteAllFastGeomQuads () |
void | RecordOrigCellId (vtkIdType newIndex, vtkIdType origId) |
void | RecordOrigPointId (vtkIdType newIndex, vtkIdType origId) |
Protected Attributes |
int | UseStrips |
vtkFastGeomQuad ** | QuadHash |
vtkIdType | QuadHashLength |
vtkFastGeomQuad * | QuadHashTraversal |
vtkIdType | QuadHashTraversalIndex |
vtkIdType * | PointMap |
vtkIdType | NumberOfNewCells |
int | FastGeomQuadArrayLength |
int | NumberOfFastGeomQuadArrays |
unsigned char ** | FastGeomQuadArrays |
int | NextArrayIndex |
int | NextQuadIndex |
int | PieceInvariant |
int | PassThroughCellIds |
vtkIdTypeArray * | OriginalCellIds |
int | PassThroughPointIds |
vtkIdTypeArray * | OriginalPointIds |
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.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkDataSetSurfaceFilter::vtkDataSetSurfaceFilter |
( |
|
) |
[protected] |
vtkDataSetSurfaceFilter::~vtkDataSetSurfaceFilter |
( |
|
) |
[protected] |
Member Function Documentation
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] |
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.
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.
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
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::UnstructuredGridExecute |
( |
vtkDataSet * |
input, |
|
|
vtkPolyData * |
output | |
|
) |
| | [protected] |
void vtkDataSetSurfaceFilter::InitializeQuadHash |
( |
vtkIdType |
numPoints |
) |
[protected] |
void vtkDataSetSurfaceFilter::DeleteQuadHash |
( |
|
) |
[protected] |
virtual void vtkDataSetSurfaceFilter::InsertPolygonInHash |
( |
vtkIdType * |
ids, |
|
|
int |
numpts, |
|
|
vtkIdType |
sourceId | |
|
) |
| | [protected, virtual] |
void vtkDataSetSurfaceFilter::InitQuadHashTraversal |
( |
|
) |
[protected] |
vtkFastGeomQuad* vtkDataSetSurfaceFilter::GetNextVisibleQuadFromHash |
( |
|
) |
[protected] |
void vtkDataSetSurfaceFilter::InitFastGeomQuadAllocation |
( |
int |
numberOfCells |
) |
[protected] |
vtkFastGeomQuad* vtkDataSetSurfaceFilter::NewFastGeomQuad |
( |
int |
numPts |
) |
[protected] |
void vtkDataSetSurfaceFilter::DeleteAllFastGeomQuads |
( |
|
) |
[protected] |
void vtkDataSetSurfaceFilter::RecordOrigCellId |
( |
vtkIdType |
newIndex, |
|
|
vtkIdType |
origId | |
|
) |
| | [protected] |
void vtkDataSetSurfaceFilter::RecordOrigPointId |
( |
vtkIdType |
newIndex, |
|
|
vtkIdType |
origId | |
|
) |
| | [protected] |
Member Data Documentation
The documentation for this class was generated from the following file: