open_iA  2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Slots | Signals | Public Member Functions | List of all members
MdiChild Class Reference

Child window of MainWindow's mdi area for showing a volume or mesh dataset. More...

#include <mdichild.h>

Inheritance diagram for MdiChild:
Collaboration diagram for MdiChild:

Public Slots

void addMsg (QString txt)
 
void addStatusMsg (QString txt)
 
void camPosition (double *camOptions)
 Calls the camPosition function of iARenderer (described there in more detail). More...
 
void disableRenderWindows (int ch)
 
void enableRenderWindows ()
 
void hideProgressBar ()
 
void initProgressBar ()
 
void maximizeRC ()
 
void maximizeXY ()
 
void maximizeXZ ()
 
void maximizeYZ ()
 
void removeFinishedAlgorithms ()
 
void resetLayout ()
 
void setCamPosition (double *camOptions, bool rsParallelProjection)
 Calls the setCamPosition function of iARenderer (described there in more detail). More...
 
void setCamPosition (int pos) override
 Calls the setCamPosition function of iARenderer (described there in more detail). More...
 
void setupProject (bool active=false)
 
void setupStackView (bool active=false)
 
void setupView (bool active=false)
 
void updateProbe (int ptIndex, double *newPos)
 
void updateProgressBar (int i)
 
void updateSlicer (int index)
 
void updateSlicers ()
 
void updateViews ()
 
bool updateVolumePlayerView (int updateIndex, bool isApplyForAll)
 

Signals

void active ()
 
void closed ()
 
void endPointSelected ()
 
void fileLoaded ()
 
void histogramAvailable ()
 
void magicLensToggled (bool isToggled)
 
void noPointSelected ()
 
void pointSelected ()
 
void preferencesChanged ()
 
void rendererDeactivated (int c)
 
void renderSettingsChanged ()
 
void slicerSettingsChanged ()
 
void transferFunctionChanged ()
 
void viewsUpdated ()
 

Public Member Functions

void addProject (QString const &key, QSharedPointer< iAProjectBase > project)
 add project More...
 
void applyViewerPreferences ()
 
void applyVolumeSettings (const bool loadSavedVolumeSettings)
 Apply current volume settings to all modalities in the current list in dlg_modalities. More...
 
void changeColor ()
 
void check2DMode ()
 
int chooseComponentNr (int modalityNr)
 If given modality has more than one component, ask user to choose one of them. More...
 
int chooseModalityNr (QString const &caption="Choose Channel")
 If more than one modality loaded, ask user to choose one of them. More...
 
void clearHistogram ()
 Clear current histogram (i.e. don't show it anymore) More...
 
vtkColorTransferFunction * colorTF ()
 Access the color transfer function of the "main image". More...
 
void connectAlgorithmSignalsToChildSlots (iAAlgorithm *thread)
 
void connectIOThreadSignals (iAIO *thread)
 
void connectThreadSignalsToChildSlots (iAAlgorithm *thread)
 
QString currentFile () const
 
int deletePoint ()
 
bool displayResult (QString const &title, vtkImageData *image=nullptr, vtkPolyData *poly=nullptr)
 
void doSaveProject () override
 Ask for a project file name and store in that project file: More...
 
bool editPrefs (iAPreferences const &p)
 
bool editRendererSettings (iARenderSettings const &rs, iAVolumeSettings const &vs)
 
bool editSlicerSettings (iASlicerSettings const &slicerSettings)
 
void enableInteraction (bool b)
 
QFileInfo fileInfo () const
 
QString filePath () const
 
std::vector< iAChartFunction * > & functions ()
 
iASlicergetSlicer (uint i)
 
void hideHistogram ()
 Hides the histogram dockwidget. More...
 
iAChartWithFunctionsWidgethistogram ()
 
iADockWidgetWrapperhistogramDockWidget ()
 Access to histogram dock widget. More...
 
vtkImageData * imageData ()
 Access to the "main image". More...
 
vtkSmartPointer< vtkImageData > imagePointer ()
 Access to the "main image". More...
 
dlg_imagepropertyimagePropertyDockWidget ()
 Access to image property dock widget. More...
 
bool isFullyLoaded () const
 workaround for bug in splitDockWidget (see https://bugreports.qt.io/browse/QTBUG-60093) splitDockWidget would makes ref and newWidget disappear if ref is tabbed at the moment More...
 
int isFuncEndPoint (int index)
 
bool isMaximized ()
 
bool isSliceProfileToggled (void) const
 
bool isSnakeSlicerToggled () const
 
bool isVolumeDataLoaded () const
 Whether volume data is loaded (only checks filename and volume dimensions). More...
 
QString layoutName () const
 Returns the name of the layout currently applied to this child window. More...
 
bool linkedMDIs () const
 Whether this child has the linked MDIs feature enabled. More...
 
bool linkedViews () const
 Whether this child has the linked views feature enabled. More...
 
void linkMDIs (bool lm)
 Enable or disable linked MDI windows for this MDI child. More...
 
void linkViews (bool l)
 Enable or disable linked slicers and 3D renderer. More...
 
bool loadFile (const QString &f, bool isStack)
 
void loadLayout (QString const &layout)
 Loads the layout with the given name from the settings store, and tries to restore the according dockwidgets configuration. More...
 
bool loadRaw (const QString &f)
 
bool loadTransferFunction ()
 
dlg_logslogDockWidget ()
 Access to log message dock widget. More...
 
iALoggerlogger ()
 
MainWindowmainWnd ()
 
 MdiChild (MainWindow *mainWnd, iAPreferences const &preferences, bool unsavedChanges)
 
QSharedPointer< iAModalityListmodalities ()
 Retrieve the list of all currently loaded modalities. More...
 
dlg_modalitiesmodalitiesDockWidget ()
 Access to modalities dock widget. More...
 
QSharedPointer< iAModalitymodality (int idx)
 Retrieve data for modality with given index. More...
 
void multiview ()
 
vtkPiecewiseFunction * opacityTF ()
 Access the opacity function of the "main image". More...
 
vtkPolyData * polyData ()
 Access to "main" polydata object (if any) More...
 
const int * position () const
 Current coordinate position (defined by the respective slice number in the slice views). More...
 
const iAPreferencespreferences () const
 
void prepareForResult ()
 
dlg_profileprofileDockWidget ()
 Access to line profile dock widget. More...
 
const QMap< QString, QSharedPointer< iAProjectBase > > & projects ()
 
void redrawHistogram ()
 
dlg_rendererrenderDockWidget ()
 Access to 3D renderer dock widget. More...
 
iARendererrenderer ()
 Access to the 3D renderer widget. More...
 
const iARenderSettingsrenderSettings () const
 
void resetTrf ()
 
void resetView ()
 
bool resultInNewWindow () const
 
bool save ()
 
bool saveAs ()
 
bool saveFile (const QString &f, int modalityNr, int componentNr)
 
void saveMovie (iARenderer &raycaster)
 Provides the possibility to save a raycaster movie of the given raycaster view. More...
 
void saveProject (QString const &fileName)
 Save all currently loaded files into a project with the given file name. More...
 
bool saveTransferFunction ()
 
int selectedFuncPoint ()
 
void setCurrentFile (const QString &f)
 
void setHistogramFocus ()
 
void setImageData (QString const &filename, vtkSmartPointer< vtkImageData > imgData)
 
void setImageData (vtkImageData *iData)
 Set "main image" - does not update views (see displayResult for a method that does)! More...
 
void setModalities (QSharedPointer< iAModalityList > modList)
 Set the list of modalities for this window. More...
 
void setReInitializeRenderWindows (bool reInit)
 
void setRenderSettings (iARenderSettings const &rs, iAVolumeSettings const &vs)
 
void setROIVisible (bool visible)
 
void setupSlicers (iASlicerSettings const &ss, bool init)
 
void showPoly ()
 
int sliceNumber (int mode) const
 Get current slice number in the respective slicer. More...
 
iASlicerslicer (int mode)
 Access slicer for given mode (use iASlicerMode enum for mode values) More...
 
dlg_slicerslicerDockWidget (int mode)
 Access to slicer dock widget for the given mode. More...
 
const iASlicerSettingsslicerSettings () const
 
vtkTransform * slicerTransform ()
 
void toggleSliceProfile (bool isEnabled)
 
void toggleSnakeSlicer (bool isEnabled)
 
void updateLayout ()
 
void updateROI (int const roi[6])
 
QString userFriendlyCurrentFile () const
 
const iAVolumeSettingsvolumeSettings () const
 
iAVolumeStackvolumeStack ()
 
void waitForPreviousIO ()
 waits for the IO thread to finish in case any I/O operation is running; otherwise it will immediately exit More...
 
 ~MdiChild ()
 
uint createChannel ()
 
void updateChannel (uint id, vtkSmartPointer< vtkImageData > imgData, vtkScalarsToColors *ctf, vtkPiecewiseFunction *otf, bool enable)
 Update the data of the given channel ID. More...
 
void updateChannelOpacity (uint id, double opacity)
 Update opacity of the given channel ID. More...
 
void setChannelRenderingEnabled (uint, bool enabled)
 
void setSlicerChannelEnabled (uint id, bool enabled)
 Enable / disable a channel in all slicers. More...
 
void removeChannel (uint id)
 Remove channel in all slicers. More...
 
iAChannelDatachannelData (uint id)
 
const iAChannelDatachannelData (uint id) const
 
void initChannelRenderer (uint id, bool use3D, bool enableChannel=true)
 
void updateChannelMappers ()
 
void toggleMagicLens (bool isEnabled)
 Magic Lens. More...
 
bool isMagicLensToggled (void) const
 
void setMagicLensInput (uint id)
 
void setMagicLensEnabled (bool isOn)
 
void reInitMagicLens (uint id, QString const &name, vtkSmartPointer< vtkImageData > imgData, vtkScalarsToColors *ctf)
 
int magicLensSize () const
 
int magicLensFrameWidth () const
 
- Public Member Functions inherited from iAChangeableCameraWidget
virtual void setCamPosition (int pos)=0
 Set a predefined camera position to the 3D renderer(s) in this widget. More...
 
- Public Member Functions inherited from iASavableProject
void saveProject ()
 Called from main window to save the project of the current window. More...
 

Additional Inherited Members

- Protected Member Functions inherited from iAChangeableCameraWidget
 ~iAChangeableCameraWidget ()
 Prevent destruction of the object through this interface. More...
 
- Protected Member Functions inherited from iASavableProject
virtual ~iASavableProject ()
 Prevent destruction of the object through this interface. More...
 

Detailed Description

Child window of MainWindow's mdi area for showing a volume or mesh dataset.

Some tools in the modules attach to MdiChild's to enhance their functionality.

Constructor & Destructor Documentation

◆ MdiChild()

MdiChild::MdiChild ( MainWindow mainWnd,
iAPreferences const &  preferences,
bool  unsavedChanges 
)

◆ ~MdiChild()

MdiChild::~MdiChild ( )

Member Function Documentation

◆ active

void MdiChild::active ( )
signal

◆ addMsg

void MdiChild::addMsg ( QString  txt)
slot

◆ addProject()

void MdiChild::addProject ( QString const &  key,
QSharedPointer< iAProjectBase project 
)

add project

◆ addStatusMsg

void MdiChild::addStatusMsg ( QString  txt)
slot

◆ applyViewerPreferences()

void MdiChild::applyViewerPreferences ( )

◆ applyVolumeSettings()

void MdiChild::applyVolumeSettings ( const bool  loadSavedVolumeSettings)

Apply current volume settings to all modalities in the current list in dlg_modalities.

◆ camPosition

void MdiChild::camPosition ( double *  camOptions)
slot

Calls the camPosition function of iARenderer (described there in more detail).

Parameters
camOptionsAll informations of the camera stored in a double array

◆ changeColor()

void MdiChild::changeColor ( )

◆ channelData() [1/2]

iAChannelData * MdiChild::channelData ( uint  id)

◆ channelData() [2/2]

iAChannelData const * MdiChild::channelData ( uint  id) const

◆ check2DMode()

void MdiChild::check2DMode ( )

◆ chooseComponentNr()

int MdiChild::chooseComponentNr ( int  modalityNr)

If given modality has more than one component, ask user to choose one of them.

(currently used for determining which modality to save)

◆ chooseModalityNr()

int MdiChild::chooseModalityNr ( QString const &  caption = "Choose Channel")

If more than one modality loaded, ask user to choose one of them.

(currently used for determining which modality to save)

◆ clearHistogram()

void MdiChild::clearHistogram ( )

Clear current histogram (i.e. don't show it anymore)

◆ closed

void MdiChild::closed ( )
signal

◆ colorTF()

vtkColorTransferFunction * MdiChild::colorTF ( )

Access the color transfer function of the "main image".

Deprecated:
all access to images should proceed via modalities (modality(int) / setModalities /...)

◆ connectAlgorithmSignalsToChildSlots()

void MdiChild::connectAlgorithmSignalsToChildSlots ( iAAlgorithm thread)

◆ connectIOThreadSignals()

void MdiChild::connectIOThreadSignals ( iAIO thread)

◆ connectThreadSignalsToChildSlots()

void MdiChild::connectThreadSignalsToChildSlots ( iAAlgorithm thread)

◆ createChannel()

uint MdiChild::createChannel ( )

Multi-Channel rendering Create a new channel, return its ID.

◆ currentFile()

QString MdiChild::currentFile ( ) const

◆ deletePoint()

int MdiChild::deletePoint ( )

◆ disableRenderWindows

void MdiChild::disableRenderWindows ( int  ch)
slot

◆ displayResult()

bool MdiChild::displayResult ( QString const &  title,
vtkImageData *  image = nullptr,
vtkPolyData *  poly = nullptr 
)

◆ doSaveProject()

void MdiChild::doSaveProject ( )
overridevirtual

Ask for a project file name and store in that project file:

  • loaded files and their transfer functions, when old project file (.mod) is chosen
  • configuration of opened tools (which support it), when new project file (.iaproj) is chosen (to be extended to modalities and TFs soon)

Implements iASavableProject.

◆ editPrefs()

bool MdiChild::editPrefs ( iAPreferences const &  p)

◆ editRendererSettings()

bool MdiChild::editRendererSettings ( iARenderSettings const &  rs,
iAVolumeSettings const &  vs 
)

◆ editSlicerSettings()

bool MdiChild::editSlicerSettings ( iASlicerSettings const &  slicerSettings)

◆ enableInteraction()

void MdiChild::enableInteraction ( bool  b)

◆ enableRenderWindows

void MdiChild::enableRenderWindows ( )
slot

◆ endPointSelected

void MdiChild::endPointSelected ( )
signal

◆ fileInfo()

QFileInfo MdiChild::fileInfo ( ) const

◆ fileLoaded

void MdiChild::fileLoaded ( )
signal

◆ filePath()

QString MdiChild::filePath ( ) const

◆ functions()

std::vector< iAChartFunction * > & MdiChild::functions ( )

◆ getSlicer()

iASlicer* MdiChild::getSlicer ( uint  i)
inline

◆ hideHistogram()

void MdiChild::hideHistogram ( )

Hides the histogram dockwidget.

◆ hideProgressBar

void MdiChild::hideProgressBar ( )
slot

◆ histogram()

iAChartWithFunctionsWidget * MdiChild::histogram ( )

◆ histogramAvailable

void MdiChild::histogramAvailable ( )
signal

◆ histogramDockWidget()

iADockWidgetWrapper * MdiChild::histogramDockWidget ( )

Access to histogram dock widget.

◆ imageData()

vtkImageData * MdiChild::imageData ( )

Access to the "main image".

Deprecated:
retrieve images via the modalities (modality(int) etc.) instead!

◆ imagePointer()

vtkSmartPointer< vtkImageData > MdiChild::imagePointer ( )

Access to the "main image".

Deprecated:
retrieve images via the modalities (modality(int) etc.) instead!

◆ imagePropertyDockWidget()

dlg_imageproperty * MdiChild::imagePropertyDockWidget ( )

Access to image property dock widget.

◆ initChannelRenderer()

void MdiChild::initChannelRenderer ( uint  id,
bool  use3D,
bool  enableChannel = true 
)

◆ initProgressBar

void MdiChild::initProgressBar ( )
slot

◆ isFullyLoaded()

bool MdiChild::isFullyLoaded ( ) const

workaround for bug in splitDockWidget (see https://bugreports.qt.io/browse/QTBUG-60093) splitDockWidget would makes ref and newWidget disappear if ref is tabbed at the moment

Checks whether the main image data is fully loaded.

◆ isFuncEndPoint()

int MdiChild::isFuncEndPoint ( int  index)

◆ isMagicLensToggled()

bool MdiChild::isMagicLensToggled ( void  ) const

◆ isMaximized()

bool MdiChild::isMaximized ( )

◆ isSliceProfileToggled()

bool MdiChild::isSliceProfileToggled ( void  ) const

◆ isSnakeSlicerToggled()

bool MdiChild::isSnakeSlicerToggled ( ) const

◆ isVolumeDataLoaded()

bool MdiChild::isVolumeDataLoaded ( ) const

Whether volume data is loaded (only checks filename and volume dimensions).

◆ layoutName()

QString MdiChild::layoutName ( ) const

Returns the name of the layout currently applied to this child window.

◆ linkedMDIs()

bool MdiChild::linkedMDIs ( ) const

Whether this child has the linked MDIs feature enabled.

◆ linkedViews()

bool MdiChild::linkedViews ( ) const

Whether this child has the linked views feature enabled.

◆ linkMDIs()

void MdiChild::linkMDIs ( bool  lm)

Enable or disable linked MDI windows for this MDI child.

◆ linkViews()

void MdiChild::linkViews ( bool  l)

Enable or disable linked slicers and 3D renderer.

◆ loadFile()

bool MdiChild::loadFile ( const QString &  f,
bool  isStack 
)

◆ loadLayout()

void MdiChild::loadLayout ( QString const &  layout)

Loads the layout with the given name from the settings store, and tries to restore the according dockwidgets configuration.

◆ loadRaw()

bool MdiChild::loadRaw ( const QString &  f)

◆ loadTransferFunction()

bool MdiChild::loadTransferFunction ( )

◆ logDockWidget()

dlg_logs * MdiChild::logDockWidget ( )

Access to log message dock widget.

◆ logger()

iALogger * MdiChild::logger ( )

◆ magicLensFrameWidth()

int MdiChild::magicLensFrameWidth ( ) const

◆ magicLensSize()

int MdiChild::magicLensSize ( ) const

◆ magicLensToggled

void MdiChild::magicLensToggled ( bool  isToggled)
signal

◆ mainWnd()

MainWindow * MdiChild::mainWnd ( )

◆ maximizeRC

void MdiChild::maximizeRC ( )
slot

◆ maximizeXY

void MdiChild::maximizeXY ( )
slot

◆ maximizeXZ

void MdiChild::maximizeXZ ( )
slot

◆ maximizeYZ

void MdiChild::maximizeYZ ( )
slot

◆ modalities()

QSharedPointer< iAModalityList > MdiChild::modalities ( )

Retrieve the list of all currently loaded modalities.

◆ modalitiesDockWidget()

dlg_modalities * MdiChild::modalitiesDockWidget ( )

Access to modalities dock widget.

◆ modality()

QSharedPointer< iAModality > MdiChild::modality ( int  idx)

Retrieve data for modality with given index.

◆ multiview()

void MdiChild::multiview ( )

◆ noPointSelected

void MdiChild::noPointSelected ( )
signal

◆ opacityTF()

vtkPiecewiseFunction * MdiChild::opacityTF ( )

Access the opacity function of the "main image".

Deprecated:
all access to images should proceed via modalities (modality(int) / setModalities /...)

◆ pointSelected

void MdiChild::pointSelected ( )
signal

◆ polyData()

vtkPolyData * MdiChild::polyData ( )

Access to "main" polydata object (if any)

◆ position()

int const * MdiChild::position ( ) const

Current coordinate position (defined by the respective slice number in the slice views).

◆ preferences()

iAPreferences const & MdiChild::preferences ( ) const

◆ preferencesChanged

void MdiChild::preferencesChanged ( )
signal

◆ prepareForResult()

void MdiChild::prepareForResult ( )

◆ profileDockWidget()

dlg_profile * MdiChild::profileDockWidget ( )

Access to line profile dock widget.

◆ projects()

QMap< QString, QSharedPointer< iAProjectBase > > const & MdiChild::projects ( )

◆ redrawHistogram()

void MdiChild::redrawHistogram ( )

◆ reInitMagicLens()

void MdiChild::reInitMagicLens ( uint  id,
QString const &  name,
vtkSmartPointer< vtkImageData >  imgData,
vtkScalarsToColors *  ctf 
)

◆ removeChannel()

void MdiChild::removeChannel ( uint  id)

Remove channel in all slicers.

◆ removeFinishedAlgorithms

void MdiChild::removeFinishedAlgorithms ( )
slot

◆ renderDockWidget()

dlg_renderer * MdiChild::renderDockWidget ( )

Access to 3D renderer dock widget.

◆ renderer()

iARenderer * MdiChild::renderer ( )

Access to the 3D renderer widget.

◆ rendererDeactivated

void MdiChild::rendererDeactivated ( int  c)
signal

◆ renderSettings()

iARenderSettings const & MdiChild::renderSettings ( ) const

◆ renderSettingsChanged

void MdiChild::renderSettingsChanged ( )
signal

◆ resetLayout

void MdiChild::resetLayout ( )
slot

◆ resetTrf()

void MdiChild::resetTrf ( )

◆ resetView()

void MdiChild::resetView ( )

◆ resultInNewWindow()

bool MdiChild::resultInNewWindow ( ) const

◆ save()

bool MdiChild::save ( )

◆ saveAs()

bool MdiChild::saveAs ( )

◆ saveFile()

bool MdiChild::saveFile ( const QString &  f,
int  modalityNr,
int  componentNr 
)

◆ saveMovie()

void MdiChild::saveMovie ( iARenderer raycaster)

Provides the possibility to save a raycaster movie of the given raycaster view.

Parameters
[in]raycasterthe VTK raycaster the movie shall be exported from.

◆ saveProject()

void MdiChild::saveProject ( QString const &  fileName)

Save all currently loaded files into a project with the given file name.

◆ saveTransferFunction()

bool MdiChild::saveTransferFunction ( )

◆ selectedFuncPoint()

int MdiChild::selectedFuncPoint ( )

◆ setCamPosition [1/2]

void MdiChild::setCamPosition ( double *  camOptions,
bool  rsParallelProjection 
)
slot

Calls the setCamPosition function of iARenderer (described there in more detail).

Parameters
camOptionsAll informations of the camera stored in a double array
rsParallelProjectionboolean variable to determine if parallel projection option on.

◆ setCamPosition [2/2]

void MdiChild::setCamPosition ( int  pos)
overrideslot

Calls the setCamPosition function of iARenderer (described there in more detail).

Parameters
posset one of the predefined camera positions

◆ setChannelRenderingEnabled()

void MdiChild::setChannelRenderingEnabled ( uint  id,
bool  enabled 
)

◆ setCurrentFile()

void MdiChild::setCurrentFile ( const QString &  f)

◆ setHistogramFocus()

void MdiChild::setHistogramFocus ( )

◆ setImageData() [1/2]

void MdiChild::setImageData ( QString const &  filename,
vtkSmartPointer< vtkImageData >  imgData 
)
Deprecated:
all access to images should proceed via modalities (modality(int) / setModalities /...) or channels (createChannel/updateChannel)

◆ setImageData() [2/2]

void MdiChild::setImageData ( vtkImageData *  iData)

Set "main image" - does not update views (see displayResult for a method that does)!

Deprecated:
all access to images should proceed via modalities (modality(int) / setModalities /...) or channels (createChannel/updateChannel)

◆ setMagicLensEnabled()

void MdiChild::setMagicLensEnabled ( bool  isOn)

◆ setMagicLensInput()

void MdiChild::setMagicLensInput ( uint  id)

◆ setModalities()

void MdiChild::setModalities ( QSharedPointer< iAModalityList modList)

Set the list of modalities for this window.

◆ setReInitializeRenderWindows()

void MdiChild::setReInitializeRenderWindows ( bool  reInit)

◆ setRenderSettings()

void MdiChild::setRenderSettings ( iARenderSettings const &  rs,
iAVolumeSettings const &  vs 
)

◆ setROIVisible()

void MdiChild::setROIVisible ( bool  visible)

◆ setSlicerChannelEnabled()

void MdiChild::setSlicerChannelEnabled ( uint  id,
bool  enabled 
)

Enable / disable a channel in all slicers.

◆ setupProject

void MdiChild::setupProject ( bool  active = false)
slot

◆ setupSlicers()

void MdiChild::setupSlicers ( iASlicerSettings const &  ss,
bool  init 
)

◆ setupStackView

void MdiChild::setupStackView ( bool  active = false)
slot

◆ setupView

void MdiChild::setupView ( bool  active = false)
slot

◆ showPoly()

void MdiChild::showPoly ( )

◆ sliceNumber()

int MdiChild::sliceNumber ( int  mode) const

Get current slice number in the respective slicer.

◆ slicer()

iASlicer * MdiChild::slicer ( int  mode)

Access slicer for given mode (use iASlicerMode enum for mode values)

◆ slicerDockWidget()

dlg_slicer * MdiChild::slicerDockWidget ( int  mode)

Access to slicer dock widget for the given mode.

Parameters
modeslicer to access - use constants from iASlicerMode enum

◆ slicerSettings()

iASlicerSettings const & MdiChild::slicerSettings ( ) const

◆ slicerSettingsChanged

void MdiChild::slicerSettingsChanged ( )
signal

◆ slicerTransform()

vtkTransform * MdiChild::slicerTransform ( )

◆ toggleMagicLens()

void MdiChild::toggleMagicLens ( bool  isEnabled)

Magic Lens.

◆ toggleSliceProfile()

void MdiChild::toggleSliceProfile ( bool  isEnabled)

◆ toggleSnakeSlicer()

void MdiChild::toggleSnakeSlicer ( bool  isEnabled)

◆ transferFunctionChanged

void MdiChild::transferFunctionChanged ( )
signal

◆ updateChannel()

void MdiChild::updateChannel ( uint  id,
vtkSmartPointer< vtkImageData >  imgData,
vtkScalarsToColors *  ctf,
vtkPiecewiseFunction *  otf,
bool  enable 
)

Update the data of the given channel ID.

◆ updateChannelMappers()

void MdiChild::updateChannelMappers ( )

◆ updateChannelOpacity()

void MdiChild::updateChannelOpacity ( uint  id,
double  opacity 
)

Update opacity of the given channel ID.

◆ updateLayout()

void MdiChild::updateLayout ( )

◆ updateProbe

void MdiChild::updateProbe ( int  ptIndex,
double *  newPos 
)
slot

◆ updateProgressBar

void MdiChild::updateProgressBar ( int  i)
slot

◆ updateROI()

void MdiChild::updateROI ( int const  roi[6])

◆ updateSlicer

void MdiChild::updateSlicer ( int  index)
slot

◆ updateSlicers

void MdiChild::updateSlicers ( )
slot

◆ updateViews

void MdiChild::updateViews ( )
slot

◆ updateVolumePlayerView

bool MdiChild::updateVolumePlayerView ( int  updateIndex,
bool  isApplyForAll 
)
slot

◆ userFriendlyCurrentFile()

QString MdiChild::userFriendlyCurrentFile ( ) const

◆ viewsUpdated

void MdiChild::viewsUpdated ( )
signal

◆ volumeSettings()

iAVolumeSettings const & MdiChild::volumeSettings ( ) const

◆ volumeStack()

iAVolumeStack * MdiChild::volumeStack ( )

◆ waitForPreviousIO()

void MdiChild::waitForPreviousIO ( )

waits for the IO thread to finish in case any I/O operation is running; otherwise it will immediately exit


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