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> 
   37    void init(SoState *state) 
override;
 
   40    void push(SoState *state) 
override;
 
   42    void pop(SoState *state, 
const SoElement *prevTopElement) 
override;
 
   46    SbBool 
matches(
const SoElement *elt) 
const override;
 
   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 the 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 the coordinator from previous element in push, remembers the 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 a coordinating interface to the SoInteractionHandlers in the scene.
 
SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to...