ImFusion SDK 4.3
InteractiveFanAnnotation Class Reference

#include <ImFusion/US/InteractiveFanAnnotation.h>

An interactive fan annotation that manages an internal FrameGeometry. More...

+ Inheritance diagram for InteractiveFanAnnotation:

Detailed Description

An interactive fan annotation that manages an internal FrameGeometry.

The following example creates an interactive fan annotation that can be dragged or modified from an existing ultrasound sweep, and adds it to a 2D view that will display it.

auto glFanGeom = std::make_unique<GlFanGeometry>(us);
auto interactiveFanAnnotation = std::make_unique<InteractiveFanAnnotation>(glFanGeom.release());
view2d()->addObject(interactiveFanAnnotation.get());
High-level wrapper class for 2D/MPR rendering of one or multiple images.
Definition ImageView2D.h:48
@ Axial
horizontal/transverse plane dividing the body into cranial and caudal portions.
Definition Slice.h:17
Set of 2D ultrasound images constituting a 3D (freehand) ultrasound sweep, so a clip of 2D ultrasound...
Definition UltrasoundSweep.h:31
T make_unique(T... args)

Public Member Functions

 InteractiveFanAnnotation (GlFanGeometry *fan)
 Constructor from a GlFanGeometry. Takes ownership.
 
FanAnnotationManipulatorfanManipulator ()
 Returns the internal manipulator.
 
- Public Member Functions inherited from Interactive< GlFanGeometry, FanAnnotationManipulator >
 Interactive (GlFanGeometry *object, FanAnnotationManipulator *manipulator=nullptr, bool own=true)
 Instantiate a new InteractiveOverlay optionally taking ownership of the underlying GlObject and Manipulator.
 
const GlFanGeometrygl () const
 Get a typed pointer to the underlying annotation.
 
GlFanGeometrygl ()
 Get a typed pointer to the underlying annotation.
 
const FanAnnotationManipulatormanipulator () const
 Get the underlying manipulator.
 
FanAnnotationManipulatormanipulator ()
 Get the underlying manipulator.
 
- Public Member Functions inherited from InteractiveObject
 InteractiveObject (GlObject *object, Manipulator *manipulator=nullptr, bool own=true)
 Instantiate a new InteractiveOverlay, optionally taking ownership of the underlying GlObject and Manipulator.
 
template<typename T>
const T * gl () const
 Get a typed pointer to the underlying GlObject.
 
template<typename T>
T * gl ()
 Get a typed pointer to the underlying GlObject.
 
const GlObjectgl () const
 Get the underlying abstract GlObject.
 
GlObjectgl ()
 Get the underlying abstract GlObject.
 
const Manipulatormanipulator () const
 Get the underlying manipulator.
 
Manipulatormanipulator ()
 Get the underlying manipulator.
 
virtual bool sceneEvent (QEvent *event, InteractiveView *view)
 Called by the hosting InteractiveView to notify on user input events.
 
virtual void goTo (DisplayWidgetMulti *display, Data *data=nullptr, int frame=-1) const
 Center the views contained in the passed display widget which show data on the object.
 
GUI::EventResult handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override
 Gets called by the parent view in order to handle user input events.
 
- Public Member Functions inherited from ViewObject
 ViewObject (std::unique_ptr< GlObject > glObject)
 Instantiate a new ViewObject taking ownership of the underlying GlObject which must not be null.
 
const GlObjectglObject () const
 Get the underlying abstract GlObject.
 
GlObjectglObject ()
 
const GlObjectgl () const
 Original API methods for the underlying abstract GlObject.
 
GlObjectgl ()
 

Additional Inherited Members

- Public Attributes inherited from InteractiveObject
Signal< const InteractiveObject * > signalDeleted
 Signal emitted when this instance is deleted.
 
- Protected Attributes inherited from InteractiveObject
GlObjectm_object
 
Manipulatorm_manipulator = nullptr
 
bool m_own = true
 
- Protected Attributes inherited from ViewObject
std::unique_ptr< GlObjectm_glObject
 

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