Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00051 #ifndef __vtkQuantizePolyDataPoints_h
    00052 #define __vtkQuantizePolyDataPoints_h
    00053
    00054 #include "vtkCleanPolyData.h"
    00055
    00056 class VTK_GRAPHICS_EXPORT vtkQuantizePolyDataPoints : public vtkCleanPolyData
    00057 {
    00058 public:
    00059   static vtkQuantizePolyDataPoints *New();
    00060   vtkTypeRevisionMacro(vtkQuantizePolyDataPoints,vtkCleanPolyData);
    00061   void PrintSelf(ostream& os, vtkIndent indent);
    00062
    00064
    00065   vtkSetClampMacro(QFactor,float,1E-5,VTK_LARGE_FLOAT);
    00066   vtkGetMacro(QFactor,float);
    00068
    00070   virtual void OperateOnPoint(float in[3], float out[3]);
    00071
    00073   virtual void OperateOnBounds(float in[6], float out[6]);
    00074
    00075 protected:
    00076   vtkQuantizePolyDataPoints();
    00077   ~vtkQuantizePolyDataPoints() {};
    00078
    00079   float QFactor;
    00080 private:
    00081   vtkQuantizePolyDataPoints(const vtkQuantizePolyDataPoints&);  // Not implemented.
    00082   void operator=(const vtkQuantizePolyDataPoints&);  // Not implemented.
    00083 };
    00084
    00085 #endif
    00086
    00087