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

dox/Graphics/vtkHierarchicalBoxCutter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkHierarchicalBoxCutter.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 =========================================================================*/ 00029 #ifndef __vtkHierarchicalBoxCutter_h 00030 #define __vtkHierarchicalBoxCutter_h 00031 00032 #include "vtkHierarchicalBoxToPolyDataFilter.h" 00033 00034 class vtkCutter; 00035 class vtkDataObject; 00036 class vtkHierarchicalBoxDataSet; 00037 class vtkImplicitFunction; 00038 00039 class VTK_GRAPHICS_EXPORT vtkHierarchicalBoxCutter : public vtkHierarchicalBoxToPolyDataFilter 00040 { 00041 public: 00042 static vtkHierarchicalBoxCutter *New(); 00043 00044 vtkTypeRevisionMacro(vtkHierarchicalBoxCutter, 00045 vtkHierarchicalBoxToPolyDataFilter); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00050 void SetValue(int i, double value); 00051 00053 double GetValue(int i); 00054 00057 double *GetValues(); 00058 00062 void GetValues(double *contourValues); 00063 00067 void SetNumberOfContours(int number); 00068 00070 int GetNumberOfContours(); 00071 00074 void GenerateValues(int numContours, double range[2]); 00075 00078 void GenerateValues(int numContours, double rangeStart, double rangeEnd); 00079 00081 00082 void SetCutFunction(vtkImplicitFunction*); 00083 vtkImplicitFunction* GetCutFunction(); 00085 00088 unsigned long GetMTime(); 00089 00090 protected: 00091 vtkHierarchicalBoxCutter(); 00092 ~vtkHierarchicalBoxCutter(); 00093 00094 virtual void ExecuteData(vtkDataObject*); 00095 00096 vtkCutter* Cutter; 00097 00098 private: 00099 void InternalImageDataCopy(vtkHierarchicalBoxCutter *src); 00100 00101 private: 00102 vtkHierarchicalBoxCutter(const vtkHierarchicalBoxCutter&); // Not implemented. 00103 void operator=(const vtkHierarchicalBoxCutter&); // Not implemented. 00104 }; 00105 00106 00107 #endif 00108 00109 00110