33 #ifndef CXVIEWSERVICE_H_
34 #define CXVIEWSERVICE_H_
36 #include "cxResourceVisualizationExport.h"
39 #include <boost/shared_ptr.hpp>
44 #define VisualizationService_iid "cx::VisualizationService"
72 virtual ViewPtr get3DView(
int group = 0,
int index = 0) = 0;
75 virtual int getActiveGroupId()
const = 0;
77 unsigned groupCount()
const;
79 virtual void autoShowData(
DataPtr data) = 0;
80 virtual void enableRender(
bool val) = 0;
81 virtual bool renderingIsEnabled()
const = 0;
82 virtual QWidget* getLayoutWidget(QWidget* parent,
int index=0) = 0;
83 virtual QString getActiveLayout(
int widgetIndex=0)
const = 0;
84 virtual void setActiveLayout(
const QString& uid,
int widgetIndex=0) = 0;
85 virtual void deactivateLayout();
92 virtual QActionGroup* createInteractorStyleActionGroup() = 0;
94 virtual bool isNull() = 0;
100 void fps(
int number);
101 void activeLayoutChanged();
102 void activeViewChanged();
103 void renderingEnabledChanged();
106 virtual void aboutToStop() = 0;
115 #endif // CXVIEWSERVICE_H_
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class LayoutRepository > LayoutRepositoryPtr
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 RepContainer > RepContainerPtr
boost::shared_ptr< class CyclicActionLogger > CyclicActionLoggerPtr
VisualizationService ViewService
boost::shared_ptr< class InteractiveCropper > InteractiveCropperPtr
boost::shared_ptr< class CameraControl > CameraControlPtr
#define VisualizationService_iid
boost::shared_ptr< class ViewGroup > ViewGroupPtr