Common/vtkContourValues.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026 #ifndef __vtkContourValues_h
00027 #define __vtkContourValues_h
00028
00029 #include "vtkObject.h"
00030
00031 class vtkDoubleArray;
00032
00033 class VTK_COMMON_EXPORT vtkContourValues : public vtkObject
00034 {
00035 public:
00037 static vtkContourValues *New();
00038
00039 vtkTypeRevisionMacro(vtkContourValues,vtkObject);
00040 void PrintSelf(ostream& os, vtkIndent indent);
00041
00043 void SetValue(int i, double value);
00044
00047 double GetValue(int i);
00048
00051 double *GetValues();
00052
00055 void GetValues(double *contourValues);
00056
00060 void SetNumberOfContours(const int number);
00061
00063 int GetNumberOfContours();
00064
00067 void GenerateValues(int numContours, double range[2]);
00068
00071 void GenerateValues(int numContours, double rangeStart, double rangeEnd);
00072
00073
00074 protected:
00075 vtkContourValues();
00076 ~vtkContourValues();
00077
00078 vtkDoubleArray *Contours;
00079
00080 private:
00081 vtkContourValues(const vtkContourValues&);
00082 void operator=(const vtkContourValues&);
00083 };
00084
00085 #endif