33 #ifndef CXVIEWIMPLSERVICE_H_
34 #define CXVIEWIMPLSERVICE_H_
37 #include "org_custusx_core_view_Export.h"
38 class ctkPluginContext;
61 virtual ViewPtr get3DView(
int group = 0,
int index = 0);
63 virtual int getActiveGroupId()
const;
65 virtual void setRegistrationMode(REGISTRATION_STATUS mode);
67 virtual void autoShowData(
DataPtr data);
68 virtual void enableRender(
bool val);
69 virtual bool renderingIsEnabled()
const;
71 virtual QWidget* createLayoutWidget(QWidget* parent,
int index);
72 virtual QWidget* getLayoutWidget(
int index);
73 virtual QString getActiveLayout(
int widgetIndex)
const;
74 virtual void setActiveLayout(
const QString& uid,
int widgetIndex);
81 virtual QActionGroup* getInteractorStyleActionGroup();
82 virtual void centerToImageCenterInActiveViewGroup();
83 virtual void addDefaultLayout(
LayoutData layoutData);
85 virtual bool isNull();
87 virtual void setCameraStyle(CAMERA_STYLE_TYPE style,
int groupIdx);
89 virtual void aboutToStop();
92 void onSessionChanged();
93 void onSessionCleared();
94 void onSessionLoad(QDomElement& node);
95 void onSessionSave(QDomElement& node);
98 ctkPluginContext *mContext;
103 ViewManager* viewManager()
const {
return mBase.get(); }
boost::shared_ptr< class ViewManager > ViewManagerPtr
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class LayoutRepository > LayoutRepositoryPtr
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class Navigation > NavigationPtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class CyclicActionLogger > CyclicActionLoggerPtr
boost::shared_ptr< class InteractiveCropper > InteractiveCropperPtr
boost::shared_ptr< class CameraControl > CameraControlPtr
Creates a pool of views and offers an interface to them, also handles layouts on a centralwidget...
boost::shared_ptr< class Clippers > ClippersPtr
boost::shared_ptr< ViewImplService > ViewImplServicePtr
boost::shared_ptr< class SessionStorageService > SessionStorageServicePtr