1 #ifndef COIN_SOLISTENERPOSITIONELEMENT_H
2 #define COIN_SOLISTENERPOSITIONELEMENT_H
27 #include <Inventor/elements/SoReplacedElement.h>
28 #include <Inventor/SbVec3f.h>
35 static void initClass(
void);
42 const SbVec3f & position, SbBool setbylistener);
45 static SbBool isSetByListener(
SoState *
const state);
47 virtual void print(FILE * file)
const;
54 #endif // !COIN_SOLISTENERPOSITIONELEMENT_H
static SbBool isSetByListener(SoState *const state)
Definition: SoListenerPositionElement.cpp:124
virtual ~SoListenerPositionElement()
Definition: SoListenerPositionElement.cpp:71
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoListenerPositionElement.cpp:82
static const SbVec3f & get(SoState *const state)
Returns the current listener position.
Definition: SoListenerPositionElement.cpp:111
static void initClass(void)
Definition: SoListenerPositionElement.cpp:62
virtual void init(SoState *state)
Definition: SoReplacedElement.cpp:76
static void set(SoState *const state, SoNode *const node, const SbVec3f &position, SbBool setbylistener)
Definition: SoListenerPositionElement.cpp:95
static const SoElement * getConstElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:114
virtual void print(FILE *file) const
Prints contents of element (not implemented)
Definition: SoListenerPositionElement.cpp:134
SbVec3f position
Definition: SoListenerPositionElement.h:50
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:101
The SoListenerPositionElement holds the position of the current listener.
Definition: SoListenerPositionElement.h:30
virtual void print(FILE *file) const
Definition: SoReplacedElement.cpp:105
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
The SoReplacedElement class is an abstract element superclass.
Definition: SoReplacedElement.h:30
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 24 2019 for Coin by Doxygen. 1.8.17