VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkExtractPolyDataGeometry Class Reference

extract vtkPolyData cells that lies either entirely inside or outside of a specified implicit function More...

#include <vtkExtractPolyDataGeometry.h>

Inheritance diagram for vtkExtractPolyDataGeometry:
Inheritance graph
[legend]
Collaboration diagram for vtkExtractPolyDataGeometry:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractPolyDataGeometryNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
unsigned long GetMTime ()
virtual void SetImplicitFunction (vtkImplicitFunction *)
virtual vtkImplicitFunctionGetImplicitFunction ()
virtual void SetExtractInside (int)
virtual int GetExtractInside ()
virtual void ExtractInsideOn ()
virtual void ExtractInsideOff ()
virtual void SetExtractBoundaryCells (int)
virtual int GetExtractBoundaryCells ()
virtual void ExtractBoundaryCellsOn ()
virtual void ExtractBoundaryCellsOff ()
virtual void SetPassPoints (int)
virtual int GetPassPoints ()
virtual void PassPointsOn ()
virtual void PassPointsOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkExtractPolyDataGeometrySafeDownCast (vtkObjectBase *o)
static vtkExtractPolyDataGeometryNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkExtractPolyDataGeometry (vtkImplicitFunction *f=NULL)
 ~vtkExtractPolyDataGeometry ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIdType InsertPointInMap (vtkIdType i, vtkPoints *inPts, vtkPoints *newPts, vtkIdType *pointMap)

Protected Attributes

vtkImplicitFunctionImplicitFunction
int ExtractInside
int ExtractBoundaryCells
int PassPoints

Detailed Description

extract vtkPolyData cells that lies either entirely inside or outside of a specified implicit function

vtkExtractPolyDataGeometry extracts from its input vtkPolyData all cells that are either completely inside or outside of a specified implicit function. This filter is specialized to vtkPolyData. On output the filter generates vtkPolyData.

To use this filter you must specify an implicit function. You must also specify whether to extract cells laying inside or outside of the implicit function. (The inside of an implicit function is the negative values region.) An option exists to extract cells that are neither inside nor outside (i.e., boundary).

Note that this filter also has the option to directly pass all points or cull the points that do not satisfy the implicit function test. Passing all points is a tad faster, but then points remain that do not pass the test and may mess up subsequent glyphing operations and so on. By default points are culled.

A more general version of this filter is available for arbitrary vtkDataSet input (see vtkExtractGeometry).

See also:
vtkExtractGeometry vtkClipPolyData
Tests:
vtkExtractPolyDataGeometry (Tests)

Definition at line 53 of file vtkExtractPolyDataGeometry.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 56 of file vtkExtractPolyDataGeometry.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkExtractPolyDataGeometry::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 vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkExtractPolyDataGeometry::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkExtractPolyDataGeometry::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 vtkPolyDataAlgorithm.

Construct object with ExtractInside turned on.

Reimplemented from vtkPolyDataAlgorithm.

unsigned long vtkExtractPolyDataGeometry::GetMTime ( ) [virtual]

Return the MTime taking into account changes to the implicit function

Reimplemented from vtkObject.

Specify the implicit function for inside/outside checks.

Specify the implicit function for inside/outside checks.

virtual void vtkExtractPolyDataGeometry::SetExtractInside ( int  ) [virtual]

Boolean controls whether to extract cells that are inside of implicit function (ExtractInside == 1) or outside of implicit function (ExtractInside == 0).

Boolean controls whether to extract cells that are inside of implicit function (ExtractInside == 1) or outside of implicit function (ExtractInside == 0).

virtual void vtkExtractPolyDataGeometry::ExtractInsideOn ( ) [virtual]

Boolean controls whether to extract cells that are inside of implicit function (ExtractInside == 1) or outside of implicit function (ExtractInside == 0).

Boolean controls whether to extract cells that are inside of implicit function (ExtractInside == 1) or outside of implicit function (ExtractInside == 0).

Boolean controls whether to extract cells that are partially inside. By default, ExtractBoundaryCells is off.

Boolean controls whether to extract cells that are partially inside. By default, ExtractBoundaryCells is off.

Boolean controls whether to extract cells that are partially inside. By default, ExtractBoundaryCells is off.

Boolean controls whether to extract cells that are partially inside. By default, ExtractBoundaryCells is off.

virtual void vtkExtractPolyDataGeometry::SetPassPoints ( int  ) [virtual]

Boolean controls whether points are culled or simply passed through to the output.

Boolean controls whether points are culled or simply passed through to the output.

virtual void vtkExtractPolyDataGeometry::PassPointsOn ( ) [virtual]

Boolean controls whether points are culled or simply passed through to the output.

virtual void vtkExtractPolyDataGeometry::PassPointsOff ( ) [virtual]

Boolean controls whether points are culled or simply passed through to the output.

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

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

Reimplemented from vtkPolyDataAlgorithm.

vtkIdType vtkExtractPolyDataGeometry::InsertPointInMap ( vtkIdType  i,
vtkPoints inPts,
vtkPoints newPts,
vtkIdType pointMap 
) [inline, protected]

When not passing points, have to use a point map to keep track of things.

Definition at line 118 of file vtkExtractPolyDataGeometry.h.


Member Data Documentation

Definition at line 103 of file vtkExtractPolyDataGeometry.h.

Definition at line 104 of file vtkExtractPolyDataGeometry.h.

Definition at line 105 of file vtkExtractPolyDataGeometry.h.

Definition at line 106 of file vtkExtractPolyDataGeometry.h.


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