13#ifndef SO_INTERACTION_COORDINATOR_ELEMENT_H
14#define SO_INTERACTION_COORDINATOR_ELEMENT_H
22#include <ThirdPartyWarningsDisable.h>
23#include <Inventor/elements/SoSubElement.h>
24#include <ThirdPartyWarningsRestore.h>
70 size_t _mapperCount{};
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
Element that stores a proxy object to the currently active viewer.
void pop(SoState *state, const SoElement *prevTopElement) override
Restores initial number of mappers in the coordinator/.
static SoInteractionCoordinator * get(SoState *state)
Returns the coordinator (might be NULL!).
SoElement * copyMatchInfo() const override
Creates and returns a copy of this element.
~SoInteractionCoordinatorElement() override=default
void push(SoState *state) override
Copies coordinator from previous element in push, remembers number of mappers.
SbBool matches(const SoElement *elt) const override
Always returns TRUE, since this element should never be a criterion for cache invalidation.
static void set(SoState *state, SoInteractionCoordinator *coordinator)
Sets the coordinator.
static void initClass()
Initializes the SoViewerElement class.
static void addMapper(SoState *state, SoInteractionMapper *mapper)
Adds a new interaction mapper to current coordinator.
void init(SoState *state) override
Initializes this element.
Provides coordinating interface to the SoInteractionHandlers in the scene.
SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.