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

vtkContourValues.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkContourValues.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 =========================================================================*/
00029 #ifndef __vtkContourValues_h
00030 #define __vtkContourValues_h
00031 
00032 #include "vtkObject.h"
00033 
00034 class vtkDoubleArray;
00035 
00036 class VTK_COMMON_EXPORT vtkContourValues : public vtkObject
00037 {
00038 public:
00040   static vtkContourValues *New();
00041 
00042   vtkTypeRevisionMacro(vtkContourValues,vtkObject);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046   void SetValue(int i, double value);
00047 
00050   double GetValue(int i);
00051 
00054   double *GetValues();
00055 
00058   void GetValues(double *contourValues);
00059 
00063   void SetNumberOfContours(const int number);
00064 
00066   int GetNumberOfContours();
00067 
00070   void GenerateValues(int numContours, double range[2]);
00071 
00074   void GenerateValues(int numContours, double rangeStart, double rangeEnd);
00075 
00076 
00077 protected:
00078   vtkContourValues();
00079   ~vtkContourValues();
00080 
00081   vtkDoubleArray *Contours;
00082 
00083 private:
00084   vtkContourValues(const vtkContourValues&);  // Not implemented.
00085   void operator=(const vtkContourValues&);  // Not implemented.
00086 };
00087 
00088 #endif

Generated on Mon Jan 21 23:07:16 2008 for VTK by  doxygen 1.4.3-20050530