#include <vtkClipConvexPolyData.h>
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).
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 vtkPlaneCollection * | GetPlanes () |
Static Public Member Functions | |
static vtkClipConvexPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkClipConvexPolyData * | SafeDownCast (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 | |
vtkPlaneCollection * | Planes |
vtkClipConvexPolyDataInternals * | Internal |
vtkClipConvexPolyData::vtkClipConvexPolyData | ( | ) | [protected] |
vtkClipConvexPolyData::~vtkClipConvexPolyData | ( | ) | [protected] |
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] |
?
vtkPlaneCollection* vtkClipConvexPolyData::Planes [protected] |
Definition at line 80 of file vtkClipConvexPolyData.h.
vtkClipConvexPolyDataInternals* vtkClipConvexPolyData::Internal [protected] |
Definition at line 81 of file vtkClipConvexPolyData.h.