33 #ifndef CXVIEWCONTAINER_H_
34 #define CXVIEWCONTAINER_H_
36 #include "cxResourceVisualizationExport.h"
39 #include <boost/shared_ptr.hpp>
41 #include "QVTKWidget.h"
62 typedef QVTKWidget inherited_widget;
72 virtual void setOffScreenRenderingAndClear(
bool on);
73 virtual bool getOffScreenRendering()
const;
76 virtual void setModified();
78 virtual QGridLayout *getGridLayout();
81 virtual void paintEvent(QPaintEvent *event);
82 virtual void showEvent(QShowEvent* event);
83 virtual void wheelEvent(QWheelEvent*);
84 virtual void mouseMoveEvent(QMouseEvent *event);
85 virtual void mousePressEvent(QMouseEvent *event);
86 virtual void mouseReleaseEvent(QMouseEvent *event);
87 virtual void focusInEvent(QFocusEvent* event);
89 void customContextMenuRequestedSlot(
const QPoint& point);
95 virtual void doRender();
99 virtual void resizeEvent( QResizeEvent *event);
100 void initializeRenderWindow();
102 QPoint convertToItemSpace(
const QPoint &pos,
ViewItem* item)
const;
103 ViewItem* findViewItem(
const QPoint &pos);
105 std::map<QString, vtkRenderWindowPtr> mCachedRenderWindows;
106 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
vtkRenderWindowPtr mRenderWindow
ViewItem * mMouseEventTarget