VTK
dox/Filters/Core/vtkSynchronizedTemplatesCutter3D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkSynchronizedTemplatesCutter3D.h
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 =========================================================================*/
00027 #ifndef __vtkSynchronizedTemplatesCutter3D_h
00028 #define __vtkSynchronizedTemplatesCutter3D_h
00029 
00030 #include "vtkFiltersCoreModule.h" // For export macro
00031 #include "vtkSynchronizedTemplates3D.h"
00032 
00033 class vtkImplicitFunction;
00034 
00035 class VTKFILTERSCORE_EXPORT vtkSynchronizedTemplatesCutter3D : public vtkSynchronizedTemplates3D
00036 {
00037 public:
00038   static vtkSynchronizedTemplatesCutter3D *New();
00039 
00040   vtkTypeMacro(vtkSynchronizedTemplatesCutter3D,vtkSynchronizedTemplates3D);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044   void ThreadedExecute(vtkImageData *data, vtkInformation *outInfo, int);
00045 
00047 
00048   virtual void SetCutFunction(vtkImplicitFunction*);
00049   vtkGetObjectMacro(CutFunction,vtkImplicitFunction);
00051 
00053 
00056   vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
00057   vtkGetMacro(OutputPointsPrecision, int);
00059 
00060 protected:
00061   vtkSynchronizedTemplatesCutter3D();
00062   ~vtkSynchronizedTemplatesCutter3D();
00063 
00064   vtkImplicitFunction *CutFunction;
00065   int OutputPointsPrecision;
00066 
00067   virtual int RequestData(vtkInformation *,
00068                           vtkInformationVector **,
00069                           vtkInformationVector *);
00070 
00071 private:
00072   vtkSynchronizedTemplatesCutter3D(const vtkSynchronizedTemplatesCutter3D&);  // Not implemented.
00073   void operator=(const vtkSynchronizedTemplatesCutter3D&);  // Not implemented.
00074 };
00075 
00076 #endif
00077