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

vtkHierarchicalBoxCutter.h

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