12 #ifndef CXREGIONOFINTERESTMETRIC_H
13 #define CXREGIONOFINTERESTMETRIC_H
15 #include "cxResourceExport.h"
42 bool isValid()
const {
return !mPoints.empty(); }
54 DoubleBoundingBox3D generateROIFromPointsAndMargin(
const std::vector<Vector3D> &points,
double margin)
const;
71 virtual Vector3D getRefCoord()
const;
72 virtual QString getAsSingleLineString()
const;
74 virtual bool isValid()
const;
76 virtual void addXml(QDomNode& dataNode);
77 virtual void parseXml(QDomNode& dataNode);
88 virtual QString getValueAsString()
const;
92 void setDataList(QStringList val);
95 void setUseActiveTooltip(
bool val);
98 void setMargin(
double val);
101 void setMaxBoundsData(QString val);
108 QString mMaxBoundsData;
109 QStringList mContainedData;
110 bool mUseActiveTooltip;
113 std::vector<SpaceListenerPtr> mListeners;
115 void onContentTransformsChanged();
116 void onContentChanged();
125 #endif // CXREGIONOFINTERESTMETRIC_H