Interface for child windows, used for showing datasets and optional additional tools from the modules.
More...
|
| void | closed (iAMdiChild *child) |
| | Emitted when this child window is about to be closed; the closing child will still be within the lists of open windows, e.g.
|
| |
| 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 | linkSliceViewsChanged (bool linked) |
| | emitted when the link slice views setting changes
|
| |
| 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 | renderSettingsChanged () |
| | emitted when the renderer settings have changed
|
| |
| void | slicerSettingsChanged () |
| | emitted when the slicer settings have changed
|
| |
| void | toolRemoved (QString const &id) |
| | emitted when a tool is removed from this child
|
| |
| void | viewsUpdated () |
| | emitted when the slicer/renderer views have been updated, and when their camera has been reset
|
| |
|
| virtual size_t | addDataSet (std::shared_ptr< iADataSet > dataSet)=0 |
| | apply the given (3D) renderer settings
|
| |
| 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 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 void | initProfilePoints (double const *start, double const *end)=0 |
| | called to initialize profile point positions in renderer and slicer
|
| |
| 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 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 | 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 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 | updatePositionMarkerSize ()=0 |
| | update the size of position markers in slicers and renderers based on the marker size setting and the unit distance (spacing) of datasets
|
| |
| virtual void | updateROI (int const roi[6])=0 |
| |
|
| virtual iAChannelData * | channelData (uint id)=0 |
| |
| virtual iAChannelData const * | channelData (uint id) const =0 |
| |
Interface for child windows, used for showing datasets and optional additional tools from the modules.