32 #ifndef CXVIEWGROUPDATA_H
33 #define CXVIEWGROUPDATA_H
35 #include "cxResourceVisualizationExport.h"
84 void addXml(QDomNode& dataNode);
85 void parseXml(QDomNode dataNode);
108 void requestInitialize();
111 QString getVideoSource()
const;
112 void addData(QString uid);
113 void addDataSorted(QString uid);
114 void setVideoSource(QString uid);
115 bool removeData(QString uid);
142 void setOptions(
Options options);
143 void setRegistrationMode(REGISTRATION_STATUS mode);
146 void addXml(QDomNode& dataNode);
147 void parseXml(QDomNode dataNode);
150 void dataAddedOrRemovedInManager();
153 void dataViewPropertiesChanged(QString uid);
154 void videoSourceChanged(QString uid);
156 void optionsChanged();
160 QString mVideoSource;
161 typedef std::pair<QString, DataViewProperties> DataAndViewProperties;
162 std::vector<DataAndViewProperties> mData;
168 DataPtr getData(QString uid)
const;
172 data_equals(QString uid) : mData(uid) {}
173 bool operator()(
const DataAndViewProperties& right)
175 return mData == right.first;
180 template<
class DATA_TYPE>
181 std::vector<boost::shared_ptr<DATA_TYPE> > getDataOfType(DataViewProperties requiredProperties)
const;
182 bool contains(QString uid)
const;
191 #endif // CXVIEWGROUPDATA_H
int getPriority(DataPtr data)
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
CameraDataPtr getCamera3D()
boost::shared_ptr< class CameraData > CameraDataPtr
PlaneTypeCollection getSliceDefinitions()
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 CoreServices > CoreServicesPtr
boost::shared_ptr< class SyncedValue > SyncedValuePtr
boost::shared_ptr< class Mesh > MeshPtr
void setSliceDefinitions(PlaneTypeCollection val)
bool mShowPointPickerProbe