33 #ifndef CXVIEWCONTAINER_H_ 34 #define CXVIEWCONTAINER_H_ 36 #include "cxResourceVisualizationExport.h" 39 #include <boost/shared_ptr.hpp> 41 #include "QVTKWidget.h" 63 typedef QVTKWidget inherited_widget;
73 virtual void setOffScreenRenderingAndClear(
bool on);
74 virtual bool getOffScreenRendering()
const;
77 virtual void setModified();
79 virtual QGridLayout *getGridLayout();
82 virtual void paintEvent(QPaintEvent *event);
83 virtual void showEvent(QShowEvent* event);
84 virtual void wheelEvent(QWheelEvent*);
85 virtual void mouseMoveEvent(QMouseEvent *event);
86 virtual void mousePressEvent(QMouseEvent *event);
87 virtual void mouseReleaseEvent(QMouseEvent *event);
88 virtual void focusInEvent(QFocusEvent* event);
90 void customContextMenuRequestedSlot(
const QPoint& point);
96 virtual void doRender();
100 virtual void resizeEvent( QResizeEvent *event);
101 void initializeRenderWindow();
103 QPoint convertToItemSpace(
const QPoint &pos,
ViewItem* item)
const;
104 ViewItem* findViewItem(
const QPoint &pos);
107 bool mOffScreenRendering;
boost::shared_ptr< class MultiViewCache > MultiViewCachePtr
boost::shared_ptr< ViewContainer > ViewContainerPtr
vtkSmartPointer< class vtkRenderWindow > vtkRenderWindowPtr
vtkRenderWindowPtr getRenderWindow()
unsigned long mMTimeHash
sum of all MTimes in objects rendered
boost::shared_ptr< class RenderWindowFactory > RenderWindowFactoryPtr
vtkRenderWindowPtr mRenderWindow
Namespace for all CustusX production code.
ViewItem * mMouseEventTarget