12 #ifndef CXVIEWCONTAINER_H_ 13 #define CXVIEWCONTAINER_H_ 15 #include "cxResourceVisualizationExport.h" 18 #include <boost/shared_ptr.hpp> 20 #include "QVTKWidget.h" 42 typedef QVTKWidget inherited_widget;
52 virtual void setOffScreenRenderingAndClear(
bool on);
53 virtual bool getOffScreenRendering()
const;
56 virtual void setModified();
58 virtual QGridLayout *getGridLayout();
61 virtual void paintEvent(QPaintEvent *event);
62 virtual void showEvent(QShowEvent* event);
63 virtual void wheelEvent(QWheelEvent*);
64 virtual void mouseMoveEvent(QMouseEvent *event);
65 virtual void mousePressEvent(QMouseEvent *event);
66 virtual void mouseReleaseEvent(QMouseEvent *event);
67 virtual void focusInEvent(QFocusEvent* event);
69 void customContextMenuRequestedSlot(
const QPoint& point);
75 virtual void doRender();
79 virtual void resizeEvent( QResizeEvent *event);
80 void initializeRenderWindow();
82 QPoint convertToItemSpace(
const QPoint &pos,
ViewItem* item)
const;
83 ViewItem* findViewItem(
const QPoint &pos);
86 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