extract geometry from data (or convert data to polygonal type)
More...
#include <vtkGenericGeometryFilter.h>
Inherits vtkPolyDataAlgorithm.
extract geometry from data (or convert data to polygonal type)
vtkGenericGeometryFilter is a general-purpose filter to extract geometry (and associated data) from any type of dataset. Geometry is obtained as follows: all 0D, 1D, and 2D cells are extracted. All 2D faces that are used by only one 3D cell (i.e., boundary faces) are extracted. It also is possible to specify conditions on point ids, cell ids, and on bounding box (referred to as "Extent") to control the extraction process.
This filter also may be used to convert any type of data to polygonal type. The conversion process may be less than satisfactory for some 3D datasets. For example, this filter will extract the outer surface of a volume or structured grid dataset. (For structured data you may want to use vtkImageDataGeometryFilter, vtkStructuredGridGeometryFilter, vtkExtractUnstructuredGrid, vtkRectilinearGridGeometryFilter, or vtkExtractVOI.)
- Warning
- When vtkGenericGeometryFilter extracts cells (or boundaries of cells) it will (by default) merge duplicate vertices. This may cause problems in some cases. For example, if you've run vtkPolyDataNormals to generate normals, which may split meshes and create duplicate vertices, vtkGenericGeometryFilter will merge these points back together. Turn merging off to prevent this from occurring.
- See Also
- vtkImageDataGeometryFilter vtkStructuredGridGeometryFilter vtkExtractGeometry vtkExtractVOI
- Tests:
- vtkGenericGeometryFilter (Tests)
Definition at line 58 of file vtkGenericGeometryFilter.h.
vtkGenericGeometryFilter::vtkGenericGeometryFilter |
( |
| ) |
|
|
protected |
vtkGenericGeometryFilter::~vtkGenericGeometryFilter |
( |
| ) |
|
|
protected |
static int vtkGenericGeometryFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkGenericGeometryFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkGenericGeometryFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkGenericGeometryFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkGenericGeometryFilter::SetPointClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual int vtkGenericGeometryFilter::GetPointClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkGenericGeometryFilter::PointClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkGenericGeometryFilter::PointClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkGenericGeometryFilter::SetCellClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual int vtkGenericGeometryFilter::GetCellClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkGenericGeometryFilter::CellClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkGenericGeometryFilter::CellClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkGenericGeometryFilter::SetExtentClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual int vtkGenericGeometryFilter::GetExtentClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkGenericGeometryFilter::ExtentClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkGenericGeometryFilter::ExtentClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkGenericGeometryFilter::SetPointMinimum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the minimum point id for point id selection.
virtual vtkIdType vtkGenericGeometryFilter::GetPointMinimum |
( |
| ) |
|
|
virtual |
Specify the minimum point id for point id selection.
virtual void vtkGenericGeometryFilter::SetPointMaximum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the maximum point id for point id selection.
virtual vtkIdType vtkGenericGeometryFilter::GetPointMaximum |
( |
| ) |
|
|
virtual |
Specify the maximum point id for point id selection.
virtual void vtkGenericGeometryFilter::SetCellMinimum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the minimum cell id for point id selection.
virtual vtkIdType vtkGenericGeometryFilter::GetCellMinimum |
( |
| ) |
|
|
virtual |
Specify the minimum cell id for point id selection.
virtual void vtkGenericGeometryFilter::SetCellMaximum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the maximum cell id for point id selection.
virtual vtkIdType vtkGenericGeometryFilter::GetCellMaximum |
( |
| ) |
|
|
virtual |
Specify the maximum cell id for point id selection.
void vtkGenericGeometryFilter::SetExtent |
( |
double |
xMin, |
|
|
double |
xMax, |
|
|
double |
yMin, |
|
|
double |
yMax, |
|
|
double |
zMin, |
|
|
double |
zMax |
|
) |
| |
Specify a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
void vtkGenericGeometryFilter::SetExtent |
( |
double |
extent[6] | ) |
|
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
double* vtkGenericGeometryFilter::GetExtent |
( |
| ) |
|
|
inline |
virtual void vtkGenericGeometryFilter::SetMerging |
( |
int |
| ) |
|
|
virtual |
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.
virtual int vtkGenericGeometryFilter::GetMerging |
( |
| ) |
|
|
virtual |
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.
virtual void vtkGenericGeometryFilter::MergingOn |
( |
| ) |
|
|
virtual |
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.
virtual void vtkGenericGeometryFilter::MergingOff |
( |
| ) |
|
|
virtual |
Turn on/off merging of coincident points. Note that is merging is on, points with different point attributes (e.g., normals) are merged, which may cause rendering artifacts.
void vtkGenericGeometryFilter::SetLocator |
( |
vtkIncrementalPointLocator * |
locator | ) |
|
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
virtual vtkIncrementalPointLocator* vtkGenericGeometryFilter::GetLocator |
( |
| ) |
|
|
virtual |
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
void vtkGenericGeometryFilter::CreateDefaultLocator |
( |
| ) |
|
Create default locator. Used to create one when none is specified.
unsigned long vtkGenericGeometryFilter::GetMTime |
( |
| ) |
|
Return the MTime also considering the locator.
virtual void vtkGenericGeometryFilter::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.
virtual int vtkGenericGeometryFilter::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.
virtual void vtkGenericGeometryFilter::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.
virtual void vtkGenericGeometryFilter::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.
int vtkGenericGeometryFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
void vtkGenericGeometryFilter::PolyDataExecute |
( |
| ) |
|
|
protected |
void vtkGenericGeometryFilter::UnstructuredGridExecute |
( |
| ) |
|
|
protected |
void vtkGenericGeometryFilter::StructuredGridExecute |
( |
| ) |
|
|
protected |
int vtkGenericGeometryFilter::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
int vtkGenericGeometryFilter::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
int vtkGenericGeometryFilter::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
| |
|
protected |
vtkIdType vtkGenericGeometryFilter::PointMaximum |
|
protected |
vtkIdType vtkGenericGeometryFilter::PointMinimum |
|
protected |
vtkIdType vtkGenericGeometryFilter::CellMinimum |
|
protected |
vtkIdType vtkGenericGeometryFilter::CellMaximum |
|
protected |
double vtkGenericGeometryFilter::Extent[6] |
|
protected |
int vtkGenericGeometryFilter::PointClipping |
|
protected |
int vtkGenericGeometryFilter::CellClipping |
|
protected |
int vtkGenericGeometryFilter::ExtentClipping |
|
protected |
int vtkGenericGeometryFilter::Merging |
|
protected |
vtkIncrementalPointLocator* vtkGenericGeometryFilter::Locator |
|
protected |
vtkPointData* vtkGenericGeometryFilter::InternalPD |
|
protected |
int vtkGenericGeometryFilter::PassThroughCellIds |
|
protected |
The documentation for this class was generated from the following file: