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

vtkQuantizePolyDataPoints.h

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