Common/vtkContourValues.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00044 #ifndef __vtkContourValues_h
00045 #define __vtkContourValues_h
00046
00047 #include "vtkObject.h"
00048
00049 class vtkFloatArray;
00050
00051 class VTK_COMMON_EXPORT vtkContourValues : public vtkObject
00052 {
00053 public:
00055 static vtkContourValues *New();
00056
00057 vtkTypeRevisionMacro(vtkContourValues,vtkObject);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061 void SetValue(int i, float value);
00062
00065 float GetValue(int i);
00066
00069 float *GetValues();
00070
00073 void GetValues(float *contourValues);
00074
00078 void SetNumberOfContours(const int number);
00079
00081 int GetNumberOfContours();
00082
00085 void GenerateValues(int numContours, float range[2]);
00086
00089 void GenerateValues(int numContours, float rangeStart, float rangeEnd);
00090
00091
00092 protected:
00093 vtkContourValues();
00094 ~vtkContourValues();
00095
00096 vtkFloatArray *Contours;
00097
00098 private:
00099 vtkContourValues(const vtkContourValues&);
00100 void operator=(const vtkContourValues&);
00101 };
00102
00103 #endif