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