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

Graphics/vtkQuantizePolyDataPoints.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkQuantizePolyDataPoints.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00052 #ifndef __vtkQuantizePolyDataPoints_h
00053 #define __vtkQuantizePolyDataPoints_h
00054 
00055 #include "vtkCleanPolyData.h"
00056 
00057 class VTK_GRAPHICS_EXPORT vtkQuantizePolyDataPoints : public vtkCleanPolyData
00058 {
00059 public:
00060   static vtkQuantizePolyDataPoints *New();
00061   vtkTypeRevisionMacro(vtkQuantizePolyDataPoints,vtkCleanPolyData);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063 
00065 
00066   vtkSetClampMacro(QFactor,float,1E-5,VTK_LARGE_FLOAT);
00067   vtkGetMacro(QFactor,float);
00069 
00071   virtual void OperateOnPoint(float in[3], float out[3]);
00072 
00074   virtual void OperateOnBounds(float in[6], float out[6]);
00075 
00076 protected:
00077   vtkQuantizePolyDataPoints();
00078   ~vtkQuantizePolyDataPoints() {};
00079 
00080   float QFactor;
00081 private:
00082   vtkQuantizePolyDataPoints(const vtkQuantizePolyDataPoints&);  // Not implemented.
00083   void operator=(const vtkQuantizePolyDataPoints&);  // Not implemented.
00084 };
00085 
00086 #endif
00087 
00088