VTK
|
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 00045 void ThreadedExecute(vtkImageData *data, vtkInformation *outInfo, 00046 int *exExt, int); 00048 00050 00051 virtual void SetCutFunction(vtkImplicitFunction*); 00052 vtkGetObjectMacro(CutFunction,vtkImplicitFunction); 00054 00056 00059 vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION); 00060 vtkGetMacro(OutputPointsPrecision, int); 00062 00063 protected: 00064 vtkSynchronizedTemplatesCutter3D(); 00065 ~vtkSynchronizedTemplatesCutter3D(); 00066 00067 vtkImplicitFunction *CutFunction; 00068 int OutputPointsPrecision; 00069 00070 virtual int RequestData(vtkInformation *, 00071 vtkInformationVector **, 00072 vtkInformationVector *); 00073 00074 private: 00075 vtkSynchronizedTemplatesCutter3D(const vtkSynchronizedTemplatesCutter3D&); // Not implemented. 00076 void operator=(const vtkSynchronizedTemplatesCutter3D&); // Not implemented. 00077 }; 00078 00079 #endif 00080