33 #ifndef CXVIEWWIDGET_H_
34 #define CXVIEWWIDGET_H_
36 #include "QVTKWidget.h"
52 typedef QVTKWidget inherited;
57 ViewWidget(
const QString& uid=
"",
const QString& name =
"", QWidget *parent = NULL, Qt::WindowFlags f = 0);
61 virtual QSize
size()
const {
return inherited::size(); }
75 void mouseMove(
int x,
int y, Qt::MouseButtons buttons);
76 void mousePress(
int x,
int y, Qt::MouseButtons buttons);
77 void mouseRelease(
int x,
int y, Qt::MouseButtons buttons);
78 void mouseWheel(
int x,
int y,
int delta,
int orientation, Qt::MouseButtons buttons);
80 void focusChange(
bool gotFocus, Qt::FocusReason reason);
84 void customContextMenuRequestedSlot(
const QPoint& point);
86 virtual void showEvent(QShowEvent* event);
87 virtual void wheelEvent(QWheelEvent*);
88 virtual void mouseMoveEvent(QMouseEvent *event);
89 virtual void mousePressEvent(QMouseEvent *event);
90 virtual void mouseReleaseEvent(QMouseEvent *event);
91 virtual void focusInEvent(QFocusEvent* event);
92 virtual void resizeEvent(QResizeEvent *event);
93 virtual void paintEvent(QPaintEvent *event);
96 boost::shared_ptr<class ViewRepCollection> mView;
97 unsigned long mMTimeHash;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkRenderWindow > vtkRenderWindowPtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
boost::shared_ptr< class ViewRepCollection > ViewRepCollectionPtr
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.