12 #ifndef CXVIEWWRAPPER_H_ 13 #define CXVIEWWRAPPER_H_ 15 #include "org_custusx_core_view_Export.h" 57 void addDataActionsOfType(QWidget* parent);
60 void dataActionSlot();
62 void addDataAction(QString uid, QWidget* parent);
67 QString mLastDataActionUid;
75 mLastDataActionUid =
"________________________";
76 for (
typename std::vector< boost::shared_ptr<DATA> >::iterator iter=sorted.begin(); iter!=sorted.end(); ++iter)
78 this->addDataAction((*iter)->getUid(), parent);
89 class org_custusx_core_view_EXPORT
ViewWrapper:
public QObject
98 virtual void updateView();
103 void orientationChanged(ORIENTATION_TYPE type);
106 void contextMenuSlot(
const QPoint& point);
107 void settingsChangedSlot(QString key);
109 virtual void dataViewPropertiesChangedSlot(QString uid) = 0;
116 void connectContextMenu(
ViewPtr view);
117 virtual QString getDataDescription() = 0;
118 virtual QString getViewDescription() = 0;
119 virtual void appendToContextMenu(QMenu& contextMenu) = 0;
121 virtual void addReps();
boost::shared_ptr< class ViewGroupData > ViewGroupDataPtr
boost::shared_ptr< class SlicePlanesProxy > SlicePlanesProxyPtr
boost::shared_ptr< class CameraData > CameraDataPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Superclass for ViewWrappers.
SharedOpenGLContextPtr mSharedOpenGLContext
DataViewPropertiesInteractorPtr mDataViewPropertiesInteractor
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class DataViewPropertiesInteractor > DataViewPropertiesInteractorPtr
virtual void videoSourceChangedSlot(QString uid)
boost::shared_ptr< class SharedOpenGLContext > SharedOpenGLContextPtr
std::vector< T > sortOnGroupsAndAcquisitionTime(std::map< QString, T > input)
ViewGroupDataPtr mGroupData
void addDataActionsOfType(QWidget *parent)
virtual void initializePlane(PLANE_TYPE plane)
vtkSmartPointer< class vtkPolyDataAlgorithm > vtkPolyDataAlgorithmPtr
boost::shared_ptr< class DisplayTextRep > DisplayTextRepPtr
DataViewPropertiesInteractorPtr mShow3DSlicesInteractor
virtual void activeToolChangedSlot()
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr