00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef _SIZE_H_
00012 #define _SIZE_H_
00013
00014 #include "pattern/libhippo.h"
00015
00020 class MDL_HIPPOPLOT_API Size
00021 {
00022 private:
00023 double m_width;
00024 double m_height;
00025 double m_depth;
00026
00027 public:
00028 Size();
00029 Size( double width, double height );
00030 Size( double width, double height, double depth );
00031
00032 void setSize( double width, double height );
00033 void setSize( double width, double height, double depth );
00034
00036 inline double getHeight() const;
00037
00039 inline double getWidth() const;
00040
00042 inline double getDepth() const;
00043
00045 void setDepth ( double );
00046
00047 };
00048
00049 inline
00050 double
00051 Size::
00052 getWidth() const
00053 {
00054 return m_width;
00055 }
00056
00057 inline
00058 double
00059 Size::
00060 getHeight() const
00061 {
00062 return m_height;
00063 }
00064
00065 inline
00066 double
00067 Size::
00068 getDepth() const
00069 {
00070 return m_depth;
00071 }
00072
00073 #endif // _SIZE_H_