Home | Download | Screen shots | Discussion | Documentation |
---|
Public Member Functions | |
virtual | ~grouping_node ()=0 throw () |
Destroy. | |
virtual const std::vector< node_ptr > & | children () const =0 throw () |
Get the children in the scene graph. | |
virtual void | activate (double timestamp, bool over, bool active, double *p)=0 |
Called in response to user interaction to activate any child pointing device sensor nodes. | |
Protected Member Functions | |
grouping_node (const node_type &type, const boost::shared_ptr< openvrml::scope > &scope) throw () | |
Construct. | |
Private Member Functions | |
virtual grouping_node * | to_grouping () throw () |
Cast to a grouping_node. |
openvrml::grouping_node::~grouping_node | ( | ) | throw () [pure virtual] |
Destroy.
openvrml::grouping_node::grouping_node | ( | const node_type & | type, | |
const boost::shared_ptr< openvrml::scope > & | scope | |||
) | throw () [protected] |
Construct.
type | the node_type associated with the node. | |
scope | the Scope the node belongs to. |
const std::vector< node_ptr > & openvrml::grouping_node::children | ( | ) | const throw () [pure virtual] |
Get the children in the scene graph.
Implemented in openvrml::vrml97_node::group_node, openvrml::vrml97_node::inline_node, openvrml::vrml97_node::lod_node, and openvrml::vrml97_node::switch_node.
void openvrml::grouping_node::activate | ( | double | timestamp, | |
bool | over, | |||
bool | active, | |||
double * | p | |||
) | [pure virtual] |
Called in response to user interaction to activate any child pointing device sensor nodes.
timestamp | the current time. | |
over | whether the pointer is over sensitive geometry. | |
active | whether the pointer has activated sensitive geometry. | |
p | the activation point. |
Implemented in openvrml::vrml97_node::group_node, openvrml::vrml97_node::inline_node, openvrml::vrml97_node::lod_node, and openvrml::vrml97_node::switch_node.
grouping_node * openvrml::grouping_node::to_grouping | ( | ) | throw () [private, virtual] |
Cast to a grouping_node.
Reimplemented from openvrml::node.