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();
102 void orientationChanged(ORIENTATION_TYPE type);
105 void contextMenuSlot(
const QPoint& point);
106 void settingsChangedSlot(QString key);
108 virtual void dataViewPropertiesChangedSlot(QString uid) = 0;
114 void connectContextMenu(
ViewPtr view);
115 virtual QString getDataDescription() = 0;
116 virtual QString getViewDescription() = 0;
117 virtual void appendToContextMenu(QMenu& contextMenu) = 0;
119 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
Namespace for all CustusX production code.