vtkUnstructuredGridGeometryFilter Class Reference

#include <vtkUnstructuredGridGeometryFilter.h>

Inheritance diagram for vtkUnstructuredGridGeometryFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkUnstructuredGridGeometryFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

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 51 of file vtkUnstructuredGridGeometryFilter.h.


Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void CreateDefaultLocator ()
unsigned long GetMTime ()
virtual void SetPointClipping (int)
virtual int GetPointClipping ()
virtual void PointClippingOn ()
virtual void PointClippingOff ()
virtual void SetCellClipping (int)
virtual int GetCellClipping ()
virtual void CellClippingOn ()
virtual void CellClippingOff ()
virtual void SetExtentClipping (int)
virtual int GetExtentClipping ()
virtual void ExtentClippingOn ()
virtual void ExtentClippingOff ()
virtual void SetPointMinimum (vtkIdType)
virtual vtkIdType GetPointMinimum ()
virtual void SetPointMaximum (vtkIdType)
virtual vtkIdType GetPointMaximum ()
virtual void SetCellMinimum (vtkIdType)
virtual vtkIdType GetCellMinimum ()
virtual void SetCellMaximum (vtkIdType)
virtual vtkIdType GetCellMaximum ()
void SetExtent (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
void SetExtent (double extent[6])
double * GetExtent ()
virtual void SetMerging (int)
virtual int GetMerging ()
virtual void MergingOn ()
virtual void MergingOff ()
void SetLocator (vtkPointLocator *locator)
virtual vtkPointLocatorGetLocator ()

Static Public Member Functions

static
vtkUnstructuredGridGeometryFilter
New ()
static int IsTypeOf (const char *type)
static
vtkUnstructuredGridGeometryFilter
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkUnstructuredGridGeometryFilter ()
 ~vtkUnstructuredGridGeometryFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkIdType PointMaximum
vtkIdType PointMinimum
vtkIdType CellMinimum
vtkIdType CellMaximum
double Extent [6]
int PointClipping
int CellClipping
int ExtentClipping
int Merging
vtkPointLocatorLocator
vtkHashTableOfSurfels * HashTable

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 55 of file vtkUnstructuredGridGeometryFilter.h.


Constructor & Destructor Documentation

vtkUnstructuredGridGeometryFilter::vtkUnstructuredGridGeometryFilter (  )  [protected]

vtkUnstructuredGridGeometryFilter::~vtkUnstructuredGridGeometryFilter (  )  [protected]


Member Function Documentation

static vtkUnstructuredGridGeometryFilter* vtkUnstructuredGridGeometryFilter::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual const char* vtkUnstructuredGridGeometryFilter::GetClassName (  )  [virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridAlgorithm.

virtual int vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridAlgorithm.

static vtkUnstructuredGridGeometryFilter* vtkUnstructuredGridGeometryFilter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridAlgorithm.

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]

Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.

Definition at line 114 of file vtkUnstructuredGridGeometryFilter.h.

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.

void vtkUnstructuredGridGeometryFilter::SetLocator ( vtkPointLocator locator  ) 

Set / get a spatial locator for merging points. By default an instance of vtkMergePoints is used.

virtual vtkPointLocator* 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 (  )  [virtual]

Return the MTime also considering the locator.

Reimplemented from vtkObject.

virtual int vtkUnstructuredGridGeometryFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkUnstructuredGridGeometryFilter::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 vtkUnstructuredGridAlgorithm.

int vtkUnstructuredGridGeometryFilter::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkUnstructuredGridAlgorithm.


Member Data Documentation

Definition at line 148 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 149 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 150 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 151 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 152 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 153 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 154 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 155 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 157 of file vtkUnstructuredGridGeometryFilter.h.

Definition at line 158 of file vtkUnstructuredGridGeometryFilter.h.

vtkHashTableOfSurfels* vtkUnstructuredGridGeometryFilter::HashTable [protected]

Definition at line 160 of file vtkUnstructuredGridGeometryFilter.h.


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

Generated on Sat Dec 27 13:56:33 2008 for VTK by  doxygen 1.5.6