![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Seg/FreeformSelector.h>
Simple class to make it easy to select by hand a portion of a volume. More...
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 SharedImageSet * | selectedVolume () 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. | |
| disp | the DisplayWidgetMulti to which the objects will be added The class is disabled by default, and must be enabled explicitly with enable() |