extract geometry from an unstructured grid
More...
#include <vtkUnstructuredGridGeometryFilter.h>
Inherits vtkUnstructuredGridAlgorithm.
extract geometry from an unstructured grid
vtkUnstructuredGridGeometryFilter is a filter that extracts geometry (and associated data) from an unstructured grid. It differs from vtkGeometryFilter by not tessellating higher order faces: 2D faces of quadratic 3D cells will be quadratic. A quadratic edge is extracted as a quadratic edge. For that purpose, the output of this filter is an unstructured grid, not a polydata. Also, the face of a voxel is a pixel, not a quad. 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.
- Warning
- When vtkUnstructuredGridGeometryFilter extracts cells (or boundaries of cells) it will (by default) merge duplicate vertices. This may cause problems in some cases. Turn merging off to prevent this from occurring.
- See Also
- vtkGeometryFilter
- Tests:
- vtkUnstructuredGridGeometryFilter (Tests)
Definition at line 52 of file vtkUnstructuredGridGeometryFilter.h.
vtkUnstructuredGridGeometryFilter::vtkUnstructuredGridGeometryFilter |
( |
| ) |
|
|
protected |
vtkUnstructuredGridGeometryFilter::~vtkUnstructuredGridGeometryFilter |
( |
| ) |
|
|
protected |
static int vtkUnstructuredGridGeometryFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkUnstructuredGridGeometryFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkUnstructuredGridGeometryFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkUnstructuredGridGeometryFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkUnstructuredGridGeometryFilter::SetPointClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual int vtkUnstructuredGridGeometryFilter::GetPointClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkUnstructuredGridGeometryFilter::PointClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkUnstructuredGridGeometryFilter::PointClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by point id.
virtual void vtkUnstructuredGridGeometryFilter::SetCellClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual int vtkUnstructuredGridGeometryFilter::GetCellClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkUnstructuredGridGeometryFilter::CellClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkUnstructuredGridGeometryFilter::CellClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry by cell id.
virtual void vtkUnstructuredGridGeometryFilter::SetExtentClipping |
( |
int |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual int vtkUnstructuredGridGeometryFilter::GetExtentClipping |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkUnstructuredGridGeometryFilter::ExtentClippingOn |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkUnstructuredGridGeometryFilter::ExtentClippingOff |
( |
| ) |
|
|
virtual |
Turn on/off selection of geometry via bounding box.
virtual void vtkUnstructuredGridGeometryFilter::SetPointMinimum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the minimum point id for point id selection.
virtual vtkIdType vtkUnstructuredGridGeometryFilter::GetPointMinimum |
( |
| ) |
|
|
virtual |
Specify the minimum point id for point id selection.
virtual void vtkUnstructuredGridGeometryFilter::SetPointMaximum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the maximum point id for point id selection.
virtual vtkIdType vtkUnstructuredGridGeometryFilter::GetPointMaximum |
( |
| ) |
|
|
virtual |
Specify the maximum point id for point id selection.
virtual void vtkUnstructuredGridGeometryFilter::SetCellMinimum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the minimum cell id for point id selection.
virtual vtkIdType vtkUnstructuredGridGeometryFilter::GetCellMinimum |
( |
| ) |
|
|
virtual |
Specify the minimum cell id for point id selection.
virtual void vtkUnstructuredGridGeometryFilter::SetCellMaximum |
( |
vtkIdType |
| ) |
|
|
virtual |
Specify the maximum cell id for point id selection.
virtual vtkIdType vtkUnstructuredGridGeometryFilter::GetCellMaximum |
( |
| ) |
|
|
virtual |
Specify the maximum cell id for point id selection.
void vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::SetExtent |
( |
double |
extent[6] | ) |
|
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
double* vtkUnstructuredGridGeometryFilter::GetExtent |
( |
| ) |
|
|
inline |
virtual void vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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.
virtual void vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridGeometryFilter::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* vtkUnstructuredGridGeometryFilter::GetOriginalCellIdsName |
( |
| ) |
|
|
inlinevirtual |
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 148 of file vtkUnstructuredGridGeometryFilter.h.
virtual void vtkUnstructuredGridGeometryFilter::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* vtkUnstructuredGridGeometryFilter::GetOriginalPointIdsName |
( |
| ) |
|
|
inlinevirtual |
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 153 of file vtkUnstructuredGridGeometryFilter.h.
void vtkUnstructuredGridGeometryFilter::SetLocator |
( |
vtkIncrementalPointLocator * |
locator | ) |
|
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
virtual vtkIncrementalPointLocator* vtkUnstructuredGridGeometryFilter::GetLocator |
( |
| ) |
|
|
virtual |
Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.
void vtkUnstructuredGridGeometryFilter::CreateDefaultLocator |
( |
| ) |
|
Create default locator. Used to create one when none is specified.
unsigned long vtkUnstructuredGridGeometryFilter::GetMTime |
( |
| ) |
|
Return the MTime also considering the locator.
virtual int vtkUnstructuredGridGeometryFilter::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkUnstructuredGridGeometryFilter::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
int vtkUnstructuredGridGeometryFilter::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
vtkIdType vtkUnstructuredGridGeometryFilter::PointMaximum |
|
protected |
vtkIdType vtkUnstructuredGridGeometryFilter::PointMinimum |
|
protected |
vtkIdType vtkUnstructuredGridGeometryFilter::CellMinimum |
|
protected |
vtkIdType vtkUnstructuredGridGeometryFilter::CellMaximum |
|
protected |
double vtkUnstructuredGridGeometryFilter::Extent[6] |
|
protected |
int vtkUnstructuredGridGeometryFilter::PointClipping |
|
protected |
int vtkUnstructuredGridGeometryFilter::CellClipping |
|
protected |
int vtkUnstructuredGridGeometryFilter::ExtentClipping |
|
protected |
int vtkUnstructuredGridGeometryFilter::PassThroughCellIds |
|
protected |
int vtkUnstructuredGridGeometryFilter::PassThroughPointIds |
|
protected |
char* vtkUnstructuredGridGeometryFilter::OriginalCellIdsName |
|
protected |
char* vtkUnstructuredGridGeometryFilter::OriginalPointIdsName |
|
protected |
int vtkUnstructuredGridGeometryFilter::Merging |
|
protected |
vtkIncrementalPointLocator* vtkUnstructuredGridGeometryFilter::Locator |
|
protected |
vtkHashTableOfSurfels* vtkUnstructuredGridGeometryFilter::HashTable |
|
protected |
The documentation for this class was generated from the following file: