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

clip any dataset with user-specified implicit function or input scalar data More...

#include <vtkClipConvexPolyData.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkClipConvexPolyDataNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual unsigned long int GetMTime ()
void SetPlanes (vtkPlaneCollection *planes)
virtual vtkPlaneCollectionGetPlanes ()

Static Public Member Functions

static vtkClipConvexPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkClipConvexPolyDataSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkClipConvexPolyData ()
 ~vtkClipConvexPolyData ()
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
bool HasDegeneracies (vtkPlane *p)
void ClearInternals ()
void ClearNewVertices ()
void RemoveEmptyPolygons ()
void ClipWithPlane (vtkPlane *p, double tolerance)

Protected Attributes

vtkPlaneCollectionPlanes
vtkClipConvexPolyDataInternals * Internal

Detailed Description

clip any dataset with user-specified implicit function or input scalar data

vtkClipConvexPolyData is a filter that clips a convex polydata with a set of planes. Its main usage is for clipping a bounding volume with frustum planes (used later one in volume rendering).

Tests:
vtkClipConvexPolyData (Tests)

Definition at line 36 of file vtkClipConvexPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 40 of file vtkClipConvexPolyData.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkClipConvexPolyData::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 vtkClipConvexPolyData::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* vtkClipConvexPolyData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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

Set all the planes at once using a vtkPlanes implicit function. This also sets the D value.

Set all the planes at once using a vtkPlanes implicit function. This also sets the D value.

virtual unsigned long int vtkClipConvexPolyData::GetMTime ( ) [virtual]

Redefines this method, as this filter depends on time of its components (planes)

Reimplemented from vtkObject.

int vtkClipConvexPolyData::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.

void vtkClipConvexPolyData::ClipWithPlane ( vtkPlane p,
double  tolerance 
) [protected]

Clip the input with a given plane `p'. tolerance ?

Tells if clipping the input by plane `p' creates some degeneracies.

Delete calculation data.

?

?


Member Data Documentation

Definition at line 81 of file vtkClipConvexPolyData.h.

vtkClipConvexPolyDataInternals* vtkClipConvexPolyData::Internal [protected]

Definition at line 82 of file vtkClipConvexPolyData.h.


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