Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoInteractionElement Class Reference

VSG extension Stores the current interaction state. More...

#include <Inventor/elements/SoInteractionElement.h>

+ Inheritance diagram for SoInteractionElement:

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, bool moving)
 Sets the current interaction in the state.
 
static bool isInteracting (SoState *state)
 Returns TRUE if a user interaction with the viewer is in progress.
 
static uint32_t getElapsedFrames (SoState *state)
 Return number of frames since last interaction flag change.
 
static double getElapsedSeconds (SoState *state)
 Return number of seconds since last interaction flag change.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Additional Inherited Members

- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Detailed Description

VSG extension Stores the current interaction state.

This element stores the current interaction state.

SEE ALSO

SoWinRenderArea, SoXtRenderArea, SoQtRenderArea

Definition at line 40 of file SoInteractionElement.h.

Member Function Documentation

◆ getClassStackIndex()

static int SoInteractionElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoInteractionElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getElapsedFrames()

static uint32_t SoInteractionElement::getElapsedFrames ( SoState state)
static

Return number of frames since last interaction flag change.

◆ getElapsedSeconds()

static double SoInteractionElement::getElapsedSeconds ( SoState state)
static

Return number of seconds since last interaction flag change.

◆ isInteracting()

static bool SoInteractionElement::isInteracting ( SoState state)
static

Returns TRUE if a user interaction with the viewer is in progress.

◆ set()

static void SoInteractionElement::set ( SoState state,
bool  moving 
)
static

Sets the current interaction in the state.

Member Data Documentation

◆ interacting

bool SoInteractionElement::interacting

Definition at line 94 of file SoInteractionElement.h.

◆ numFrames

uint32_t SoInteractionElement::numFrames

Definition at line 96 of file SoInteractionElement.h.

◆ startTime

double SoInteractionElement::startTime

Definition at line 98 of file SoInteractionElement.h.


The documentation for this class was generated from the following file: