Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMCURVE_H
00016 #define GDCMCURVE_H
00017
00018 #include "gdcmTypes.h"
00019 #include "gdcmObject.h"
00020
00021 namespace gdcm
00022 {
00023
00024 class CurveInternal;
00025 class ByteValue;
00026 class DataSet;
00027 class DataElement;
00038 class GDCM_EXPORT Curve : public Object
00039 {
00040 public:
00041 Curve();
00042 ~Curve();
00043 void Print(std::ostream &) const;
00044
00045 void GetAsPoints(float *array) const;
00046
00047
00048 static unsigned int GetNumberOfCurves(DataSet const & ds);
00049
00050
00051 void Update(const DataElement & de);
00052
00053 void SetGroup(unsigned short group);
00054 unsigned short GetGroup() const;
00055 void SetDimensions(unsigned short dimensions);
00056 unsigned short GetDimensions() const;
00057 void SetNumberOfPoints(unsigned short numberofpoints);
00058 unsigned short GetNumberOfPoints() const;
00059 void SetTypeOfData(const char *typeofdata);
00060 const char *GetTypeOfData() const;
00061
00062 const char *GetTypeOfDataDescription() const;
00063 void SetCurveDescription(const char *curvedescription);
00064 void SetDataValueRepresentation(unsigned short datavaluerepresentation);
00065 unsigned short GetDataValueRepresentation() const;
00066 void SetCurve(const char *array, unsigned int length);
00067
00068 bool IsEmpty() const;
00069
00070 void Decode(std::istream &is, std::ostream &os);
00071
00072 Curve(Curve const &ov);
00073 private:
00074 CurveInternal *Internal;
00075 };
00076
00077 }
00078
00079 #endif //GDCMCURVE_H