![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
vtk-based slicer widget. "Channels" (i.e. image layers) are inserted via the addChannel method More...
#include <iASlicer.h>
Public Slots | |
| virtual void | rotateSlice (double angle)=0 |
| virtual void | saveAsImage ()=0 |
| Save an image of the image viewer native resolution or the current view. More... | |
| virtual void | saveMovie ()=0 |
| Save a movie of a full slice-through of the specimen from top to bottom. More... | |
| virtual void | setSliceNumber (int sliceNumber)=0 |
| virtual void | update ()=0 |
Signals | |
| void | altMouseWheel (int angle) |
| void | clicked () |
| void | ctrlMouseWheel (int angle) |
| void | dblClicked () |
| void | leftClicked (int x, int y, int z) |
| void | leftDragged (int x, int y, int z) |
| void | magicLensToggled (bool enabled) |
| void | oslicerPos (int x, int y, int z, int mode) |
| triggered on mouse move More... | |
| void | pick () |
| void | released (int x, int y, int z) |
| void | rightClicked (int x, int y, int z) |
| void | shiftMouseWheel (int angle) |
| void | sliceNumberChanged (int mode, int sliceNumber) |
| triggered when slice number changed. More... | |
| void | updateSignal () |
| void | userInteraction () |
Public Member Functions | |
| iASlicer (QWidget *parent) | |
| virtual | ~iASlicer () |
| virtual void | addImageActor (vtkSmartPointer< vtkImageActor > imgActor)=0 |
| virtual void | blend (vtkAlgorithmOutput *data1, vtkAlgorithmOutput *data2, double opacity, double *range)=0 |
| Blend two images. Should probably be implemented in terms of two channels? More... | |
| virtual vtkCamera * | camera ()=0 |
| Access to the slicer's main renderer's camera. More... | |
| virtual void | disableInteractor ()=0 |
| virtual void | enableInteractor ()=0 |
| virtual void | execute (vtkObject *caller, unsigned long eventId, void *callData)=0 |
| virtual vtkRenderWindowInteractor * | interactor ()=0 |
| Access to the interactor of this slicer's render window. More... | |
| virtual iASlicerMode | mode () const =0 |
| Get the slice mode (which axis-aligned slice-plane is used for slicing). More... | |
| virtual void | removeImageActor (vtkSmartPointer< vtkImageActor > imgActor)=0 |
| virtual vtkRenderer * | renderer ()=0 |
| Access to the slicer's main renderer. More... | |
| virtual vtkGenericOpenGLRenderWindow * | renderWindow ()=0 |
| Access to the slicer's render window. More... | |
| virtual void | resetCamera ()=0 |
| Resets the slicer's main renderer's camera such that all channels in it are visible. More... | |
| virtual void | setBackground (double r, double g, double b)=0 |
| Sets the background color of the slicer. More... | |
| virtual void | setCamera (vtkCamera *camera, bool camOwner=true)=0 |
| Set the camera for the slicer's main renderer. More... | |
| virtual void | setDefaultInteractor ()=0 |
| virtual void | setIndex (int x, int y, int z)=0 |
| virtual void | setLinkedMdiChild (iAMdiChild *mdiChild)=0 |
| in case the "linked mdi" feature is used, use this to set the mdi child this slicer is linked to. More... | |
| virtual void | setMode (const iASlicerMode mode)=0 |
| Sets the slice mode (which axis-aligned slice-plane to use for slicing). More... | |
| virtual void | setResliceAxesOrigin (double x, double y, double z)=0 |
| virtual void | setScalarBarTF (vtkScalarsToColors *ctf)=0 |
| virtual void | setShowText (bool isVisible)=0 |
| Enable/disable the tooltip text. More... | |
| virtual void | setup (iASingleSlicerSettings const &settings)=0 |
| Sets up the slicer with the given settings. More... | |
| virtual int | sliceNumber () const =0 |
| Get current slice number. More... | |
| virtual void | updateChannelMappers ()=0 |
| virtual void | setMagicLensEnabled (bool isEnabled)=0 |
| Magic Lens methods. More... | |
| virtual void | setMagicLensCount (int count)=0 |
| virtual void | setMagicLensInput (uint id)=0 |
| virtual uint | magicLensInput () const =0 |
| virtual void | setMagicLensOpacity (double opacity)=0 |
| virtual double | magicLensOpacity () const =0 |
| virtual void | updateMagicLensColors ()=0 |
| virtual void | updateMagicLens ()=0 |
| virtual iAMagicLens * | magicLens ()=0 |
| virtual void | addChannel (uint id, iAChannelData const &chData, bool enable)=0 |
| management of channels - each channel represents one "layer" More... | |
| virtual void | removeChannel (uint id)=0 |
| virtual void | updateChannel (uint id, iAChannelData const &chData)=0 |
| virtual iAChannelSlicerData * | channel (uint id)=0 |
| virtual void | setChannelOpacity (uint id, double opacity)=0 |
| virtual void | enableChannel (uint id, bool enabled)=0 |
| virtual bool | hasChannel (uint id) const =0 |
| virtual void | setROIVisible (bool isVisible)=0 |
| ROI rectangle. More... | |
| virtual void | updateROI (int const roi[6])=0 |
| virtual void | setContours (int numberOfContours, double contourMin, double contourMax)=0 |
| set contour line parameters. More... | |
| virtual void | setContours (int numberOfContours, double const *contourValues)=0 |
vtk-based slicer widget. "Channels" (i.e. image layers) are inserted via the addChannel method
|
inline |
|
inlinevirtual |
|
pure virtual |
management of channels - each channel represents one "layer"
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
signal |
|
pure virtual |
Blend two images. Should probably be implemented in terms of two channels?
Implemented in iASlicerImpl.
|
pure virtual |
Access to the slicer's main renderer's camera.
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
signal |
|
signal |
|
signal |
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Access to the interactor of this slicer's render window.
Implemented in iASlicerImpl.
|
signal |
|
signal |
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
signal |
|
pure virtual |
Get the slice mode (which axis-aligned slice-plane is used for slicing).
Implemented in iASlicerImpl.
|
signal |
triggered on mouse move
|
signal |
|
signal |
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Access to the slicer's main renderer.
Implemented in iASlicerImpl.
|
pure virtual |
Access to the slicer's render window.
Implemented in iASlicerImpl.
|
pure virtual |
Resets the slicer's main renderer's camera such that all channels in it are visible.
Implemented in iASlicerImpl.
|
signal |
|
pure virtualslot |
|
pure virtualslot |
Save an image of the image viewer native resolution or the current view.
|
pure virtualslot |
Save a movie of a full slice-through of the specimen from top to bottom.
|
pure virtual |
Sets the background color of the slicer.
By default, background color is auto-determined via the slicer mode. If set manually via this method, it will keep the given color indefinitely
| r | red color part (0..1) |
| g | green color part (0..1) |
| b | blue color part (0..1) |
Implemented in iASlicerImpl.
|
pure virtual |
Set the camera for the slicer's main renderer.
Use this if you want share the camera between multiple views (i.e. synchronize their viewing parameters)
| camera | the new camera to assing |
| camOwner | whether the slicer should assume ownership of the camera. If true, Delete() will be called on it in the destructor |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
set contour line parameters.
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
in case the "linked mdi" feature is used, use this to set the mdi child this slicer is linked to.
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Magic Lens methods.
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Sets the slice mode (which axis-aligned slice-plane to use for slicing).
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
ROI rectangle.
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Enable/disable the tooltip text.
Implemented in iASlicerImpl.
|
pure virtualslot |
|
pure virtual |
Sets up the slicer with the given settings.
Implemented in iASlicerImpl.
|
signal |
|
pure virtual |
Get current slice number.
Implemented in iASlicerImpl.
|
signal |
triggered when slice number changed.
| mode | slicer mode (=plane) |
| sliceNumber | number of the slice that was switched to |
|
pure virtualslot |
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
pure virtual |
Implemented in iASlicerImpl.
|
signal |
|
signal |