33 #ifndef CXVIEWCONTAINER_H_
34 #define CXVIEWCONTAINER_H_
36 #include "cxResourceVisualizationExport.h"
39 #include <boost/shared_ptr.hpp>
41 #include "QVTKWidget.h"
61 typedef QVTKWidget inherited_widget;
72 virtual void setModified();
74 virtual QGridLayout *getGridLayout();
77 virtual void paintEvent(QPaintEvent *event);
78 virtual void showEvent(QShowEvent* event);
79 virtual void wheelEvent(QWheelEvent*);
80 virtual void mouseMoveEvent(QMouseEvent *event);
81 virtual void mousePressEvent(QMouseEvent *event);
82 virtual void mouseReleaseEvent(QMouseEvent *event);
83 virtual void focusInEvent(QFocusEvent* event);
85 void customContextMenuRequestedSlot(
const QPoint& point);
91 virtual void doRender();
95 virtual void resizeEvent( QResizeEvent *event);
96 void initializeRenderWindow();
97 void addBackgroundRenderer();
98 QPoint convertToItemSpace(
const QPoint &pos,
ViewItem* item)
const;
99 ViewItem* findViewItem(
const QPoint &pos);
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