32 #ifndef CXVIEWGROUPDATA_H
33 #define CXVIEWGROUPDATA_H
35 #include "cxResourceVisualizationExport.h"
87 void addXml(QDomNode& dataNode);
88 void parseXml(QDomNode dataNode);
111 void requestInitialize();
114 QString getVideoSource()
const;
115 void addData(QString uid);
116 void addDataSorted(QString uid);
117 void setVideoSource(QString uid);
118 bool removeData(QString uid);
123 std::vector<TrackedStreamPtr> getTracked2DStreams(
DataViewProperties properties)
const;
124 std::vector<ImagePtr> getImagesAndChangingImagesFromTrackedStreams(
DataViewProperties properties,
bool include2D =
false)
const;
148 void setOptions(
Options options);
149 void setRegistrationMode(REGISTRATION_STATUS mode);
152 void addXml(QDomNode& dataNode);
153 void parseXml(QDomNode dataNode);
156 void purgeDataNotExistingInPatientModelService();
159 void dataViewPropertiesChanged(QString uid);
160 void videoSourceChanged(QString uid);
162 void optionsChanged();
166 QString mVideoSource;
167 typedef std::pair<QString, DataViewProperties> DataAndViewProperties;
168 std::vector<DataAndViewProperties> mData;
174 DataPtr getData(QString uid)
const;
178 data_equals(QString uid) : mData(uid) {}
179 bool operator()(
const DataAndViewProperties& right)
181 return mData == right.first;
186 template<
class DATA_TYPE>
187 std::vector<boost::shared_ptr<DATA_TYPE> > getDataOfType(DataViewProperties requiredProperties)
const;
188 bool contains(QString uid)
const;
189 void createSliceDefinitionProperty();
198 #endif // CXVIEWGROUPDATA_H
int getPriority(DataPtr data)
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
CameraDataPtr getCamera3D()
boost::shared_ptr< class CameraData > CameraDataPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Container for data shared between all members of a view group.
boost::shared_ptr< class Data > DataPtr
static DataViewProperties createFull()
bool dataTypeSort(const DataPtr data1, const DataPtr data2)
boost::shared_ptr< class StringListProperty > StringListPropertyPtr
boost::shared_ptr< class CoreServices > CoreServicesPtr
boost::shared_ptr< class SyncedValue > SyncedValuePtr
boost::shared_ptr< class Mesh > MeshPtr
bool mShowPointPickerProbe