VTK
vtkQuantizePolyDataPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkQuantizePolyDataPoints.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
36 #ifndef __vtkQuantizePolyDataPoints_h
37 #define __vtkQuantizePolyDataPoints_h
38 
39 #include "vtkCleanPolyData.h"
40 
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  vtkSetClampMacro(QFactor,double,1E-5,VTK_LARGE_FLOAT);
51  vtkGetMacro(QFactor,double);
53 
55  virtual void OperateOnPoint(double in[3], double out[3]);
56 
58  virtual void OperateOnBounds(double in[6], double out[6]);
59 
60 protected:
63 
64  double QFactor;
65 private:
66  vtkQuantizePolyDataPoints(const vtkQuantizePolyDataPoints&); // Not implemented.
67  void operator=(const vtkQuantizePolyDataPoints&); // Not implemented.
68 };
69 
70 #endif
71 
72