VTK
|
Extracts outer (polygonal) surface. More...
#include <vtkDataSetSurfaceFilter.h>
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.
Definition at line 56 of file vtkDataSetSurfaceFilter.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 60 of file vtkDataSetSurfaceFilter.h.
vtkDataSetSurfaceFilter::vtkDataSetSurfaceFilter | ( | ) | [protected] |
vtkDataSetSurfaceFilter::~vtkDataSetSurfaceFilter | ( | ) | [protected] |
static vtkDataSetSurfaceFilter* vtkDataSetSurfaceFilter::New | ( | ) | [static] |
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.
static vtkDataSetSurfaceFilter* vtkDataSetSurfaceFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
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 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.
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, | ||
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.
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::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] |
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] |
int vtkDataSetSurfaceFilter::UseStrips [protected] |
Definition at line 173 of file vtkDataSetSurfaceFilter.h.
vtkFastGeomQuad** vtkDataSetSurfaceFilter::QuadHash [protected] |
Definition at line 219 of file vtkDataSetSurfaceFilter.h.
vtkIdType vtkDataSetSurfaceFilter::QuadHashLength [protected] |
Definition at line 220 of file vtkDataSetSurfaceFilter.h.
Definition at line 221 of file vtkDataSetSurfaceFilter.h.
Definition at line 222 of file vtkDataSetSurfaceFilter.h.
vtkIdType* vtkDataSetSurfaceFilter::PointMap [protected] |
Definition at line 224 of file vtkDataSetSurfaceFilter.h.
vtkEdgeInterpolationMap* vtkDataSetSurfaceFilter::EdgeMap [protected] |
Definition at line 228 of file vtkDataSetSurfaceFilter.h.
vtkIdType vtkDataSetSurfaceFilter::NumberOfNewCells [protected] |
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.
vtkIdType vtkDataSetSurfaceFilter::NextArrayIndex [protected] |
Definition at line 247 of file vtkDataSetSurfaceFilter.h.
vtkIdType vtkDataSetSurfaceFilter::NextQuadIndex [protected] |
Definition at line 248 of file vtkDataSetSurfaceFilter.h.
int vtkDataSetSurfaceFilter::PieceInvariant [protected] |
Definition at line 250 of file vtkDataSetSurfaceFilter.h.
int vtkDataSetSurfaceFilter::PassThroughCellIds [protected] |
Definition at line 252 of file vtkDataSetSurfaceFilter.h.
vtkIdTypeArray* vtkDataSetSurfaceFilter::OriginalCellIds [protected] |
Definition at line 255 of file vtkDataSetSurfaceFilter.h.
char* vtkDataSetSurfaceFilter::OriginalCellIdsName [protected] |
Definition at line 256 of file vtkDataSetSurfaceFilter.h.
int vtkDataSetSurfaceFilter::PassThroughPointIds [protected] |
Definition at line 258 of file vtkDataSetSurfaceFilter.h.
vtkIdTypeArray* vtkDataSetSurfaceFilter::OriginalPointIds [protected] |
Definition at line 260 of file vtkDataSetSurfaceFilter.h.
char* vtkDataSetSurfaceFilter::OriginalPointIdsName [protected] |
Definition at line 261 of file vtkDataSetSurfaceFilter.h.
Definition at line 263 of file vtkDataSetSurfaceFilter.h.