SPIN Framework
Public Member Functions

spin::RayNode Class Reference

Describes a ray (actually a line segment) in space. More...

#include <RayNode.h>

Inheritance diagram for spin::RayNode:
spin::GroupNode spin::ReferencedNode spin::PointerNode

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.


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