VTK
|
clip any dataset with user-specified implicit function or input scalar data More...
#include <vtkClipConvexPolyData.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkClipConvexPolyData * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () 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 | |
vtkPlaneCollection * | Planes |
vtkClipConvexPolyDataInternals * | Internal |
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).
Definition at line 36 of file vtkClipConvexPolyData.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 40 of file vtkClipConvexPolyData.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
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.
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 81 of file vtkClipConvexPolyData.h.
vtkClipConvexPolyDataInternals* vtkClipConvexPolyData::Internal [protected] |
Definition at line 82 of file vtkClipConvexPolyData.h.