ImFusion SDK 4.3
FreeformSelector Class Reference

#include <ImFusion/Seg/FreeformSelector.h>

Simple class to make it easy to select by hand a portion of a volume. More...

Detailed Description

Simple class to make it easy to select by hand a portion of a volume.

Public Member Functions

 FreeformSelector (DisplayWidgetMultiAdapter disp)
 
 ~FreeformSelector ()
 On destruction, disable() is called automatically if necessary.
 
void setImageToBeSelected (const SharedImageSet *sis)
 This determines the size of the SharedImageSet that is passed in the callback.
 
const SharedImageSetselectedVolume () const
 Get the selection volume Values of 0 are considered to be selected, values of 255 are not selected May be nullptr if nothing has been selected so far.
 
void clearSelectedVolume ()
 Clear the selection volume, if it exists.
 
bool isCutting () const
 Returns whether an interaction is currently in progress.
 
void enable ()
 Activates the class, by adding the necessary objects to the view.
 
void disable ()
 Deactivates the class, by removing the objects from the views.
 
bool isEnabled () const
 Returns whether the selector is currently enabled.
 

Public Attributes

Signal selectingStarted
 Called when the interaction with the view is started.
 
Signal selectingFinished
 Called when the interaction with the view is finished.
 

Constructor & Destructor Documentation

◆ FreeformSelector()

Parameters
dispthe DisplayWidgetMulti to which the objects will be added The class is disabled by default, and must be enabled explicitly with enable()

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close