ImFusion SDK 4.3
ImageView3DAdapter Class Reference

#include <ImFusion/GUI/DisplayWidgetMultiAdapter.h>

Helper class providing the API of ImageView3D while wrapping around either a ImageView3D or a GUI::VolumeView. More...

+ Inheritance diagram for ImageView3DAdapter:

Detailed Description

Helper class providing the API of ImageView3D while wrapping around either a ImageView3D or a GUI::VolumeView.

Warning
To mimic existing use cases this adapter class has nullable/pointer semantics and can be 'null'. If it is null conversion to bool will yield false and comparison to nullptr will be true, and you must not call any of its other member functions.

Public Member Functions

 ImageView3DAdapter (ImageView3D *view)
 
 ImageView3DAdapter (GUI::VolumeView *view, GUI::RadiologyDisplay *parentDisplay)
 
ImageView3DAdapteroperator-> ()
 
const ImageView3DAdapteroperator-> () const
 
 operator bool () const
 
bool operator== (std::nullptr_t) const
 
bool operator!= (std::nullptr_t) const
 
void setMatrix (const mat4 &matrixToWorld, bool suppressAnimation=false)
 
bool isVisible () const
 
GlVolumeViewview ()
 
const GlVolumeViewview () const
 
- Public Member Functions inherited from InteractiveViewAdapter
 InteractiveViewAdapter (InteractiveView *view)
 
 InteractiveViewAdapter (GUI::View *view, GUI::RadiologyDisplay *parentDisplay)
 
InteractiveViewAdapteroperator-> ()
 
const InteractiveViewAdapteroperator-> () const
 
 operator bool () const
 
 operator GUI::View * () const
 
bool operator== (std::nullptr_t) const
 
bool operator!= (std::nullptr_t) const
 
bool operator== (const InteractiveView *view) const
 
bool operator!= (const InteractiveView *view) const
 
bool acceptsData (const Data *data) const
 
void setVisibleData (const DataList &data)
 
const DataListvisibleData () const
 
bool showData (Data *data)
 
void hideData (const Data *data)
 
void addOverlay (std::unique_ptr< GUI::ViewOverlay > overlay, GUI::ViewOverlay::Anchor anchor, int position=-1)
 
void addOverlay (std::unique_ptr< InteractiveOverlay > overlay, int position=-1)
 
std::unique_ptr< GUI::ViewOverlayremoveOverlay (GUI::ViewOverlay *overlay)
 
std::vector< GUI::ViewOverlay * > overlays () const
 
void addObject (GUI::ViewObject *object)
 
void removeObject (GUI::ViewObject *object)
 
std::vector< GUI::ViewObject * > objects () const
 
void reset ()
 
void setVisible (bool value)
 
std::vector< GUI::View::EventHandler * > interactions () const
 
template<typename T>
T * findInteraction () const
 
GlViewview ()
 
const GlViewview () const
 

Additional Inherited Members

- Protected Attributes inherited from InteractiveViewAdapter
Utils::Variant< InteractiveView *, GUI::View * > m_view = static_cast<InteractiveView*>(nullptr)
 
GUI::Viewm_viewBase = nullptr
 
GUI::RadiologyDisplaym_parentDisplay = nullptr
 

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