NorMIT-nav  22.09
An IGT application
cx::ViewGroup Class Reference

#include <cxViewGroup.h>

Inheritance diagram for cx::ViewGroup:

Public Member Functions

 ViewGroup (CoreServicesPtr backend, QString uid)
 
virtual ~ViewGroup ()
 
void addView (ViewWrapperPtr wrapper, SharedOpenGLContextPtr sharedOpenGLContext)
 
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 47 of file cxViewGroup.h.

Constructor & Destructor Documentation

◆ ViewGroup()

cx::ViewGroup::ViewGroup ( CoreServicesPtr  backend,
QString  uid 
)
explicit

Definition at line 46 of file cxViewGroup.cpp.

◆ ~ViewGroup()

cx::ViewGroup::~ViewGroup ( )
virtual

Definition at line 56 of file cxViewGroup.cpp.

Member Function Documentation

◆ addView()

void cx::ViewGroup::addView ( ViewWrapperPtr  wrapper,
SharedOpenGLContextPtr  sharedOpenGLContext 
)

Add one view wrapper and setup the necessary connections.

Definition at line 67 of file cxViewGroup.cpp.

◆ addXml()

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

store internal state info in dataNode

Definition at line 147 of file cxViewGroup.cpp.

◆ clearPatientData()

void cx::ViewGroup::clearPatientData ( )

Definition at line 152 of file cxViewGroup.cpp.

◆ contains3DView()

bool cx::ViewGroup::contains3DView ( ) const

Definition at line 162 of file cxViewGroup.cpp.

◆ getCameraStyle()

CameraStylePtr cx::ViewGroup::getCameraStyle ( )
inline

Definition at line 63 of file cxViewGroup.h.

◆ getData()

ViewGroupDataPtr cx::ViewGroup::getData ( )
inline

Definition at line 59 of file cxViewGroup.h.

◆ getViews()

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

Definition at line 137 of file cxViewGroup.cpp.

◆ getViewWrapperFromViewUid()

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

Definition at line 101 of file cxViewGroup.cpp.

◆ getWrappers()

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

Definition at line 57 of file cxViewGroup.h.

◆ initializeActiveView()

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

Definition at line 142 of file cxViewGroup.cpp.

◆ mouseClickInViewGroupSlot

void cx::ViewGroup::mouseClickInViewGroupSlot ( )
protectedslot

Definition at line 111 of file cxViewGroup.cpp.

◆ parseXml()

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

load internal state info from dataNode

Definition at line 157 of file cxViewGroup.cpp.

◆ removeViews()

void cx::ViewGroup::removeViews ( )

Definition at line 84 of file cxViewGroup.cpp.

Member Data Documentation

◆ mActiveView

SyncedValuePtr cx::ViewGroup::mActiveView
protected

Definition at line 79 of file cxViewGroup.h.

◆ mBackend

CoreServicesPtr cx::ViewGroup::mBackend
protected

Definition at line 78 of file cxViewGroup.h.

◆ mCameraStyle

CameraStylePtr cx::ViewGroup::mCameraStyle
protected

Definition at line 77 of file cxViewGroup.h.

◆ mViewGroupData

ViewGroupDataPtr cx::ViewGroup::mViewGroupData
protected

Definition at line 75 of file cxViewGroup.h.

◆ mViews

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

Definition at line 73 of file cxViewGroup.h.

◆ mViewWrappers

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

Definition at line 76 of file cxViewGroup.h.


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