Fraxinus  2023.01.05-dev+develop.0da12
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

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

Definition at line 46 of file cxViewGroup.cpp.

cx::ViewGroup::~ViewGroup ( )
virtual

Definition at line 56 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 67 of file cxViewGroup.cpp.

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

store internal state info in dataNode

Definition at line 147 of file cxViewGroup.cpp.

void cx::ViewGroup::clearPatientData ( )

Definition at line 152 of file cxViewGroup.cpp.

bool cx::ViewGroup::contains3DView ( ) const

Definition at line 162 of file cxViewGroup.cpp.

CameraStylePtr cx::ViewGroup::getCameraStyle ( )
inline

Definition at line 63 of file cxViewGroup.h.

ViewGroupDataPtr cx::ViewGroup::getData ( )
inline

Definition at line 59 of file cxViewGroup.h.

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

Definition at line 137 of file cxViewGroup.cpp.

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

Definition at line 101 of file cxViewGroup.cpp.

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

Definition at line 57 of file cxViewGroup.h.

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

Definition at line 142 of file cxViewGroup.cpp.

void cx::ViewGroup::mouseClickInViewGroupSlot ( )
protectedslot

Definition at line 111 of file cxViewGroup.cpp.

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

load internal state info from dataNode

Definition at line 157 of file cxViewGroup.cpp.

void cx::ViewGroup::removeViews ( )

Definition at line 84 of file cxViewGroup.cpp.

Member Data Documentation

SyncedValuePtr cx::ViewGroup::mActiveView
protected

Definition at line 79 of file cxViewGroup.h.

CoreServicesPtr cx::ViewGroup::mBackend
protected

Definition at line 78 of file cxViewGroup.h.

CameraStylePtr cx::ViewGroup::mCameraStyle
protected

Definition at line 77 of file cxViewGroup.h.

ViewGroupDataPtr cx::ViewGroup::mViewGroupData
protected

Definition at line 75 of file cxViewGroup.h.

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

Definition at line 73 of file cxViewGroup.h.

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: