VTK
|
quantizes x,y,z coordinates of points More...
#include <vtkQuantizePolyDataPoints.h>
Public Types | |
typedef vtkCleanPolyData | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkQuantizePolyDataPoints * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | OperateOnPoint (double in[3], double out[3]) |
virtual void | OperateOnBounds (double in[6], double out[6]) |
virtual void | SetQFactor (double) |
virtual double | GetQFactor () |
Static Public Member Functions | |
static vtkQuantizePolyDataPoints * | New () |
static int | IsTypeOf (const char *type) |
static vtkQuantizePolyDataPoints * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkQuantizePolyDataPoints () | |
~vtkQuantizePolyDataPoints () | |
Protected Attributes | |
double | QFactor |
quantizes x,y,z coordinates of points
vtkQuantizePolyDataPoints is a subclass of vtkCleanPolyData and inherits the functionality of vtkCleanPolyData with the addition that it quantizes the point coordinates before inserting into the point list. The user should set QFactor to a positive value (0.25 by default) and all {x,y,z} coordinates will be quantized to that grain size.
A tolerance of zero is expected, though positive values may be used, the quantization will take place before the tolerance is applied.
Definition at line 47 of file vtkQuantizePolyDataPoints.h.
Reimplemented from vtkCleanPolyData.
Definition at line 51 of file vtkQuantizePolyDataPoints.h.
vtkQuantizePolyDataPoints::vtkQuantizePolyDataPoints | ( | ) | [protected] |
vtkQuantizePolyDataPoints::~vtkQuantizePolyDataPoints | ( | ) | [inline, protected] |
Definition at line 68 of file vtkQuantizePolyDataPoints.h.
static vtkQuantizePolyDataPoints* vtkQuantizePolyDataPoints::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkCleanPolyData.
static int vtkQuantizePolyDataPoints::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 vtkCleanPolyData.
virtual int vtkQuantizePolyDataPoints::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 vtkCleanPolyData.
static vtkQuantizePolyDataPoints* vtkQuantizePolyDataPoints::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCleanPolyData.
virtual vtkObjectBase* vtkQuantizePolyDataPoints::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCleanPolyData.
Reimplemented from vtkCleanPolyData.
void vtkQuantizePolyDataPoints::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 vtkCleanPolyData.
virtual void vtkQuantizePolyDataPoints::SetQFactor | ( | double | ) | [virtual] |
Specify quantization grain size. Default is 0.25
virtual double vtkQuantizePolyDataPoints::GetQFactor | ( | ) | [virtual] |
Specify quantization grain size. Default is 0.25
virtual void vtkQuantizePolyDataPoints::OperateOnPoint | ( | double | in[3], |
double | out[3] | ||
) | [virtual] |
Perform quantization on a point
Reimplemented from vtkCleanPolyData.
virtual void vtkQuantizePolyDataPoints::OperateOnBounds | ( | double | in[6], |
double | out[6] | ||
) | [virtual] |
Perform quantization on bounds
Reimplemented from vtkCleanPolyData.
double vtkQuantizePolyDataPoints::QFactor [protected] |
Definition at line 68 of file vtkQuantizePolyDataPoints.h.