|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Child window of MainWindow's mdi area for showing a volume or mesh dataset. More...
#include <mdichild.h>
Public Slots | |
| void | camPosition (double *camOptions) |
| Calls the camPosition function of iARenderer (described there in more detail). | |
| void | enableRendererInteraction (bool enable) |
| set renderer interaction on / off | |
| void | enableSlicerInteraction (bool enable) |
| set slicer interaction on / off | |
| void | maximizeRenderer () |
| maximize the renderer (so that it takes all of the child's space, all other dock widgets are hidden) | |
| void | setCamPosition (double *camOptions, bool rsParallelProjection) |
| Calls the setCamPosition function of iARenderer (described there in more detail). | |
| void | setPredefCamPos (int pos) |
| Calls the setCamPosition function of iARenderer (described there in more detail). | |
| void | toggleProfileHandles (bool isChecked) |
| called when the user wants to display the profile handles inside the views showing the dataset (3D renderer and slicers) | |
| void | updateRenderer () override |
| update 3D renderer | |
| void | updateSlicer (int index) |
| update a specific slicer (specified through slicer mode, | |
| void | updateSlicers () override |
| update all 3 axis-aligned slicer | |
| void | updateViews () override |
| update all dataset views (3D renderer + all 3 axis-aligned slicers) | |
Public Slots inherited from iAMdiChild | |
| virtual void | updateRenderer ()=0 |
| Update 3D renderer. | |
| virtual void | updateSlicers ()=0 |
| Update all slice views. | |
| virtual void | updateViews ()=0 |
| Updates all views (slicers, renderers) | |
Public Member Functions | |
| MdiChild (MainWindow *mainWnd, iAPreferences const &preferences, bool unsavedChanges) | |
| ~MdiChild () | |
| size_t | addDataSet (std::shared_ptr< iADataSet > dataSet) override |
| add a dataset | |
| void | addTool (QString const &key, std::shared_ptr< iATool > tool) override |
| Add a new tool to this child window. | |
| void | applyPreferences (iAPreferences const &p) |
| void | applyRendererSettings (iARenderSettings const &rs, iAVolumeSettings const &vs) override |
| apply the given (3D) renderer settings | |
| void | applySlicerSettings (iASlicerSettings const &ss) |
| void | applyViewerPreferences () |
| void | applyVolumeSettings () |
| std::shared_ptr< iADataSet > | chooseDataSet (QString const &title="Choose dataset") override |
| If more than one dataset loaded, ask user to choose one of them (used for saving) | |
| void | clearDataSets () override |
| clear (remove) all datasets | |
| QString | currentFile () const override |
| Name of the currently open file (project file / first modality file / ...) If possible, use something more specific (e.g. | |
| QDockWidget * | dataInfoDockWidget () override |
| Access to dataset information dock widget. | |
| std::shared_ptr< iADataSet > | dataSet (size_t dataSetIdx) const override |
| Retrieve a dataset by its index. | |
| size_t | dataSetIndex (iADataSet const *dataSet) const override |
| Retrieve the index of a dataset. | |
| iADataSetListWidget * | dataSetListWidget () override |
| Retrieve dataset list. | |
| std::map< size_t, std::shared_ptr< iADataSet > > const & | dataSetMap () const override |
| Retrieve a list of the indices of all datasets loaded in this window. | |
| iADataSetViewer * | dataSetViewer (size_t idx) const override |
| Retrieve the viewer for the dataset with given index. | |
| bool | doSaveProject (QString const &projectFileName) override |
| Store current situation in the given project file: | |
| QFileInfo const & | fileInfo () const override |
| Access to file info of "current" file. | |
| QString | filePath () const override |
| vtkSmartPointer< vtkImageData > | firstImageData () const override |
| Retrieve the first image dataset (if any loaded). | |
| size_t | firstImageDataSetIdx () const override |
| Retrieve the index of the first image data set (if any loaded), or NoDataSet if none loaded. | |
| bool | hasUnsavedData () const |
| void | initializeViews () |
| performs initialization that needs to be done after the widget is being displayed | |
| iAInteractionMode | interactionMode () const override |
| Retrieve the current interaction mode (whether camera is changed, or manual registration is active, see iAInteractionMode) | |
| bool | isRendererInteractionEnabled () const |
| return true if interaction is enabled in renderer, false otherwise | |
| bool | isSliceProfileEnabled () const |
| bool | isSlicerInteractionEnabled () const |
| return true if interaction is enabled in all slicers, false otherwise (i.e. if disabled in at least one) | |
| bool | isSnakeSlicerToggled () const |
| bool | isVolumeDataLoaded () const override |
| Whether volume data is loaded (only checks filename and volume dimensions). | |
| QString | layoutName () const override |
| Returns the name of the layout currently applied to this child window. | |
| bool | linkedMDIs () const |
| Whether this child has the linked MDIs feature enabled. | |
| bool | linkedViews () const override |
| Whether this child has the linked views feature enabled. | |
| void | linkMDIs (bool lm) |
| Enable or disable linked MDI windows for this MDI child. | |
| void | linkViews (bool l) |
| Enable or disable linked slicers and 3D renderer. | |
| void | loadLayout (QString const &layout) override |
| Loads the layout with the given name from the settings store, and tries to restore the according dockwidgets configuration. | |
| void | loadSettings (QSettings const &settings) override |
| load state (saved via saveState) | |
| void | maximizeSlicer (int mode) |
| maximize slicer dockwidget with the given mode | |
| void | multiview () override |
| Apply the "multiview" layout (i.e. where not only one dock widget but multiple are shown) | |
| iAPreferences const & | preferences () const override |
| bool | profileHandlesEnabled () const |
| whether profile handles are currently shown (i.e. "Edit profile points" mode is enabled) | |
| void | removeDataSet (size_t dataSetIdx) override |
| remove dataset with given ID | |
| void | removeTool (QString const &key) override |
| Remove tool with the given key from this window. | |
| QDockWidget * | renderDockWidget () override |
| Access to 3D renderer dock widget. | |
| iARenderer * | renderer () override |
| Access to the 3D renderer widget. | |
| QWidget * | rendererWidget () override |
| Access to 3D renderer widget. | |
| iARenderSettings const & | renderSettings () const override |
| void | resetLayout () |
| reset the layout to the way it was directly after setting up this child | |
| bool | resultInNewWindow () const |
| Whether results should be opened in a new window; if false, they replace the content of the current window instead. | |
| bool | save () |
| void | saveSettings (QSettings &settings) override |
| save state, for example camera position | |
| void | saveVolumeStack () |
| void | set3DControlVisibility (bool visible) override |
| void | setDataSetMovable (size_t dataSetIdx) override |
| a crutch for letting interactor know which dataset is to be moved and synced across slicers | |
| void | setInteractionMode (iAInteractionMode mode) |
| void | setProfilePoints (double const *start, double const *end) override |
| called to set profile point positions in renderer and slicer | |
| void | setRenderSettings (iARenderSettings const &rs, iAVolumeSettings const &vs) |
| void | setROIVisible (bool visible) override |
| void | setWindowTitleAndFile (const QString &f) override |
| set window title, and if a file name is given, set it as window file and add it to recent files | |
| int | sliceNumber (int mode) const |
| Get current slice number in the respective slicer. | |
| iASlicer * | slicer (int mode) override |
| Access slicer for given mode (use iASlicerMode enum for mode values) | |
| QHBoxLayout * | slicerContainerLayout (int mode) override |
| Access to the layout in the slicer dockwidget containing the actual iASlicer. | |
| QDockWidget * | slicerDockWidget (int mode) override |
| Access to slicer dock widget for the given mode. | |
| QSlider * | slicerScrollBar (int mode) override |
| Access to the scroll bar next to a slicer. | |
| iASlicerSettings const & | slicerSettings () const override |
| vtkTransform * | slicerTransform () override |
| void | toggleSliceProfile (bool isEnabled) |
| void | toggleSnakeSlicer (bool isEnabled) |
| QMap< QString, std::shared_ptr< iATool > > const & | tools () override |
| Retrieve all currently attached tools and their keys. | |
| void | updateLayout () override |
| Apply the layout currently selected in the layout combobox in the main window. | |
| void | updateROI (int const roi[6]) override |
| iAVolumeSettings const & | volumeSettings () const override |
| uint | createChannel () override |
| void | updateChannel (uint id, vtkSmartPointer< vtkImageData > imgData, vtkScalarsToColors *ctf, vtkPiecewiseFunction *otf, bool enable) override |
| Update the data of the given channel ID. | |
| void | updateChannelOpacity (uint id, double opacity) override |
| Update opacity of the given channel ID. | |
| void | setChannelRenderingEnabled (uint, bool enabled) override |
| Enable/Disable channel rendering for a given channel ID. | |
| void | setSlicerChannelEnabled (uint id, bool enabled) |
| Enable / disable a channel in all slicers. | |
| void | removeChannel (uint id) override |
| Remove channel in all slicers. | |
| iAChannelData * | channelData (uint id) override |
| iAChannelData const * | channelData (uint id) const override |
| void | initChannelRenderer (uint id, bool use3D, bool enableChannel=true) override |
| Initialize the renderers for a channel. | |
| void | toggleMagicLens3D (bool isEnabled) |
| 3D Magic Lens | |
| bool | isMagicLens3DEnabled () const |
| vtkRenderer * | magicLens3DRenderer () const override |
| Reinitialize magic lens channel? | |
| void | toggleMagicLens2D (bool isEnabled) |
| 2D Magic Lens | |
| bool | isMagicLens2DEnabled () const override |
| whether the 2D magic lens in slicer is currently enabled | |
| void | setMagicLensInput (uint id) override |
| Set the ID of the channel which should be the input to the 2D magic lens in slicer. | |
| void | setMagicLensEnabled (bool isOn) override |
| Enable/Disable the 2D magic lens in slicer. | |
| int | magicLensSize () const |
| int | magicLensFrameWidth () const |
| virtual size_t | addDataSet (std::shared_ptr< iADataSet > dataSet)=0 |
| add a dataset | |
| virtual void | addTool (QString const &key, std::shared_ptr< iATool > tool)=0 |
| add a tool to this child (a collection of UI elements with their own behavior and state) | |
| virtual void | applyRendererSettings (iARenderSettings const &rs, iAVolumeSettings const &vs)=0 |
| apply the given (3D) renderer settings | |
| virtual std::shared_ptr< iADataSet > | chooseDataSet (QString const &title="Choose dataset")=0 |
| If more than one dataset loaded, ask user to choose one of them (used for saving) | |
| virtual void | clearDataSets ()=0 |
| clear (remove) all datasets | |
| virtual uint | createChannel ()=0 |
| Create a new channel, return its ID. | |
| virtual QString | currentFile () const =0 |
| Name of the currently open file (project file / first modality file / ...) If possible, use something more specific (e.g. | |
| virtual QDockWidget * | dataInfoDockWidget ()=0 |
| Access to dataset information dock widget. | |
| virtual std::shared_ptr< iADataSet > | dataSet (size_t dataSetIdx) const =0 |
| Retrieve a dataset by its index. | |
| virtual size_t | dataSetIndex (iADataSet const *dataSet) const =0 |
| Retrieve the index of a dataset. | |
| virtual iADataSetListWidget * | dataSetListWidget ()=0 |
| Retrieve dataset list. | |
| virtual std::map< size_t, std::shared_ptr< iADataSet > > const & | dataSetMap () const =0 |
| Retrieve a list of the indices of all datasets loaded in this window. | |
| virtual iADataSetViewer * | dataSetViewer (size_t idx) const =0 |
| Retrieve the viewer for the dataset with given index. | |
| virtual QFileInfo const & | fileInfo () const =0 |
| Access to file info of "current" file. | |
| virtual QString | filePath () const =0 |
| virtual vtkSmartPointer< vtkImageData > | firstImageData () const =0 |
| Retrieve the first image dataset (if any loaded). | |
| virtual size_t | firstImageDataSetIdx () const =0 |
| Retrieve the index of the first image data set (if any loaded), or NoDataSet if none loaded. | |
| virtual void | initChannelRenderer (uint id, bool use3D, bool enableChannel=true)=0 |
| Initialize the renderers for a channel. | |
| virtual iAInteractionMode | interactionMode () const =0 |
| Retrieve the current interaction mode (whether camera is changed, or manual registration is active, see iAInteractionMode) | |
| virtual bool | isMagicLens2DEnabled () const =0 |
| whether the 2D magic lens in slicer is currently enabled | |
| virtual bool | isVolumeDataLoaded () const =0 |
| whether the child currently has volume data loaded | |
| virtual QString | layoutName () const =0 |
| Returns the name of the layout currently applied to this child window. | |
| virtual bool | linkedViews () const =0 |
| Whether this child has the linked views feature enabled. | |
| virtual void | loadLayout (QString const &layout)=0 |
| Loads the layout with the given name from the settings store, and tries to restore the according dockwidgets configuration. | |
| virtual void | loadSettings (QSettings const &settings)=0 |
| load state (saved via saveState) | |
| virtual vtkRenderer * | magicLens3DRenderer () const =0 |
| Reinitialize magic lens channel? | |
| virtual void | multiview ()=0 |
| Apply the "multiview" layout (i.e. where not only one dock widget but multiple are shown) | |
| virtual iAPreferences const & | preferences () const =0 |
| virtual void | removeChannel (uint id)=0 |
| Remove channel in all slicers. | |
| virtual void | removeDataSet (size_t dataSetIdx)=0 |
| remove dataset with given ID | |
| virtual void | removeTool (QString const &key)=0 |
| removes the given tool from this child | |
| virtual QDockWidget * | renderDockWidget ()=0 |
| Access to 3D renderer dock widget. | |
| virtual iARenderer * | renderer ()=0 |
| Access to the 3D renderer widget. | |
| virtual QWidget * | rendererWidget ()=0 |
| Access to widget containing the 3D renderer. | |
| virtual iARenderSettings const & | renderSettings () const =0 |
| virtual void | saveSettings (QSettings &settings)=0 |
| save state, for example camera position | |
| virtual void | set3DControlVisibility (bool visible)=0 |
| virtual void | setChannelRenderingEnabled (uint, bool enabled)=0 |
| Enable/Disable channel rendering for a given channel ID. | |
| virtual void | setDataSetMovable (size_t dataSetIdx)=0 |
| a crutch for letting interactor know which dataset is to be moved and synced across slicers | |
| virtual void | setMagicLensEnabled (bool isOn)=0 |
| Enable/Disable the 2D magic lens in slicer. | |
| virtual void | setMagicLensInput (uint id)=0 |
| Set the ID of the channel which should be the input to the 2D magic lens in slicer. | |
| virtual void | setProfilePoints (double const *start, double const *end)=0 |
| called to set profile point positions in renderer and slicer | |
| virtual void | setROIVisible (bool isVisible)=0 |
| virtual void | setWindowTitleAndFile (QString const &f)=0 |
| set window title, and if a file name is given, set it as window file and add it to recent files | |
| virtual iASlicer * | slicer (int mode)=0 |
| Access slicer for given mode (use iASlicerMode enum for mode values) | |
| virtual QHBoxLayout * | slicerContainerLayout (int mode)=0 |
| Access to the layout in the slicer dockwidget containing the actual iASlicer. | |
| virtual QDockWidget * | slicerDockWidget (int mode)=0 |
| Access to slicer dock widget for the given mode. | |
| virtual QSlider * | slicerScrollBar (int mode)=0 |
| Access to the scroll bar next to a slicer. | |
| virtual iASlicerSettings const & | slicerSettings () const =0 |
| virtual vtkTransform * | slicerTransform ()=0 |
| virtual QMap< QString, std::shared_ptr< iATool > > const & | tools ()=0 |
| retrieve all tools attached to this child | |
| virtual void | updateChannel (uint id, vtkSmartPointer< vtkImageData > imgData, vtkScalarsToColors *ctf, vtkPiecewiseFunction *otf, bool enable)=0 |
| Update the data of the given channel ID. | |
| virtual void | updateChannelOpacity (uint id, double opacity)=0 |
| Update opacity of the given channel ID. | |
| virtual void | updateLayout ()=0 |
| Apply the layout currently selected in the layout combobox in the main window. | |
| virtual void | updateROI (int const roi[6])=0 |
| virtual iAVolumeSettings const & | volumeSettings () const =0 |
Public Member Functions inherited from iASavableProject | |
| QString const & | fileName () const |
| return the name of the last file that was stored | |
| bool | saveProject (QString const &basePath) |
| Called from main window to save the project of the current window. | |
Additional Inherited Members | |
Public Types inherited from iAMdiChild | |
| enum | iAInteractionMode { imCamera , imRegistration } |
Signals inherited from iAMdiChild | |
| void | closed () |
| void | dataSetChanged (size_t dataSetIdx) |
| emitted when properties of a dataset have been changed | |
| void | dataSetPrepared (size_t dataSetIdx) |
| emitted when all data for displaying a dataset has been prepared | |
| void | dataSetRemoved (size_t dataSetIdx) |
| emitted when a dataset has been removed | |
| void | dataSetRendered (size_t dataSetIdx) |
| emitted when the dataset has been added to all relevant views | |
| void | dataSetSelected (size_t dataSetIdx) |
| emitted when a dataset has been selected in the data list | |
| void | fileLoaded () |
| emitted when the file data is loaded; the initialization operations are not fully done yet then - use dataSetRendered instead if you require the file to be fully loaded! | |
| void | magicLensToggled (bool isToggled) |
| emitted whenever the magic lens has been toggled on or off | |
| void | preferencesChanged () |
| emitted when the preferences have changed | |
| void | profilePointChanged (int pointIdx, double *globalPos) |
| emitted whenever one of the profile points changes | |
| void | rendererDeactivated (int c) |
| void | renderSettingsChanged () |
| emitted when the renderer settings have changed | |
| void | slicerSettingsChanged () |
| emitted when the slicer settings have changed | |
| void | viewsUpdated () |
| emitted when the slicer/renderer views have been updated, and when their camera has been reset | |
Static Public Attributes inherited from iAMdiChild | |
| static const size_t | NoDataSet = std::numeric_limits<size_t>::max() |
| Constant indicating an invalid dataset index. | |
Protected Member Functions inherited from iASavableProject | |
| virtual | ~iASavableProject () |
| Prevent destruction of the object through this interface. | |
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.
| MdiChild::MdiChild | ( | MainWindow * | mainWnd, |
| iAPreferences const & | preferences, | ||
| bool | unsavedChanges | ||
| ) |
| MdiChild::~MdiChild | ( | ) |
|
overridevirtual |
add a dataset
Implements iAMdiChild.
|
overridevirtual |
Add a new tool to this child window.
| key | a unique key for identifying this tool; will also be used for storing the tool state in a project file |
| tool | an instance of an iATool-derived class providing some graphical or computational tool |
Implements iAMdiChild.
| void MdiChild::applyPreferences | ( | iAPreferences const & | p | ) |
|
overridevirtual |
apply the given (3D) renderer settings
Implements iAMdiChild.
| void MdiChild::applySlicerSettings | ( | iASlicerSettings const & | ss | ) |
| void MdiChild::applyViewerPreferences | ( | ) |
| void MdiChild::applyVolumeSettings | ( | ) |
|
slot |
Calls the camPosition function of iARenderer (described there in more detail).
| camOptions | All informations of the camera stored in a double array |
|
overridevirtual |
Implements iAMdiChild.
|
overridevirtual |
Retrieve data for a given channel ID
Implements iAMdiChild.
|
overridevirtual |
If more than one dataset loaded, ask user to choose one of them (used for saving)
Implements iAMdiChild.
|
overridevirtual |
clear (remove) all datasets
Implements iAMdiChild.
|
overridevirtual |
Multi-Channel rendering TODO NEWIO: check if we still need multi-channel feature or if it can be replaced with dataSets! Create a new channel, return its ID.
Implements iAMdiChild.
|
overridevirtual |
Name of the currently open file (project file / first modality file / ...) If possible, use something more specific (e.g.
file name from specific modality)
Implements iAMdiChild.
|
overridevirtual |
Access to dataset information dock widget.
Implements iAMdiChild.
|
overridevirtual |
Retrieve a dataset by its index.
Implements iAMdiChild.
|
overridevirtual |
Retrieve the index of a dataset.
Implements iAMdiChild.
|
overridevirtual |
Retrieve dataset list.
Implements iAMdiChild.
|
overridevirtual |
Retrieve a list of the indices of all datasets loaded in this window.
Implements iAMdiChild.
|
overridevirtual |
Retrieve the viewer for the dataset with given index.
Implements iAMdiChild.
|
overridevirtual |
Store current situation in the given project file:
Implements iASavableProject.
|
slot |
set renderer interaction on / off
|
slot |
set slicer interaction on / off
|
overridevirtual |
Access to file info of "current" file.
Implements iAMdiChild.
|
overridevirtual |
Implements iAMdiChild.
|
overridevirtual |
Retrieve the first image dataset (if any loaded).
Will produce an error log entry if no image data is found so use with care
Implements iAMdiChild.
|
overridevirtual |
Retrieve the index of the first image data set (if any loaded), or NoDataSet if none loaded.
Implements iAMdiChild.
| bool MdiChild::hasUnsavedData | ( | ) | const |
|
overridevirtual |
Initialize the renderers for a channel.
Implements iAMdiChild.
| void MdiChild::initializeViews | ( | ) |
performs initialization that needs to be done after the widget is being displayed
|
overridevirtual |
Retrieve the current interaction mode (whether camera is changed, or manual registration is active, see iAInteractionMode)
Implements iAMdiChild.
|
overridevirtual |
whether the 2D magic lens in slicer is currently enabled
Implements iAMdiChild.
| bool MdiChild::isMagicLens3DEnabled | ( | ) | const |
| bool MdiChild::isRendererInteractionEnabled | ( | ) | const |
return true if interaction is enabled in renderer, false otherwise
| bool MdiChild::isSliceProfileEnabled | ( | ) | const |
| bool MdiChild::isSlicerInteractionEnabled | ( | ) | const |
return true if interaction is enabled in all slicers, false otherwise (i.e. if disabled in at least one)
| bool MdiChild::isSnakeSlicerToggled | ( | ) | const |
|
overridevirtual |
Whether volume data is loaded (only checks filename and volume dimensions).
Implements iAMdiChild.
|
overridevirtual |
Returns the name of the layout currently applied to this child window.
Implements iAMdiChild.
| bool MdiChild::linkedMDIs | ( | ) | const |
Whether this child has the linked MDIs feature enabled.
|
overridevirtual |
Whether this child has the linked views feature enabled.
Implements iAMdiChild.
| void MdiChild::linkMDIs | ( | bool | lm | ) |
Enable or disable linked MDI windows for this MDI child.
| void MdiChild::linkViews | ( | bool | l | ) |
Enable or disable linked slicers and 3D renderer.
|
overridevirtual |
Loads the layout with the given name from the settings store, and tries to restore the according dockwidgets configuration.
Implements iAMdiChild.
|
overridevirtual |
load state (saved via saveState)
Implements iAMdiChild.
|
overridevirtual |
Reinitialize magic lens channel?
Implements iAMdiChild.
| int MdiChild::magicLensFrameWidth | ( | ) | const |
| int MdiChild::magicLensSize | ( | ) | const |
|
slot |
maximize the renderer (so that it takes all of the child's space, all other dock widgets are hidden)
| void MdiChild::maximizeSlicer | ( | int | mode | ) |
maximize slicer dockwidget with the given mode
|
overridevirtual |
Apply the "multiview" layout (i.e. where not only one dock widget but multiple are shown)
Implements iAMdiChild.
|
overridevirtual |
Implements iAMdiChild.
| bool MdiChild::profileHandlesEnabled | ( | ) | const |
whether profile handles are currently shown (i.e. "Edit profile points" mode is enabled)
|
overridevirtual |
Remove channel in all slicers.
Implements iAMdiChild.
|
overridevirtual |
remove dataset with given ID
Implements iAMdiChild.
|
overridevirtual |
Remove tool with the given key from this window.
| key | the tool's unique identifying key (the one that was used in addTool for adding the same tool) |
Implements iAMdiChild.
|
overridevirtual |
Access to 3D renderer dock widget.
Implements iAMdiChild.
|
overridevirtual |
Access to the 3D renderer widget.
Implements iAMdiChild.
|
overridevirtual |
Access to 3D renderer widget.
Implements iAMdiChild.
|
overridevirtual |
Implements iAMdiChild.
| void MdiChild::resetLayout | ( | ) |
reset the layout to the way it was directly after setting up this child
| bool MdiChild::resultInNewWindow | ( | ) | const |
Whether results should be opened in a new window; if false, they replace the content of the current window instead.
| bool MdiChild::save | ( | ) |
|
overridevirtual |
save state, for example camera position
Implements iAMdiChild.
| void MdiChild::saveVolumeStack | ( | ) |
|
overridevirtual |
Implements iAMdiChild.
|
slot |
Calls the setCamPosition function of iARenderer (described there in more detail).
| camOptions | All informations of the camera stored in a double array |
| rsParallelProjection | boolean variable to determine if parallel projection option on. |
|
overridevirtual |
Enable/Disable channel rendering for a given channel ID.
Implements iAMdiChild.
|
overridevirtual |
a crutch for letting interactor know which dataset is to be moved and synced across slicers
Implements iAMdiChild.
| void MdiChild::setInteractionMode | ( | iAInteractionMode | mode | ) |
|
overridevirtual |
Enable/Disable the 2D magic lens in slicer.
Implements iAMdiChild.
|
overridevirtual |
Set the ID of the channel which should be the input to the 2D magic lens in slicer.
Implements iAMdiChild.
|
slot |
Calls the setCamPosition function of iARenderer (described there in more detail).
| pos | set one of the predefined camera positions |
|
overridevirtual |
called to set profile point positions in renderer and slicer
Implements iAMdiChild.
| void MdiChild::setRenderSettings | ( | iARenderSettings const & | rs, |
| iAVolumeSettings const & | vs | ||
| ) |
|
overridevirtual |
Implements iAMdiChild.
| void MdiChild::setSlicerChannelEnabled | ( | uint | id, |
| bool | enabled | ||
| ) |
Enable / disable a channel in all slicers.
|
overridevirtual |
set window title, and if a file name is given, set it as window file and add it to recent files
Implements iAMdiChild.
| int MdiChild::sliceNumber | ( | int | mode | ) | const |
Get current slice number in the respective slicer.
|
overridevirtual |
Access slicer for given mode (use iASlicerMode enum for mode values)
Implements iAMdiChild.
|
overridevirtual |
Access to the layout in the slicer dockwidget containing the actual iASlicer.
Implements iAMdiChild.
|
overridevirtual |
Access to slicer dock widget for the given mode.
| mode | slicer to access - use constants from iASlicerMode enum |
Implements iAMdiChild.
|
overridevirtual |
Access to the scroll bar next to a slicer.
Implements iAMdiChild.
|
overridevirtual |
Implements iAMdiChild.
|
overridevirtual |
Implements iAMdiChild.
| void MdiChild::toggleMagicLens2D | ( | bool | isEnabled | ) |
2D Magic Lens
| void MdiChild::toggleMagicLens3D | ( | bool | isEnabled | ) |
3D Magic Lens
|
slot |
called when the user wants to display the profile handles inside the views showing the dataset (3D renderer and slicers)
| void MdiChild::toggleSliceProfile | ( | bool | isEnabled | ) |
| void MdiChild::toggleSnakeSlicer | ( | bool | isEnabled | ) |
|
overridevirtual |
Retrieve all currently attached tools and their keys.
Implements iAMdiChild.
|
overridevirtual |
Update the data of the given channel ID.
Implements iAMdiChild.
|
overridevirtual |
Update opacity of the given channel ID.
Implements iAMdiChild.
|
overridevirtual |
Apply the layout currently selected in the layout combobox in the main window.
Implements iAMdiChild.
|
overrideslot |
update 3D renderer
|
overridevirtual |
Implements iAMdiChild.
|
slot |
update a specific slicer (specified through slicer mode,
|
overrideslot |
update all 3 axis-aligned slicer
|
overrideslot |
update all dataset views (3D renderer + all 3 axis-aligned slicers)
|
overridevirtual |
Implements iAMdiChild.