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 =========================================================================*/
00040 #ifndef __vtkQuantizePolyDataPoints_h
00041 #define __vtkQuantizePolyDataPoints_h
00042 
00043 #include "vtkCleanPolyData.h"
00044 
00045 class VTK_GRAPHICS_EXPORT vtkQuantizePolyDataPoints : public vtkCleanPolyData
00046 {
00047 public:
00048   static vtkQuantizePolyDataPoints *New();
00049   vtkTypeRevisionMacro(vtkQuantizePolyDataPoints,vtkCleanPolyData);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053 
00054   vtkSetClampMacro(QFactor,float,1E-5,VTK_LARGE_FLOAT);
00055   vtkGetMacro(QFactor,float);
00057 
00059   virtual void OperateOnPoint(float in[3], float out[3]);
00060 
00062   virtual void OperateOnBounds(float in[6], float out[6]);
00063 
00064 protected:
00065   vtkQuantizePolyDataPoints();
00066   ~vtkQuantizePolyDataPoints() {};
00067 
00068   float QFactor;
00069 private:
00070   vtkQuantizePolyDataPoints(const vtkQuantizePolyDataPoints&);  // Not implemented.
00071   void operator=(const vtkQuantizePolyDataPoints&);  // Not implemented.
00072 };
00073 
00074 #endif
00075 
00076