CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ViewGroup Class Reference

#include <cxViewGroup.h>

Inheritance diagram for cx::ViewGroup:

Public Member Functions

 ViewGroup (CoreServicesPtr backend)
 
virtual ~ViewGroup ()
 
void addView (ViewWrapperPtr wrapper)
 
void removeViews ()
 
ViewWrapperPtr getViewWrapperFromViewUid (QString viewUid)
 
std::vector< ViewWrapperPtrgetWrappers () const
 
std::vector< ViewPtrgetViews () const
 
ViewGroupDataPtr getData ()
 
virtual void addXml (QDomNode &dataNode)
 store internal state info in dataNode More...
 
virtual void parseXml (QDomNode dataNode)
 load internal state info from dataNode More...
 
void clearPatientData ()
 
CameraStylePtr getCameraStyle ()
 
bool contains3DView () const
 
void initializeActiveView (SyncedValuePtr val)
 

Protected Slots

void mouseClickInViewGroupSlot ()
 

Protected Attributes

std::vector< ViewPtrmViews
 
ViewGroupDataPtr mViewGroupData
 
std::vector< ViewWrapperPtrmViewWrappers
 
CameraStylePtr mCameraStyle
 
CoreServicesPtr mBackend
 
SyncedValuePtr mActiveView
 

Detailed Description

Date
18. mars 2010 \author jbake

Definition at line 69 of file cxViewGroup.h.

Constructor & Destructor Documentation

cx::ViewGroup::ViewGroup ( CoreServicesPtr  backend)
explicit

Definition at line 67 of file cxViewGroup.cpp.

cx::ViewGroup::~ViewGroup ( )
virtual

Definition at line 75 of file cxViewGroup.cpp.

Member Function Documentation

void cx::ViewGroup::addView ( ViewWrapperPtr  wrapper)

Add one view wrapper and setup the necessary connections.

Definition at line 81 of file cxViewGroup.cpp.

void cx::ViewGroup::addXml ( QDomNode &  dataNode)
virtual

store internal state info in dataNode

Definition at line 160 of file cxViewGroup.cpp.

void cx::ViewGroup::clearPatientData ( )

Definition at line 165 of file cxViewGroup.cpp.

bool cx::ViewGroup::contains3DView ( ) const

Definition at line 175 of file cxViewGroup.cpp.

CameraStylePtr cx::ViewGroup::getCameraStyle ( )
inline

Definition at line 85 of file cxViewGroup.h.

ViewGroupDataPtr cx::ViewGroup::getData ( )
inline

Definition at line 81 of file cxViewGroup.h.

std::vector< ViewPtr > cx::ViewGroup::getViews ( ) const

Definition at line 150 of file cxViewGroup.cpp.

ViewWrapperPtr cx::ViewGroup::getViewWrapperFromViewUid ( QString  viewUid)

Definition at line 114 of file cxViewGroup.cpp.

std::vector<ViewWrapperPtr> cx::ViewGroup::getWrappers ( ) const
inline

Definition at line 79 of file cxViewGroup.h.

void cx::ViewGroup::initializeActiveView ( SyncedValuePtr  val)

Definition at line 155 of file cxViewGroup.cpp.

void cx::ViewGroup::mouseClickInViewGroupSlot ( )
protectedslot

Definition at line 124 of file cxViewGroup.cpp.

void cx::ViewGroup::parseXml ( QDomNode  dataNode)
virtual

load internal state info from dataNode

Definition at line 170 of file cxViewGroup.cpp.

void cx::ViewGroup::removeViews ( )

Definition at line 97 of file cxViewGroup.cpp.

Member Data Documentation

SyncedValuePtr cx::ViewGroup::mActiveView
protected

Definition at line 100 of file cxViewGroup.h.

CoreServicesPtr cx::ViewGroup::mBackend
protected

Definition at line 99 of file cxViewGroup.h.

CameraStylePtr cx::ViewGroup::mCameraStyle
protected

Definition at line 98 of file cxViewGroup.h.

ViewGroupDataPtr cx::ViewGroup::mViewGroupData
protected

Definition at line 96 of file cxViewGroup.h.

std::vector<ViewPtr> cx::ViewGroup::mViews
protected

Definition at line 94 of file cxViewGroup.h.

std::vector<ViewWrapperPtr> cx::ViewGroup::mViewWrappers
protected

Definition at line 97 of file cxViewGroup.h.


The documentation for this class was generated from the following files: