Graphics/vtkHierarchicalBoxCutter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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&);
00103 void operator=(const vtkHierarchicalBoxCutter&);
00104 };
00105
00106
00107 #endif
00108
00109
00110