23 m_haveDuration(false),
29 m_haveReferenceFrame(false),
30 m_referenceFrame(frame)
39 m_haveDuration(false),
45 m_haveReferenceFrame(false),
46 m_referenceFrame(frame)
61 m_haveReferenceFrame(false),
62 m_referenceFrame(frame)
77 m_haveReferenceFrame(false),
78 m_referenceFrame(frame)
83 m_haveFrame(point.m_haveFrame),
84 m_frame(point.m_frame),
85 m_haveValue(point.m_haveValue),
86 m_value(point.m_value),
87 m_haveDuration(point.m_haveDuration),
88 m_duration(point.m_duration),
89 m_haveLabel(point.m_haveLabel),
90 m_label(point.m_label),
91 m_haveLevel(point.m_haveLevel),
92 m_level(point.m_level),
93 m_haveReferenceFrame(point.m_haveReferenceFrame),
94 m_referenceFrame(point.m_referenceFrame)
101 if (
this == &point)
return *
this;
162 return m_haveDuration;
225 return m_haveReferenceFrame;
231 return m_haveReferenceFrame && (m_referenceFrame != m_frame);
237 return m_referenceFrame;
243 m_haveReferenceFrame =
true;
244 m_referenceFrame = f;
283 for (PointList::const_iterator i =
m_points.begin();
285 if (i->haveReferenceFrame())
return true;
293 for (PointList::const_iterator i =
m_points.begin();
295 if (i->referenceFrameDiffers())
return true;
bool referenceFramesDiffer() const
bool haveReferenceFrames() const
Point withFrame(long frame) const
void addPoint(const Point &point)
void setPoints(const PointList &points)
bool referenceFrameDiffers() const
Point(long frame, QString label)
Point withDuration(int duration) const
const PointList & getPoints() const
Point & operator=(const Point &point)
bool haveDuration() const
bool m_haveReferenceFrame
Point withValue(float value) const
bool haveReferenceFrame() const
void setReferenceFrame(long)
Point withLevel(float level) const
std::vector< Point > PointList
Point withLabel(QString label) const
long getReferenceFrame() const