![]() |
CustusX
22.09
An IGT application
|
#include <cxViewLinkingViewWidget.h>
Public Member Functions | |
ViewLinkingViewWidget (ViewWidget *base, vtkRenderWindowPtr renderWindow) | |
virtual | ~ViewLinkingViewWidget () |
virtual QSize | size () const |
virtual void | setZoomFactor (double factor) |
virtual double | getZoomFactor () const |
virtual Transform3D | get_vpMs () const |
virtual DoubleBoundingBox3D | getViewport () const |
virtual DoubleBoundingBox3D | getViewport_s () const |
![]() | |
ViewRepCollection (vtkRenderWindowPtr renderWindow, const QString &uid, const QString &name="") | |
constructor More... | |
virtual | ~ViewRepCollection () |
void | print (std::ostream &os) |
virtual void | printSelf (std::ostream &os, Indent indent) |
virtual void | clear () |
Removes everything in the view, inluding reps. More... | |
virtual vtkRenderWindowPtr | getRenderWindow () const |
Get the vtkRenderWindow used by this View. More... | |
virtual View::Type | getType () const |
virtual void | setType (View::Type type) |
virtual QString | getTypeString () const |
virtual QString | getUid () |
Get a views unique id. More... | |
virtual QString | getName () |
Get a views name. More... | |
virtual vtkRendererPtr | getRenderer () const |
Get the renderer used by this View. More... | |
virtual void | addRep (const RepPtr &rep) |
Adds and connects a rep to the view. More... | |
virtual void | removeRep (const RepPtr &rep) |
Removes and disconnects the rep from the view. More... | |
virtual bool | hasRep (const RepPtr &rep) const |
Checks if the view already have the rep. More... | |
virtual std::vector< RepPtr > | getReps () |
Returns all reps in the view. More... | |
virtual void | removeReps () |
Removes all reps in the view. More... | |
virtual void | setBackgroundColor (QColor color) |
virtual void | setModified () |
int | computeTotalMTime () |
![]() | |
virtual | ~View () |
Static Public Member Functions | |
static ViewRepCollectionPtr | create (ViewWidget *base, vtkRenderWindowPtr renderWindow) |
Additional Inherited Members | |
![]() | |
typedef std::vector< RepPtr >::iterator | RepsIter |
Iterator typedef for the internal rep vector. More... | |
![]() | |
enum | Type { VIEW, VIEW_2D, VIEW_3D, VIEW_REAL_TIME } |
![]() | |
void | resized (QSize size) |
void | mouseMove (int x, int y, Qt::MouseButtons buttons) |
void | mousePress (int x, int y, Qt::MouseButtons buttons) |
void | mouseRelease (int x, int y, Qt::MouseButtons buttons) |
void | mouseWheel (int x, int y, int delta, int orientation, Qt::MouseButtons buttons) |
void | shown () |
void | focusChange (bool gotFocus, Qt::FocusReason reason) |
void | customContextMenuRequested (const QPoint &) |
![]() | |
QColor | mBackgroundColor |
QString | mUid |
The view's unique id. More... | |
QString | mName |
The view's name. More... | |
vtkRenderWindowPtr | mRenderWindow |
vtkRendererPtr | mRenderer |
std::vector< RepPtr > | mReps |
Storage for internal reps. More... | |
View::Type | mType |
boost::weak_ptr< class View > | mSelf |
Definition at line 29 of file cxViewLinkingViewWidget.h.
|
inline |
Definition at line 39 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Definition at line 55 of file cxViewLinkingViewWidget.h.
|
inlinestatic |
Definition at line 32 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 73 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 79 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 85 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 67 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 62 of file cxViewLinkingViewWidget.h.
|
inlinevirtual |
Implements cx::View.
Definition at line 56 of file cxViewLinkingViewWidget.h.