VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkExtractUnstructuredGrid Class Reference

extract subset of unstructured grid geometry More...

#include <vtkExtractUnstructuredGrid.h>

Inherits vtkUnstructuredGridAlgorithm.

Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkExtractUnstructuredGridNewInstance () const
 
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 (vtkObjectBase *o)
 
static vtkExtractUnstructuredGridNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 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
 
vtkIncrementalPointLocator * Locator
 

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 laying 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 52 of file vtkExtractUnstructuredGrid.h.

Member Typedef Documentation

typedef vtkUnstructuredGridAlgorithm vtkExtractUnstructuredGrid::Superclass

Definition at line 55 of file vtkExtractUnstructuredGrid.h.

Constructor & Destructor Documentation

vtkExtractUnstructuredGrid::vtkExtractUnstructuredGrid ( )
protected
vtkExtractUnstructuredGrid::~vtkExtractUnstructuredGrid ( )
inlineprotected

Definition at line 144 of file vtkExtractUnstructuredGrid.h.

Member Function Documentation

static int vtkExtractUnstructuredGrid::IsTypeOf ( const char *  type)
static
virtual int vtkExtractUnstructuredGrid::IsA ( const char *  type)
virtual
static vtkExtractUnstructuredGrid* vtkExtractUnstructuredGrid::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExtractUnstructuredGrid::NewInstanceInternal ( ) const
protectedvirtual
vtkExtractUnstructuredGrid* vtkExtractUnstructuredGrid::NewInstance ( ) const
void vtkExtractUnstructuredGrid::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkExtractUnstructuredGrid* vtkExtractUnstructuredGrid::New ( )
static

Construct with all types of clipping turned off.

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 117 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 ( )

Return the MTime also considering the locator.

virtual int vtkExtractUnstructuredGrid::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

vtkIdType vtkExtractUnstructuredGrid::PointMinimum
protected

Definition at line 148 of file vtkExtractUnstructuredGrid.h.

vtkIdType vtkExtractUnstructuredGrid::PointMaximum
protected

Definition at line 149 of file vtkExtractUnstructuredGrid.h.

vtkIdType vtkExtractUnstructuredGrid::CellMinimum
protected

Definition at line 150 of file vtkExtractUnstructuredGrid.h.

vtkIdType vtkExtractUnstructuredGrid::CellMaximum
protected

Definition at line 151 of file vtkExtractUnstructuredGrid.h.

double vtkExtractUnstructuredGrid::Extent[6]
protected

Definition at line 152 of file vtkExtractUnstructuredGrid.h.

int vtkExtractUnstructuredGrid::PointClipping
protected

Definition at line 153 of file vtkExtractUnstructuredGrid.h.

int vtkExtractUnstructuredGrid::CellClipping
protected

Definition at line 154 of file vtkExtractUnstructuredGrid.h.

int vtkExtractUnstructuredGrid::ExtentClipping
protected

Definition at line 155 of file vtkExtractUnstructuredGrid.h.

int vtkExtractUnstructuredGrid::Merging
protected

Definition at line 157 of file vtkExtractUnstructuredGrid.h.

vtkIncrementalPointLocator* vtkExtractUnstructuredGrid::Locator
protected

Definition at line 158 of file vtkExtractUnstructuredGrid.h.


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