1 #ifndef COIN_SOLISTENERORIENTATIONELEMENT_H
2 #define COIN_SOLISTENERORIENTATIONELEMENT_H
27 #include <Inventor/elements/SoReplacedElement.h>
28 #include <Inventor/SbRotation.h>
35 static void initClass(
void);
42 const SbRotation & orientation, SbBool setbylistener);
45 static SbBool isSetByListener(
SoState *
const state);
47 virtual void print(FILE * file)
const;
54 #endif // !COIN_SOLISTENERORIENTATIONELEMENT_H
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:33
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
virtual ~SoListenerOrientationElement()
Definition: SoListenerOrientationElement.cpp:72
virtual void print(FILE *file) const
Prints the contents of the element (unimplemented)
Definition: SoListenerOrientationElement.cpp:136
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:76
static const SoElement * getConstElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:114
The SoListenerOrientationElement holds the orientation of the current listener.
Definition: SoListenerOrientationElement.h:30
static const SbRotation & get(SoState *const state)
Returns the current listener orientation.
Definition: SoListenerOrientationElement.cpp:113
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
static void initClass(void)
Definition: SoListenerOrientationElement.cpp:63
SbRotation orientation
Definition: SoListenerOrientationElement.h:50
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:101
virtual void print(FILE *file) const
Definition: SoReplacedElement.cpp:105
The SoReplacedElement class is an abstract element superclass.
Definition: SoReplacedElement.h:30
virtual void init(SoState *state)
Definition: SoListenerOrientationElement.cpp:83
static void set(SoState *const state, SoNode *const node, const SbRotation &orientation, SbBool setbylistener)
Definition: SoListenerOrientationElement.cpp:96
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
static SbBool isSetByListener(SoState *const state)
Definition: SoListenerOrientationElement.cpp:126
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18