12 #ifndef CXVIEWSERVICEPROXY_H_
13 #define CXVIEWSERVICEPROXY_H_
15 #include "cxResourceVisualizationExport.h"
19 class ctkPluginContext;
30 virtual ViewPtr get3DView(
int group = 0,
int index = 0);
32 virtual int getActiveGroupId()
const;
34 virtual void setRegistrationMode(REGISTRATION_STATUS mode);
36 virtual void autoShowData(
DataPtr data);
37 virtual void enableRender(
bool val);
38 virtual bool renderingIsEnabled()
const;
40 virtual QWidget* createLayoutWidget(QWidget* parent,
int index);
41 virtual QWidget* getLayoutWidget(
int index);
42 virtual QString getActiveLayout(
int widgetIndex=0)
const;
43 virtual void setActiveLayout(
const QString& uid,
int widgetIndex);
50 virtual QActionGroup* getInteractorStyleActionGroup();
51 virtual void centerToImageCenterInActiveViewGroup();
52 virtual void setCameraStyle(CAMERA_STYLE_TYPE style,
int groupIdx);
53 virtual void zoomCamera3D(
int viewGroup3DNumber,
int zoomFactor);
54 virtual void addDefaultLayout(
LayoutData layoutData);
55 virtual void enableContextMenuForViews(
bool enable=
true);
60 virtual void aboutToStop();
63 void initServiceListener();
67 ctkPluginContext *mPluginContext;
69 boost::shared_ptr<ServiceTrackerListener<ViewService> > mServiceListener;
72 #endif // CXVIEWSERVICEPROXY_H_