NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::IGIVideoOverlayWidget Class Reference

A widget that contains 3 niftk::SingleVideoWidget (left video, right video, rendered data only no video) and a QmitkRenderWindow, (all set to render 3D mode), and several widgets for some basic controls. More...

Inheritance diagram for niftk::IGIVideoOverlayWidget:
Inheritance graph
[legend]
Collaboration diagram for niftk::IGIVideoOverlayWidget:
Collaboration graph
[legend]

Public Member Functions

 IGIVideoOverlayWidget (QWidget *parent)
 
virtual ~IGIVideoOverlayWidget ()
 
void SetDataStorage (mitk::DataStorage *storage)
 
QmitkRenderWindow * GetActiveQmitkRenderWindow () const
 Currently returns the QmitkRenderWindow from the QmitkSingle3DView. More...
 
QHash< QString,
QmitkRenderWindow * > 
GetQmitkRenderWindows () const
 Returns the niftk::SingleVideoWidget's QmitkRenderWindow with identifier="left|right overlay", and the 3D QmitkRenderWindow with identifier="3d". More...
 
QmitkRenderWindow * GetQmitkRenderWindow (const QString &id) const
 Returns the QmitkRenderWindow corresponding to the parameter id. More...
 
void SetDepartmentLogoPath (const QString &path)
 Set the full path for the department logo. More...
 
void EnableDepartmentLogo ()
 Calls niftk::Single3DViewWidget::EnableDepartmentLogo(). More...
 
void DisableDepartmentLogo ()
 Calls Single3DViewWidget::DisableDepartmentLogo(). More...
 
void SetGradientBackgroundColors (const mitk::Color &colour1, const mitk::Color &colour2)
 Calls Single3DViewWidget::SetGradientBackgroundColors(). More...
 
void EnableGradientBackground ()
 Calls Single3DViewWidget::EnableGradientBackground(). More...
 
void DisableGradientBackground ()
 Calls Single3DViewWidget::DisableGradientBackground(). More...
 
void Update ()
 Called by framework (event from ctkEventAdmin), to indicate that an update should be performed. More...
 
void SetEyeHandFileName (const std::string &fileName)
 Set the filename of an eye-hand matrix. More...
 

Detailed Description

A widget that contains 3 niftk::SingleVideoWidget (left video, right video, rendered data only no video) and a QmitkRenderWindow, (all set to render 3D mode), and several widgets for some basic controls.

Constructor & Destructor Documentation

niftk::IGIVideoOverlayWidget::IGIVideoOverlayWidget ( QWidget *  parent)
niftk::IGIVideoOverlayWidget::~IGIVideoOverlayWidget ( )
virtual

Member Function Documentation

void niftk::IGIVideoOverlayWidget::DisableDepartmentLogo ( )
void niftk::IGIVideoOverlayWidget::DisableGradientBackground ( )
void niftk::IGIVideoOverlayWidget::EnableDepartmentLogo ( )
void niftk::IGIVideoOverlayWidget::EnableGradientBackground ( )
QmitkRenderWindow * niftk::IGIVideoOverlayWidget::GetActiveQmitkRenderWindow ( ) const

Currently returns the QmitkRenderWindow from the QmitkSingle3DView.

QmitkRenderWindow * niftk::IGIVideoOverlayWidget::GetQmitkRenderWindow ( const QString &  id) const

Returns the QmitkRenderWindow corresponding to the parameter id.

Parameters
ididentifer, which for this class must be either "left|right overlay" or "3d".
Returns
QmitkRenderWindow* or NULL if the id does not match.
QHash< QString, QmitkRenderWindow * > niftk::IGIVideoOverlayWidget::GetQmitkRenderWindows ( ) const

Returns the niftk::SingleVideoWidget's QmitkRenderWindow with identifier="left|right overlay", and the 3D QmitkRenderWindow with identifier="3d".

void niftk::IGIVideoOverlayWidget::SetDataStorage ( mitk::DataStorage *  storage)
void niftk::IGIVideoOverlayWidget::SetDepartmentLogoPath ( const QString &  path)

Set the full path for the department logo.

void niftk::IGIVideoOverlayWidget::SetEyeHandFileName ( const std::string fileName)

Set the filename of an eye-hand matrix.

void niftk::IGIVideoOverlayWidget::SetGradientBackgroundColors ( const mitk::Color &  colour1,
const mitk::Color &  colour2 
)
void niftk::IGIVideoOverlayWidget::Update ( void  )

Called by framework (event from ctkEventAdmin), to indicate that an update should be performed.


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