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 getActiveGroup()
const;
66 virtual void autoShowData(
DataPtr data);
67 virtual void enableRender(
bool val);
68 virtual bool renderingIsEnabled()
const;
70 virtual QWidget* getLayoutWidget(QWidget *parent,
int index);
71 virtual QString getActiveLayout(
int widgetIndex)
const;
72 virtual void setActiveLayout(
const QString& uid,
int widgetIndex);
79 virtual QActionGroup* createInteractorStyleActionGroup();
80 virtual void setPreview(
ImagePtr image,
const std::vector<double>& threshold);
81 virtual void removePreview();
83 virtual bool isNull();
86 virtual void aboutToStop();
89 void onSessionChanged();
90 void onSessionCleared();
91 void onSessionLoad(QDomElement& node);
92 void onSessionSave(QDomElement& node);
95 ctkPluginContext *mContext;
99 ViewManager* viewManager()
const {
return mBase.get(); }
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class LayoutRepository > LayoutRepositoryPtr
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< VisualizationImplService > VisualizationImplServicePtr
boost::shared_ptr< class ViewManager > VisualizationServiceOldPtr
boost::shared_ptr< class InteractiveClipper > InteractiveClipperPtr
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 SessionStorageService > SessionStorageServicePtr