VTK
|
quantizes x,y,z coordinates of points More...
#include <vtkQuantizePolyDataPoints.h>
Public Types | |
typedef vtkCleanPolyData | Superclass |
![]() | |
typedef vtkPolyDataAlgorithm | 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 () |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkCleanPolyData * | NewInstance () const |
void | CreateDefaultLocator (vtkPolyData *input=0) |
void | ReleaseLocator () |
unsigned long int | GetMTime () |
virtual void | SetPieceInvariant (int) |
virtual int | GetPieceInvariant () |
virtual void | PieceInvariantOn () |
virtual void | PieceInvariantOff () |
virtual void | SetToleranceIsAbsolute (int) |
virtual void | ToleranceIsAbsoluteOn () |
virtual void | ToleranceIsAbsoluteOff () |
virtual int | GetToleranceIsAbsolute () |
virtual void | SetTolerance (double) |
virtual double | GetTolerance () |
virtual void | SetAbsoluteTolerance (double) |
virtual double | GetAbsoluteTolerance () |
virtual void | SetConvertLinesToPoints (int) |
virtual void | ConvertLinesToPointsOn () |
virtual void | ConvertLinesToPointsOff () |
virtual int | GetConvertLinesToPoints () |
virtual void | SetConvertPolysToLines (int) |
virtual void | ConvertPolysToLinesOn () |
virtual void | ConvertPolysToLinesOff () |
virtual int | GetConvertPolysToLines () |
virtual void | SetConvertStripsToPolys (int) |
virtual void | ConvertStripsToPolysOn () |
virtual void | ConvertStripsToPolysOff () |
virtual int | GetConvertStripsToPolys () |
virtual void | SetPointMerging (int) |
virtual int | GetPointMerging () |
virtual void | PointMergingOn () |
virtual void | PointMergingOff () |
virtual void | SetLocator (vtkIncrementalPointLocator *locator) |
virtual vtkIncrementalPointLocator * | GetLocator () |
Static Public Member Functions | |
static vtkQuantizePolyDataPoints * | New () |
static int | IsTypeOf (const char *type) |
static vtkQuantizePolyDataPoints * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkCleanPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkCleanPolyData * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkQuantizePolyDataPoints () | |
~vtkQuantizePolyDataPoints () | |
![]() | |
vtkCleanPolyData () | |
~vtkCleanPolyData () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | QFactor |
![]() | |
int | PointMerging |
double | Tolerance |
double | AbsoluteTolerance |
int | ConvertLinesToPoints |
int | ConvertPolysToLines |
int | ConvertStripsToPolys |
int | ToleranceIsAbsolute |
vtkIncrementalPointLocator * | Locator |
int | PieceInvariant |
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.
Definition at line 51 of file vtkQuantizePolyDataPoints.h.
|
protected |
|
inlineprotected |
Definition at line 68 of file vtkQuantizePolyDataPoints.h.
|
static |
|
static |
|
virtual |
Reimplemented from vtkCleanPolyData.
|
static |
|
protectedvirtual |
Reimplemented from vtkCleanPolyData.
vtkQuantizePolyDataPoints* vtkQuantizePolyDataPoints::NewInstance | ( | ) | const |
void vtkQuantizePolyDataPoints::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Specify quantization grain size. Default is 0.25
|
virtual |
Specify quantization grain size. Default is 0.25
|
virtual |
Perform quantization on a point
Reimplemented from vtkCleanPolyData.
|
virtual |
Perform quantization on bounds
Reimplemented from vtkCleanPolyData.
|
protected |
Definition at line 68 of file vtkQuantizePolyDataPoints.h.