12 #ifndef CXVIEWGROUP_H_ 13 #define CXVIEWGROUP_H_ 15 #include "org_custusx_core_view_Export.h" 19 #include <QDomDocument> 47 class org_custusx_core_view_EXPORT
ViewGroup:
public QObject
51 explicit ViewGroup(CoreServicesPtr backend, QString uid);
57 std::vector<ViewWrapperPtr>
getWrappers()
const {
return mViewWrappers; }
58 std::vector<ViewPtr> getViews()
const;
59 ViewGroupDataPtr
getData() {
return mViewGroupData; }
60 virtual void addXml(QDomNode& dataNode);
61 virtual void parseXml(QDomNode dataNode);
62 void clearPatientData();
65 bool contains3DView()
const;
66 void initializeActiveView(SyncedValuePtr val);
70 void mouseClickInViewGroupSlot();
83 bool shouldUpdateActiveData(T activeData, std::vector<T> datas)
const;
84 void optionChangedSlot();
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
ViewGroupDataPtr mViewGroupData
CameraStylePtr mCameraStyle
boost::shared_ptr< class CameraStyle > CameraStylePtr
std::vector< ViewPtr > mViews
boost::shared_ptr< class ViewWrapper > ViewWrapperPtr
bool isViewWrapper2D(ViewWrapperPtr wrapper)
ViewGroupDataPtr getData()
boost::shared_ptr< class SharedOpenGLContext > SharedOpenGLContextPtr
std::vector< ViewWrapperPtr > mViewWrappers
CameraStylePtr getCameraStyle()
SyncedValuePtr mActiveView
boost::shared_ptr< class CoreServices > CoreServicesPtr
boost::shared_ptr< class SyncedValue > SyncedValuePtr
std::vector< ViewWrapperPtr > getWrappers() const
Namespace for all CustusX production code.