Fraxinus  17.12
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 68 of file cxViewGroup.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file cxViewGroup.cpp.

cx::ViewGroup::~ViewGroup ( )
virtual

Definition at line 77 of file cxViewGroup.cpp.

Member Function Documentation

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

Add one view wrapper and setup the necessary connections.

Definition at line 88 of file cxViewGroup.cpp.

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

store internal state info in dataNode

Definition at line 168 of file cxViewGroup.cpp.

void cx::ViewGroup::clearPatientData ( )

Definition at line 173 of file cxViewGroup.cpp.

bool cx::ViewGroup::contains3DView ( ) const

Definition at line 183 of file cxViewGroup.cpp.

CameraStylePtr cx::ViewGroup::getCameraStyle ( )
inline

Definition at line 84 of file cxViewGroup.h.

ViewGroupDataPtr cx::ViewGroup::getData ( )
inline

Definition at line 80 of file cxViewGroup.h.

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

Definition at line 158 of file cxViewGroup.cpp.

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

Definition at line 122 of file cxViewGroup.cpp.

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

Definition at line 78 of file cxViewGroup.h.

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

Definition at line 163 of file cxViewGroup.cpp.

void cx::ViewGroup::mouseClickInViewGroupSlot ( )
protectedslot

Definition at line 132 of file cxViewGroup.cpp.

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

load internal state info from dataNode

Definition at line 178 of file cxViewGroup.cpp.

void cx::ViewGroup::removeViews ( )

Definition at line 105 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: