11 #ifndef CXVIEWGROUPDATA_H
12 #define CXVIEWGROUPDATA_H
14 #include "cxResourceVisualizationExport.h"
45 void setCameraStyle(CAMERA_STYLE_TYPE style);
46 CAMERA_STYLE_TYPE getStyle();
48 void addXml(QDomNode& dataNode);
49 void parseXml(QDomNode dataNode);
89 void addXml(QDomNode& dataNode);
90 void parseXml(QDomNode dataNode);
114 void requestInitialize();
117 QString getVideoSource()
const;
118 void addData(QString uid);
119 void addDataSorted(QString uid);
120 void setVideoSource(QString uid);
121 bool removeData(QString uid);
126 std::vector<ImagePtr> getImagesAndChangingImagesFromTrackedStreams(
DataViewProperties properties,
bool include2D =
false)
const;
135 void zoomCamera3D(
int zoomFactor);
142 void setControllingTool(
ToolPtr tool);
155 void setOptions(
Options options);
156 void setRegistrationMode(REGISTRATION_STATUS mode);
158 void addXml(QDomNode& dataNode);
159 void parseXml(QDomNode dataNode);
162 void purgeDataNotExistingInPatientModelService();
165 void dataViewPropertiesChanged(QString uid);
166 void videoSourceChanged(QString uid);
168 void optionsChanged();
169 void controllingToolChanged();
172 typedef std::pair<QString, DataViewProperties> DataAndViewPropertiesPair;
176 data_equals(QString uid) : mData(uid) {}
177 bool operator()(
const DataAndViewPropertiesPair& right)
179 return mData == right.first;
184 template<
class DATA_TYPE>
185 std::vector<boost::shared_ptr<DATA_TYPE> > getDataOfType(DataViewProperties requiredProperties)
const;
186 bool contains(QString uid)
const;
187 void createSliceDefinitionProperty();
188 void insertData(std::vector<DataAndViewPropertiesPair>::iterator iter, DataAndViewPropertiesPair &item);
192 QString mVideoSource;
193 std::vector<DataAndViewPropertiesPair> mData;
199 DataPtr getData(QString uid)
const;
211 #endif // CXVIEWGROUPDATA_H