Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkQuantizePolyDataPoints Class Reference

quantizes x,y,z coordinates of points. More...

#include <vtkQuantizePolyDataPoints.h>

Inheritance diagram for vtkQuantizePolyDataPoints:

Inheritance graph
Collaboration diagram for vtkQuantizePolyDataPoints:

Collaboration graph
List of all members.

Public Methods

const char * GetClassName ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetQFactor (float)
virtual float GetQFactor ()
virtual void OperateOnPoint (float in[3], float out[3])
virtual void OperateOnBounds (float in[6], float out[6])

Static Public Methods

vtkQuantizePolyDataPoints * New ()

Protected Methods

 vtkQuantizePolyDataPoints ()
 ~vtkQuantizePolyDataPoints ()
 vtkQuantizePolyDataPoints (const vtkQuantizePolyDataPoints &)
void operator= (const vtkQuantizePolyDataPoints &)

Protected Attributes

float QFactor

Detailed Description

quantizes x,y,z coordinates of points.

2000/12/10 20:08:49
Thanks to John Biddiscombe of the Rutherford Appleton Laboratory who developed and contributed this class.
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.

Merging points can alter topology, including introducing non-manifold forms. Handling of degenerate cells is controlled by switches in vtkCleanPolyData.
See also:
vtkQuantizePolyDataPoints (examples)

Definition at line 74 of file vtkQuantizePolyDataPoints.h.

Constructor & Destructor Documentation

vtkQuantizePolyDataPoints::vtkQuantizePolyDataPoints   [protected]

vtkQuantizePolyDataPoints::~vtkQuantizePolyDataPoints   [inline, protected]

Definition at line 89 of file vtkQuantizePolyDataPoints.h.

vtkQuantizePolyDataPoints::vtkQuantizePolyDataPoints const vtkQuantizePolyDataPoints &    [inline, protected]

Definition at line 90 of file vtkQuantizePolyDataPoints.h.

Member Function Documentation

vtkQuantizePolyDataPoints* vtkQuantizePolyDataPoints::New   [static]

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkCleanPolyData.

const char* vtkQuantizePolyDataPoints::GetClassName   [inline, virtual]

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkCleanPolyData.

Definition at line 78 of file vtkQuantizePolyDataPoints.h.

void vtkQuantizePolyDataPoints::PrintSelf ostream &    os,
vtkIndent    indent

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 float    [virtual]

Specify quantization grain size

virtual float vtkQuantizePolyDataPoints::GetQFactor   [virtual]

virtual void vtkQuantizePolyDataPoints::OperateOnPoint float    in[3],
float    out[3]

Perform quantization on a point

Reimplemented from vtkCleanPolyData.

virtual void vtkQuantizePolyDataPoints::OperateOnBounds float    in[6],
float    out[6]

Perform quantization on bounds

Reimplemented from vtkCleanPolyData.

void vtkQuantizePolyDataPoints::operator= const vtkQuantizePolyDataPoints &    [inline, protected]

Definition at line 91 of file vtkQuantizePolyDataPoints.h.

Member Data Documentation

float vtkQuantizePolyDataPoints::QFactor [protected]

Definition at line 93 of file vtkQuantizePolyDataPoints.h.

The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:58:19 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001