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

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

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

Public Member Functions

 IGIUltrasoundOverlayWidget (QWidget *parent)
 
virtual ~IGIUltrasoundOverlayWidget ()
 
QmitkRenderWindow * GetActiveQmitkRenderWindow () const
 Currently returns the QmitkRenderWindow from the QmitkSingle3DView. More...
 
QHash< QString,
QmitkRenderWindow * > 
GetQmitkRenderWindows () const
 Returns the niftk::SingleVideoWidget's QmitkRenderWindow with identifier="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 SetDataStorage (mitk::DataStorage *storage)
 Sets the data storage on various widgets, e.g. viewers, combo-boxes. More...
 
void Update ()
 Called by framework (event from ctkEventAdmin), to indicate that an update should be performed. More...
 
void SetClipToImagePlane (const bool &clipToImagePlane)
 Turns on/off clipping before/after the image plane. More...
 

Detailed Description

A widget that contains a niftk::SingleVideoWidget and a QmitkRenderWindow, (all set to render 3D mode), and several widgets for some basic controls.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Currently returns the QmitkRenderWindow from the QmitkSingle3DView.

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

Returns the QmitkRenderWindow corresponding to the parameter id.

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

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

void niftk::IGIUltrasoundOverlayWidget::SetClipToImagePlane ( const bool &  clipToImagePlane)

Turns on/off clipping before/after the image plane.

void niftk::IGIUltrasoundOverlayWidget::SetDataStorage ( mitk::DataStorage *  storage)

Sets the data storage on various widgets, e.g. viewers, combo-boxes.

void niftk::IGIUltrasoundOverlayWidget::SetDepartmentLogoPath ( const QString &  path)

Set the full path for the department logo.

void niftk::IGIUltrasoundOverlayWidget::SetGradientBackgroundColors ( const mitk::Color &  colour1,
const mitk::Color &  colour2 
)
void niftk::IGIUltrasoundOverlayWidget::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: