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

vtkHierarchicalBoxContour.h

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