vtk-based slicer widget. "Channels" (i.e. image layers) are inserted via the addChannel method
More...
|
| void | addPoint (double x, double y, double z) |
| | Adds a new spline point to the end of the spline curve.
|
| |
| void | deleteSnakeLine () |
| | Deletes the current spline curve.
|
| |
| void | deselectPoint () |
| | Function to deselect points in snake slicer (necessary to avoid endless loops with signals and slots).
|
| |
| void | menuDeleteSnakeLine () |
| | Called when the delete snake line menu is clicked.
|
| |
| void | movePoint (size_t selectedPointIndex, double xPos, double yPos, double zPos) |
| | Moves a point of the snake slicer to a new position.
|
| |
| void | rotateSlice (double angle) override |
| |
| void | saveAsImage () override |
| | Save an image of the image viewer native resolution or the current view.
|
| |
| void | saveImageStack () |
| | Save an image stack of the current view.
|
| |
| void | saveMovie () override |
| | Save a movie of a full slice-through of the specimen from top to bottom.
|
| |
| void | setProfileHandlesOn (bool isOn) |
| | Toggle the possibility to move start and end point of the profile.
|
| |
| bool | setProfilePoint (int pointIdx, double const *globalPos) |
| | Sets coordinates for line profile.
|
| |
| void | setSlabCompositeMode (int compositeMode) |
| |
| void | setSlabThickness (int thickness) |
| |
| void | setSliceNumber (int sliceNumber) override |
| |
| void | setSliceProfileOn (bool isOn) |
| | Toggle the "raw" profile mode, i.e. whether the profile is shown on top of the slicer image.
|
| |
| void | switchInteractionMode (int mode) |
| | Switches between interaction modi (normal, snake slicer view or editing)
|
| |
| void | update () override |
| |
| virtual void | rotateSlice (double angle)=0 |
| |
| virtual void | saveAsImage ()=0 |
| | Save an image of the image viewer native resolution or the current view.
|
| |
| virtual void | saveMovie ()=0 |
| | Save a movie of a full slice-through of the specimen from top to bottom.
|
| |
| virtual void | setSliceNumber (int sliceNumber)=0 |
| |
| virtual void | update ()=0 |
| |
|
| void | addedPoint (double x, double y, double z) |
| |
| void | deletedSnakeLine () |
| |
| void | deselectedPoint () |
| |
| void | movedPoint (size_t selectedPointIndex, double xPos, double yPos, double zPos) |
| |
| void | profilePointChanged (int pointIdx, double *globalPos) |
| |
| void | regionSelected (double minVal, double maxVal, uint channelID) |
| |
| void | sliceRangeChanged (int minIdx, int maxIdx, int val) |
| | triggered when the slice number range has changed; parameters are new minimum, maximum and current index
|
| |
| void | sliceRotated () |
| | triggered when slice was rotated
|
| |
| void | switchedMode (int mode) |
| |
| void | altMouseWheel (int angle) |
| |
| void | clicked () |
| |
| void | ctrlMouseWheel (int angle) |
| |
| void | dblClicked () |
| |
| void | editSettings () |
| | triggered when the user selects "Settings" from the context menu
|
| |
| void | leftClicked (double x, double y, double z) |
| | Triggered on mouse left button clicked.
|
| |
| void | leftDragged (double x, double y, double z) |
| | Triggered on mouse move with left button clicked.
|
| |
| void | leftReleased (double x, double y, double z) |
| | Triggered on mouse button released.
|
| |
| void | magicLensToggled (bool enabled) |
| |
| void | mouseMoved (double x, double y, double z, int mode) |
| | Triggered on mouse move, sends x,y,z (world) coordinates and mode of slicer.
|
| |
| void | rightClicked (double x, double y, double z) |
| | Triggered on mouse right button clicked.
|
| |
| void | shiftMouseWheel (int angle) |
| |
| void | sliceNumberChanged (int mode, int sliceNumber) |
| | triggered when slice number changed.
|
| |
| void | updateSignal () |
| |
| void | userInteraction () |
| |
|
| | iASlicerImpl (QWidget *parent, const iASlicerMode mode, bool decorations=true, bool magicLensAvailable=true, vtkAbstractTransform *transform=nullptr, vtkPoints *snakeSlicerPoints=nullptr) |
| | Creates a new slicer widget.
|
| |
| virtual | ~iASlicerImpl () |
| |
| void | addImageActor (vtkSmartPointer< vtkImageActor > imgActor) override |
| |
| void | blend (vtkAlgorithmOutput *data1, vtkAlgorithmOutput *data2, double opacity, double *range) override |
| | Blend two images. Should probably be implemented in terms of two channels?
|
| |
| vtkCamera * | camera () override |
| | Access to the slicer's main renderer's camera.
|
| |
| void | enableInteractor (bool b) override |
| |
| void | execute (vtkObject *caller, unsigned long eventId, void *callData) override |
| |
| int | globalAxis (int slicerAxis) override |
| | retrieve the global axis that is represented by the given local axis (e.g. for XY:, 0 -> X, 1 -> Y, 2 -> Z; for XZ: 0 -> X, 1 -> Z, ...)
|
| |
| vtkRenderWindowInteractor * | interactor () override |
| | Access to the interactor of this slicer's render window.
|
| |
| bool | isInteractorEnabled () const override |
| |
| iASlicerMode | mode () const override |
| | Get the slice mode (which axis-aligned slice-plane is used for slicing).
|
| |
| QCursor | mouseCursor () |
| |
| void | removeImageActor (vtkSmartPointer< vtkImageActor > imgActor) override |
| |
| vtkRenderer * | renderer () override |
| | Access to the slicer's main renderer.
|
| |
| vtkGenericOpenGLRenderWindow * | renderWindow () override |
| | Access to the slicer's render window.
|
| |
| void | resetCamera () override |
| | Resets the slicer's main renderer's camera such that all channels in it are visible.
|
| |
| void | saveSliceMovie (QString const &fileName, int qual=2) |
| |
| void | setBackground (QColor color) override |
| | Sets the background color of the slicer.
|
| |
| void | setCamera (vtkCamera *camera, bool camOwner=true) override |
| | Set the camera for the slicer's main renderer.
|
| |
| void | setDefaultInteractor () override |
| |
| void | setLinkedMdiChild (iAMdiChild *mdiChild) override |
| | in case the "linked mdi" feature is used, use this to set the mdi child this slicer is linked to.
|
| |
| void | setMode (const iASlicerMode mode) override |
| | Sets the slice mode (which axis-aligned slice-plane to use for slicing).
|
| |
| void | setMouseCursor (QString const &s) |
| |
| void | setPositionMarkerCenter (double x, double y, double z) |
| | Set the position of the position marker (in slicer coordinates).
|
| |
| void | setResliceAxesOrigin (double x, double y, double z) override |
| |
| void | setRightButtonDragZoomEnabled (bool enabled) |
| |
| void | setScalarBarTF (vtkScalarsToColors *ctf) override |
| |
| void | setShowTooltip (bool isVisible) override |
| | Enable/disable the tooltip text.
|
| |
| void | setSlicerRange (uint channelID) |
| | call if the dimension of the input in direction of the slice axis has changed.
|
| |
| void | setStatisticalExtent (int statExt) |
| |
| void | setTransform (vtkAbstractTransform *tr) |
| |
| void | setup (iASingleSlicerSettings const &settings) override |
| | Sets up the slicer with the given settings.
|
| |
| void | showIsolines (bool s) |
| | Enable/disable contour lines.
|
| |
| void | showPosition (bool s) |
| |
| int | sliceNumber () const override |
| | Get current slice number.
|
| |
| void | updateChannelMappers () override |
| |
|
| void | setMagicLensEnabled (bool isEnabled) override |
| | Magic Lens methods.
|
| |
| void | setMagicLensSize (int newSize) |
| |
| int | magicLensSize () const |
| |
| void | setMagicLensFrameWidth (int newWidth) |
| |
| void | setMagicLensCount (int count) override |
| |
| void | setMagicLensInput (uint id) override |
| |
| uint | magicLensInput () const override |
| |
| void | setMagicLensOpacity (double opacity) override |
| |
| double | magicLensOpacity () const override |
| |
| void | updateMagicLensColors () override |
| |
| void | updateMagicLens () override |
| |
| iAMagicLens * | magicLens () override |
| |
|
| void | addChannel (uint id, iAChannelData const &chData, bool enable) override |
| | management of channels - each channel represents one "layer"
|
| |
| void | removeChannel (uint id) override |
| |
| void | updateChannel (uint id, iAChannelData const &chData) override |
| |
| iAChannelSlicerData * | channel (uint id) override |
| |
| void | setChannelOpacity (uint id, double opacity) override |
| |
| void | enableChannel (uint id, bool enabled) override |
| |
| bool | hasChannel (uint id) const override |
| |
|
| void | setROIVisible (bool isVisible) override |
| | ROI rectangle.
|
| |
| void | updateROI (int const roi[6]) override |
| |
|
| void | setContours (int numberOfContours, double contourMin, double contourMax) override |
| | set contour line parameters.
|
| |
| void | setContours (int numberOfContours, double const *contourValues) override |
| |
| | 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?
|
| |
| virtual vtkCamera * | camera ()=0 |
| | Access to the slicer's main renderer's camera.
|
| |
| virtual void | enableInteractor (bool enabled)=0 |
| |
| virtual void | execute (vtkObject *caller, unsigned long eventId, void *callData)=0 |
| |
| virtual int | globalAxis (int slicerAxis)=0 |
| | retrieve the global axis that is represented by the given local axis (e.g. for XY:, 0 -> X, 1 -> Y, 2 -> Z; for XZ: 0 -> X, 1 -> Z, ...)
|
| |
| virtual vtkRenderWindowInteractor * | interactor ()=0 |
| | Access to the interactor of this slicer's render window.
|
| |
| virtual bool | isInteractorEnabled () const =0 |
| |
| virtual iASlicerMode | mode () const =0 |
| | Get the slice mode (which axis-aligned slice-plane is used for slicing).
|
| |
| virtual void | removeImageActor (vtkSmartPointer< vtkImageActor > imgActor)=0 |
| |
| virtual vtkRenderer * | renderer ()=0 |
| | Access to the slicer's main renderer.
|
| |
| virtual vtkGenericOpenGLRenderWindow * | renderWindow ()=0 |
| | Access to the slicer's render window.
|
| |
| virtual void | resetCamera ()=0 |
| | Resets the slicer's main renderer's camera such that all channels in it are visible.
|
| |
| virtual void | setBackground (QColor color)=0 |
| | Sets the background color of the slicer.
|
| |
| virtual void | setCamera (vtkCamera *camera, bool camOwner=true)=0 |
| | Set the camera for the slicer's main renderer.
|
| |
| virtual void | setDefaultInteractor ()=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.
|
| |
| virtual void | setMode (const iASlicerMode mode)=0 |
| | Sets the slice mode (which axis-aligned slice-plane to use for slicing).
|
| |
| virtual void | setResliceAxesOrigin (double x, double y, double z)=0 |
| |
| virtual void | setScalarBarTF (vtkScalarsToColors *ctf)=0 |
| |
| virtual void | setShowTooltip (bool isVisible)=0 |
| | Enable/disable the tooltip text.
|
| |
| virtual void | setup (iASingleSlicerSettings const &settings)=0 |
| | Sets up the slicer with the given settings.
|
| |
| virtual int | sliceNumber () const =0 |
| | Get current slice number.
|
| |
| virtual void | updateChannelMappers ()=0 |
| |
| | iAQVTKWidget (QWidget *parent=nullptr) |
| | Creates the widget; makes sure its inner vtk render window is set, and sets an appropriate surface format.
|
| |
| bool | event (QEvent *evt) override |
| |
| void | updateAll () |
| |
vtk-based slicer widget. "Channels" (i.e. image layers) are inserted via the addChannel method