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

Graphics/vtkHierarchicalBoxContour.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkHierarchicalBoxContour.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 =========================================================================*/
00035 #ifndef __vtkHierarchicalBoxContour_h
00036 #define __vtkHierarchicalBoxContour_h
00037 
00038 #include "vtkHierarchicalBoxToPolyDataFilter.h"
00039 
00040 class vtkContourFilter;
00041 class vtkDataObject;
00042 
00043 class VTK_GRAPHICS_EXPORT vtkHierarchicalBoxContour : public vtkHierarchicalBoxToPolyDataFilter
00044 {
00045 public:
00046   static vtkHierarchicalBoxContour *New();
00047 
00048   vtkTypeRevisionMacro(vtkHierarchicalBoxContour,
00049                        vtkHierarchicalBoxToPolyDataFilter);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051 
00053 
00054   void SetValue(int i, double value);
00055   double GetValue(int i);
00056   double *GetValues();
00057   void GetValues(double *contourValues);
00058   void SetNumberOfContours(int number);
00059   int GetNumberOfContours();
00060   const char* GetInputScalarsSelection();
00061   void SelectInputScalars(const char *fieldName);
00062   unsigned long GetMTime();
00064 
00065 protected:
00066   vtkHierarchicalBoxContour();
00067   ~vtkHierarchicalBoxContour();
00068 
00069   virtual void ExecuteData(vtkDataObject*);
00070 
00071   vtkContourFilter* Contour;
00072 
00073 private:
00074   vtkHierarchicalBoxContour(const vtkHierarchicalBoxContour&);  // Not implemented.
00075   void operator=(const vtkHierarchicalBoxContour&);  // Not implemented.
00076 };
00077 
00078 
00079 #endif
00080 
00081 
00082