41 retval->mSelf = retval;
50 connect(base, SIGNAL(
resized(QSize)),
this, SIGNAL(
resized(QSize)));
51 connect(base, SIGNAL(
mouseMove(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseMove(
int,
int, Qt::MouseButtons)));
52 connect(base, SIGNAL(
mousePress(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mousePress(
int,
int, Qt::MouseButtons)));
53 connect(base, SIGNAL(
mouseRelease(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseRelease(
int,
int, Qt::MouseButtons)));
54 connect(base, SIGNAL(
mouseWheel(
int,
int,
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseWheel(
int,
int,
int,
int, Qt::MouseButtons)));
55 connect(base, SIGNAL(
shown()),
this, SIGNAL(
shown()));
56 connect(base, SIGNAL(
focusChange(
bool, Qt::FocusReason)),
this, SIGNAL(
focusChange(
bool, Qt::FocusReason)));
57 connect(base, SIGNAL(customContextMenuRequestedInGlobalPos(
const QPoint &)),
this, SIGNAL(
customContextMenuRequested(
const QPoint &)));
71 mBase->setZoomFactor(factor);
76 return mBase->getZoomFactor();
82 return mBase->get_vpMs();
83 return Transform3D::Identity();
88 return mBase->getViewport();
94 return mBase->getViewport_s();
void customContextMenuRequested(const QPoint &)
virtual double getZoomFactor() const
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void focusChange(bool gotFocus, Qt::FocusReason reason)
void mouseWheel(int x, int y, int delta, int orientation, Qt::MouseButtons buttons)
vtkSmartPointer< class vtkRenderWindow > vtkRenderWindowPtr
ViewLinkingViewContainerItem(ViewItem *base, vtkRenderWindowPtr renderWindow)
virtual DoubleBoundingBox3D getViewport() const
virtual Transform3D get_vpMs() const
static ViewRepCollectionPtr create(ViewItem *base, vtkRenderWindowPtr renderWindow)
virtual void setZoomFactor(double factor)
void mouseRelease(int x, int y, Qt::MouseButtons buttons)
void mousePress(int x, int y, Qt::MouseButtons buttons)
virtual ~ViewLinkingViewContainerItem()
static DoubleBoundingBox3D zero()
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.
virtual QSize size() const
void mouseMove(int x, int y, Qt::MouseButtons buttons)
virtual DoubleBoundingBox3D getViewport_s() const
Namespace for all CustusX production code.