vtkExtractUnstructuredGrid Class Reference

#include <vtkExtractUnstructuredGrid.h>

Inheritance diagram for vtkExtractUnstructuredGrid:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractUnstructuredGrid:

Collaboration graph
[legend]

List of all members.


Detailed Description

extract subset of unstructured grid geometry

vtkExtractUnstructuredGrid is a general-purpose filter to extract geometry (and associated data) from an unstructured grid dataset. The extraction process is controlled by specifying a range of point ids, cell ids, or a bounding box (referred to as "Extent"). Those cells lying within these regions are sent to the output. The user has the choice of merging coincident points (Merging is on) or using the original point set (Merging is off).

Warning:
If merging is off, the input points are copied through to the output. This means unused points may be present in the output data. If merging is on, then coincident points with different point attribute values are merged.
See also:
vtkImageDataGeometryFilter vtkStructuredGridGeometryFilter vtkRectilinearGridGeometryFilter vtkExtractGeometry vtkExtractVOI
Examples:
vtkExtractUnstructuredGrid (Examples)
Tests:
vtkExtractUnstructuredGrid (Tests)

Definition at line 51 of file vtkExtractUnstructuredGrid.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 (vtkIncrementalPointLocator *locator)
virtual
vtkIncrementalPointLocator
GetLocator ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkExtractUnstructuredGridSafeDownCast (vtkObject *o)
static vtkExtractUnstructuredGridNew ()

Protected Member Functions

 vtkExtractUnstructuredGrid ()
 ~vtkExtractUnstructuredGrid ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkIdType PointMinimum
vtkIdType PointMaximum
vtkIdType CellMinimum
vtkIdType CellMaximum
double Extent [6]
int PointClipping
int CellClipping
int ExtentClipping
int Merging
vtkIncrementalPointLocatorLocator

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 54 of file vtkExtractUnstructuredGrid.h.


Constructor & Destructor Documentation

vtkExtractUnstructuredGrid::vtkExtractUnstructuredGrid (  )  [protected]

vtkExtractUnstructuredGrid::~vtkExtractUnstructuredGrid (  )  [inline, protected]

Definition at line 143 of file vtkExtractUnstructuredGrid.h.


Member Function Documentation

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

Reimplemented from vtkUnstructuredGridAlgorithm.

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

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

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

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkExtractUnstructuredGrid::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.

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

Construct with all types of clipping turned off.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual void vtkExtractUnstructuredGrid::SetPointClipping ( int   )  [virtual]

Turn on/off selection of geometry by point id.

virtual int vtkExtractUnstructuredGrid::GetPointClipping (  )  [virtual]

Turn on/off selection of geometry by point id.

virtual void vtkExtractUnstructuredGrid::PointClippingOn (  )  [virtual]

Turn on/off selection of geometry by point id.

virtual void vtkExtractUnstructuredGrid::PointClippingOff (  )  [virtual]

Turn on/off selection of geometry by point id.

virtual void vtkExtractUnstructuredGrid::SetCellClipping ( int   )  [virtual]

Turn on/off selection of geometry by cell id.

virtual int vtkExtractUnstructuredGrid::GetCellClipping (  )  [virtual]

Turn on/off selection of geometry by cell id.

virtual void vtkExtractUnstructuredGrid::CellClippingOn (  )  [virtual]

Turn on/off selection of geometry by cell id.

virtual void vtkExtractUnstructuredGrid::CellClippingOff (  )  [virtual]

Turn on/off selection of geometry by cell id.

virtual void vtkExtractUnstructuredGrid::SetExtentClipping ( int   )  [virtual]

Turn on/off selection of geometry via bounding box.

virtual int vtkExtractUnstructuredGrid::GetExtentClipping (  )  [virtual]

Turn on/off selection of geometry via bounding box.

virtual void vtkExtractUnstructuredGrid::ExtentClippingOn (  )  [virtual]

Turn on/off selection of geometry via bounding box.

virtual void vtkExtractUnstructuredGrid::ExtentClippingOff (  )  [virtual]

Turn on/off selection of geometry via bounding box.

virtual void vtkExtractUnstructuredGrid::SetPointMinimum ( vtkIdType   )  [virtual]

Specify the minimum point id for point id selection.

virtual vtkIdType vtkExtractUnstructuredGrid::GetPointMinimum (  )  [virtual]

Specify the minimum point id for point id selection.

virtual void vtkExtractUnstructuredGrid::SetPointMaximum ( vtkIdType   )  [virtual]

Specify the maximum point id for point id selection.

virtual vtkIdType vtkExtractUnstructuredGrid::GetPointMaximum (  )  [virtual]

Specify the maximum point id for point id selection.

virtual void vtkExtractUnstructuredGrid::SetCellMinimum ( vtkIdType   )  [virtual]

Specify the minimum cell id for point id selection.

virtual vtkIdType vtkExtractUnstructuredGrid::GetCellMinimum (  )  [virtual]

Specify the minimum cell id for point id selection.

virtual void vtkExtractUnstructuredGrid::SetCellMaximum ( vtkIdType   )  [virtual]

Specify the maximum cell id for point id selection.

virtual vtkIdType vtkExtractUnstructuredGrid::GetCellMaximum (  )  [virtual]

Specify the maximum cell id for point id selection.

void vtkExtractUnstructuredGrid::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 vtkExtractUnstructuredGrid::SetExtent ( double  extent[6]  ) 

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

double* vtkExtractUnstructuredGrid::GetExtent (  )  [inline]

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

Definition at line 116 of file vtkExtractUnstructuredGrid.h.

virtual void vtkExtractUnstructuredGrid::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 vtkExtractUnstructuredGrid::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 vtkExtractUnstructuredGrid::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 vtkExtractUnstructuredGrid::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 vtkExtractUnstructuredGrid::SetLocator ( vtkIncrementalPointLocator locator  ) 

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

virtual vtkIncrementalPointLocator* vtkExtractUnstructuredGrid::GetLocator (  )  [virtual]

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

void vtkExtractUnstructuredGrid::CreateDefaultLocator (  ) 

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

unsigned long vtkExtractUnstructuredGrid::GetMTime (  )  [virtual]

Return the MTime also considering the locator.

Reimplemented from vtkObject.

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


Member Data Documentation

Definition at line 147 of file vtkExtractUnstructuredGrid.h.

Definition at line 148 of file vtkExtractUnstructuredGrid.h.

Definition at line 149 of file vtkExtractUnstructuredGrid.h.

Definition at line 150 of file vtkExtractUnstructuredGrid.h.

double vtkExtractUnstructuredGrid::Extent[6] [protected]

Definition at line 151 of file vtkExtractUnstructuredGrid.h.

Definition at line 152 of file vtkExtractUnstructuredGrid.h.

Definition at line 153 of file vtkExtractUnstructuredGrid.h.

Definition at line 154 of file vtkExtractUnstructuredGrid.h.

Definition at line 156 of file vtkExtractUnstructuredGrid.h.

Definition at line 157 of file vtkExtractUnstructuredGrid.h.


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

Generated on Wed Aug 24 11:36:01 2011 for VTK by  doxygen 1.5.6