Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkGeometryFilter Class Reference

extract geometry from data (or convert data to polygonal type). More...

#include <vtkGeometryFilter.h>

Inheritance diagram for vtkGeometryFilter:

Inheritance graph
Collaboration diagram for vtkGeometryFilter:

Collaboration graph
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
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 (int)
virtual int GetPointMinimum ()
virtual void SetPointMaximum (int)
virtual int GetPointMaximum ()
virtual void SetCellMinimum (int)
virtual int GetCellMinimum ()
virtual void SetCellMaximum (int)
virtual int GetCellMaximum ()
void SetExtent (float xMin, float xMax, float yMin, float yMax, float zMin, float zMax)
void SetExtent (float *extent)
float * GetExtent ()
virtual void SetMerging (int)
virtual int GetMerging ()
virtual void MergingOn ()
virtual void MergingOff ()
void SetLocator (vtkPointLocator *locator)
virtual vtkPointLocatorGetLocator ()
void CreateDefaultLocator ()
unsigned long GetMTime ()
void SetLocator (vtkPointLocator &locator)

Static Public Methods

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

Protected Methods

 vtkGeometryFilter ()
 ~vtkGeometryFilter ()
 vtkGeometryFilter (const vtkGeometryFilter &)
void operator= (const vtkGeometryFilter &)
void Execute ()
void PolyDataExecute ()
void UnstructuredGridExecute ()
void StructuredGridExecute ()
void ComputeInputUpdateExtents (vtkDataObject *output)
void ExecuteInformation ()

Protected Attributes

int PointMaximum
int PointMinimum
int CellMinimum
int CellMaximum
float Extent [6]
int PointClipping
int CellClipping
int ExtentClipping
int Merging

Detailed Description

extract geometry from data (or convert data to polygonal type).

2000/12/10 20:08:38

vtkGeometryFilter 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 vtkStructuredPointsGeometryFilter, vtkStructuredGridGeometryFilter, vtkUnstructuredGridGeometryFilter, vtkRectilinearGridGeometryFilter, or vtkExtractVOI.)

When vtkGeometryFilter 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, vtkGeometryFilter will merge these points back together. Turn merging off to prevent this from occurring.
See also:
vtkStructuredPointsGeometryFilter vtkStructuredGridGeometryFilter vtkExtractGeometry vtkExtractVOI
vtkGeometryFilter (examples)

Definition at line 81 of file vtkGeometryFilter.h.

Constructor & Destructor Documentation

vtkGeometryFilter::vtkGeometryFilter   [protected]

vtkGeometryFilter::~vtkGeometryFilter   [protected]

vtkGeometryFilter::vtkGeometryFilter const vtkGeometryFilter &    [inline, protected]

Definition at line 156 of file vtkGeometryFilter.h.

Member Function Documentation

vtkGeometryFilter* vtkGeometryFilter::New   [static]

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkGeometryFilter::GetClassName   [virtual]

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

int vtkGeometryFilter::IsTypeOf const char *    type [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 vtkDataSetToPolyDataFilter.

virtual int vtkGeometryFilter::IsA const char *    type [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 vtkDataSetToPolyDataFilter.

vtkGeometryFilter* vtkGeometryFilter::SafeDownCast vtkObject   o [static]

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

void vtkGeometryFilter::PrintSelf ostream &    os,
vtkIndent    indent

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 vtkSource.

virtual void vtkGeometryFilter::SetPointClipping int    [virtual]

Turn on/off selection of geometry by point id.

virtual int vtkGeometryFilter::GetPointClipping   [virtual]

virtual void vtkGeometryFilter::PointClippingOn   [virtual]

virtual void vtkGeometryFilter::PointClippingOff   [virtual]

virtual void vtkGeometryFilter::SetCellClipping int    [virtual]

Turn on/off selection of geometry by cell id.

virtual int vtkGeometryFilter::GetCellClipping   [virtual]

virtual void vtkGeometryFilter::CellClippingOn   [virtual]

virtual void vtkGeometryFilter::CellClippingOff   [virtual]

virtual void vtkGeometryFilter::SetExtentClipping int    [virtual]

Turn on/off selection of geometry via bounding box.

virtual int vtkGeometryFilter::GetExtentClipping   [virtual]

virtual void vtkGeometryFilter::ExtentClippingOn   [virtual]

virtual void vtkGeometryFilter::ExtentClippingOff   [virtual]

virtual void vtkGeometryFilter::SetPointMinimum int    [virtual]

Specify the minimum point id for point id selection.

virtual int vtkGeometryFilter::GetPointMinimum   [virtual]

virtual void vtkGeometryFilter::SetPointMaximum int    [virtual]

Specify the maximum point id for point id selection.

virtual int vtkGeometryFilter::GetPointMaximum   [virtual]

virtual void vtkGeometryFilter::SetCellMinimum int    [virtual]

Specify the minimum cell id for point id selection.

virtual int vtkGeometryFilter::GetCellMinimum   [virtual]

virtual void vtkGeometryFilter::SetCellMaximum int    [virtual]

Specify the maximum cell id for point id selection.

virtual int vtkGeometryFilter::GetCellMaximum   [virtual]

void vtkGeometryFilter::SetExtent float    xMin,
float    xMax,
float    yMin,
float    yMax,
float    zMin,
float    zMax

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

void vtkGeometryFilter::SetExtent float *    extent

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

float* vtkGeometryFilter::GetExtent   [inline]

Definition at line 127 of file vtkGeometryFilter.h.

virtual void vtkGeometryFilter::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 vtkGeometryFilter::GetMerging   [virtual]

virtual void vtkGeometryFilter::MergingOn   [virtual]

virtual void vtkGeometryFilter::MergingOff   [virtual]

void vtkGeometryFilter::SetLocator vtkPointLocator   locator

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

virtual vtkPointLocator* vtkGeometryFilter::GetLocator   [virtual]

void vtkGeometryFilter::CreateDefaultLocator void   

Create default locator. Used to create one when none is specified.

unsigned long vtkGeometryFilter::GetMTime   [virtual]

Return the MTime also considering the locator.

Reimplemented from vtkObject.

void vtkGeometryFilter::SetLocator vtkPointLocator   locator [inline]

For legacy compatibility. Do not use.

Definition at line 149 of file vtkGeometryFilter.h.

void vtkGeometryFilter::operator= const vtkGeometryFilter &    [inline, protected]

Definition at line 157 of file vtkGeometryFilter.h.

void vtkGeometryFilter::Execute   [protected, virtual]

Reimplemented from vtkSource.

void vtkGeometryFilter::PolyDataExecute   [protected]

void vtkGeometryFilter::UnstructuredGridExecute   [protected]

void vtkGeometryFilter::StructuredGridExecute   [protected]

void vtkGeometryFilter::ComputeInputUpdateExtents vtkDataObject   output [protected, virtual]

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkPolyDataSource.

void vtkGeometryFilter::ExecuteInformation   [protected, virtual]

Reimplemented from vtkSource.

Member Data Documentation

int vtkGeometryFilter::PointMaximum [protected]

Definition at line 166 of file vtkGeometryFilter.h.

int vtkGeometryFilter::PointMinimum [protected]

Definition at line 167 of file vtkGeometryFilter.h.

int vtkGeometryFilter::CellMinimum [protected]

Definition at line 168 of file vtkGeometryFilter.h.

int vtkGeometryFilter::CellMaximum [protected]

Definition at line 169 of file vtkGeometryFilter.h.

float vtkGeometryFilter::Extent[6] [protected]

Definition at line 170 of file vtkGeometryFilter.h.

int vtkGeometryFilter::PointClipping [protected]

Definition at line 171 of file vtkGeometryFilter.h.

int vtkGeometryFilter::CellClipping [protected]

Definition at line 172 of file vtkGeometryFilter.h.

int vtkGeometryFilter::ExtentClipping [protected]

Definition at line 173 of file vtkGeometryFilter.h.

int vtkGeometryFilter::Merging [protected]

Definition at line 175 of file vtkGeometryFilter.h.

vtkPointLocator* vtkGeometryFilter::Locator [protected]

Definition at line 176 of file vtkGeometryFilter.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:03 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001