|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXVIEWLINKINGVIEWWIDGET_H_
13 #define CXVIEWLINKINGVIEWWIDGET_H_
35 retval->mSelf = retval;
44 connect(base, SIGNAL(
resized(QSize)),
this, SIGNAL(
resized(QSize)));
45 connect(base, SIGNAL(
mouseMove(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseMove(
int,
int, Qt::MouseButtons)));
46 connect(base, SIGNAL(
mousePress(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mousePress(
int,
int, Qt::MouseButtons)));
47 connect(base, SIGNAL(
mouseRelease(
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseRelease(
int,
int, Qt::MouseButtons)));
48 connect(base, SIGNAL(
mouseWheel(
int,
int,
int,
int, Qt::MouseButtons)),
this, SIGNAL(
mouseWheel(
int,
int,
int,
int, Qt::MouseButtons)));
49 connect(base, SIGNAL(
shown()),
this, SIGNAL(
shown()));
50 connect(base, SIGNAL(
focusChange(
bool, Qt::FocusReason)),
this, SIGNAL(
focusChange(
bool, Qt::FocusReason)));
51 connect(base, SIGNAL(customContextMenuRequestedInGlobalPos(
const QPoint &)),
this, SIGNAL(
customContextMenuRequested(
const QPoint &)));
65 mBase->setZoomFactor(factor);
70 return mBase->getZoomFactor();
76 return mBase->get_vpMs();
77 return Transform3D::Identity();
82 return mBase->getViewport();
88 return mBase->getViewport_s();
93 QPointer<ViewWidget> mBase;
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,...
vtkSmartPointer< class vtkRenderWindow > vtkRenderWindowPtr
Namespace for all CustusX production code.
void focusChange(bool gotFocus, Qt::FocusReason reason)
static DoubleBoundingBox3D zero()
void mouseMove(int x, int y, Qt::MouseButtons buttons)
boost::shared_ptr< class ViewRepCollection > ViewRepCollectionPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void customContextMenuRequested(const QPoint &)
void mouseRelease(int x, int y, Qt::MouseButtons buttons)
void mousePress(int x, int y, Qt::MouseButtons buttons)
void mouseWheel(int x, int y, int delta, int orientation, Qt::MouseButtons buttons)