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 "vtkSynchronizedTemplates3D.h" 00031 00032 class vtkImplicitFunction; 00033 00034 class VTK_GRAPHICS_EXPORT vtkSynchronizedTemplatesCutter3D : public vtkSynchronizedTemplates3D 00035 { 00036 public: 00037 static vtkSynchronizedTemplatesCutter3D *New(); 00038 00039 vtkTypeMacro(vtkSynchronizedTemplatesCutter3D,vtkSynchronizedTemplates3D); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 void ThreadedExecute(vtkImageData *data, vtkInformation *outInfo, 00045 int *exExt, int); 00047 00049 00050 virtual void SetCutFunction(vtkImplicitFunction*); 00051 vtkGetObjectMacro(CutFunction,vtkImplicitFunction); 00053 00054 protected: 00055 vtkSynchronizedTemplatesCutter3D(); 00056 ~vtkSynchronizedTemplatesCutter3D(); 00057 00058 vtkImplicitFunction *CutFunction; 00059 00060 virtual int RequestData(vtkInformation *, 00061 vtkInformationVector **, 00062 vtkInformationVector *); 00063 00064 private: 00065 vtkSynchronizedTemplatesCutter3D(const vtkSynchronizedTemplatesCutter3D&); // Not implemented. 00066 void operator=(const vtkSynchronizedTemplatesCutter3D&); // Not implemented. 00067 }; 00068 00069 #endif 00070