![]() |
ImFusion SDK 4.3
|
#include <ImFusion/GUI/DisplayWidgetMultiAdapter.h>
Helper class providing the API of InteractiveView while wrapping around either a InteractiveView or a GUI::View. More...
Helper class providing the API of InteractiveView while wrapping around either a InteractiveView or a GUI::View.
false
and comparison to nullptr
will be true
, and you must not call any of its other member functions. Public Member Functions | |
InteractiveViewAdapter (InteractiveView *view) | |
InteractiveViewAdapter (GUI::View *view, GUI::RadiologyDisplay *parentDisplay) | |
InteractiveViewAdapter * | operator-> () |
const InteractiveViewAdapter * | operator-> () 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 DataList & | visibleData () 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::ViewOverlay > | removeOverlay (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 |
GlView * | view () |
const GlView * | view () const |
Protected Attributes | |
Utils::Variant< InteractiveView *, GUI::View * > | m_view = static_cast<InteractiveView*>(nullptr) |
GUI::View * | m_viewBase = nullptr |
GUI::RadiologyDisplay * | m_parentDisplay = nullptr |