vtkClipConvexPolyData Class Reference

#include <vtkClipConvexPolyData.h>

Inheritance diagram for vtkClipConvexPolyData:

Inheritance graph
[legend]
Collaboration diagram for vtkClipConvexPolyData:

Collaboration graph
[legend]

List of all members.


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 35 of file vtkClipConvexPolyData.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkClipConvexPolyData.h.


Constructor & Destructor Documentation

vtkClipConvexPolyData::vtkClipConvexPolyData (  )  [protected]

vtkClipConvexPolyData::~vtkClipConvexPolyData (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkPolyDataAlgorithm.

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

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.

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

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.

void vtkClipConvexPolyData::SetPlanes ( vtkPlaneCollection planes  ) 

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

virtual vtkPlaneCollection* vtkClipConvexPolyData::GetPlanes (  )  [virtual]

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 ?

bool vtkClipConvexPolyData::HasDegeneracies ( vtkPlane p  )  [protected]

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

void vtkClipConvexPolyData::ClearInternals (  )  [protected]

Delete calculation data.

void vtkClipConvexPolyData::ClearNewVertices (  )  [protected]

?

void vtkClipConvexPolyData::RemoveEmptyPolygons (  )  [protected]

?


Member Data Documentation

Definition at line 80 of file vtkClipConvexPolyData.h.

vtkClipConvexPolyDataInternals* vtkClipConvexPolyData::Internal [protected]

Definition at line 81 of file vtkClipConvexPolyData.h.


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

Generated on Wed Aug 24 11:31:04 2011 for VTK by  doxygen 1.5.6