|
SPIN Framework
|
Describes a ray (actually a line segment) in space. More...
#include <RayNode.h>
Public Member Functions | |
| RayNode (SceneManager *sceneManager, const char *initID) | |
| void | setVisible (int visibilityFlag) |
| void | setLength (float length) |
| void | setThickness (float thickness) |
| void | setColor (float red, float green, float blue, float alpha) |
| int | getVisible () const |
| float | getLength () const |
| float | getThickness () const |
| osg::Vec4 | getColor () const |
| virtual std::vector< lo_message > | getState () const |
Describes a ray (actually a line segment) in space.
The RayNode "points" in the direction specified by it's current orientation, and is visible up to a certain length.
RayNode is used by PointerNode to report which nodes are being pointed at.
| std::vector< lo_message > spin::RayNode::getState | ( | ) | const [virtual] |
For each subclass of ReferencedNode, we override the getState() method to fill the vector with the correct set of methods for this particular node
Reimplemented from spin::GroupNode.
Reimplemented in spin::PointerNode.
1.7.3