Home | Download | Screen shots | Discussion | Documentation |
---|
#include <openvrml/node.h>
Inheritance diagram for openvrml::grouping_node:
Public Member Functions | |
virtual | ~grouping_node ()=0 throw () |
Destroy. | |
const std::vector< boost::intrusive_ptr< node > > & | children () const throw () |
Get the children in the scene graph. | |
void | activate_pointing_device_sensors (double timestamp, bool over, bool active, const double(&p)[3]) |
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. | |
virtual const std::vector< boost::intrusive_ptr< node > > & | do_children () const=0 throw () |
Get the children in the scene graph. |
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.
[in] | type | the node_type associated with the node. |
[in] | scope | the scope the node belongs to. |
const std::vector< boost::intrusive_ptr< openvrml::node > > & openvrml::grouping_node::children | ( | ) | const throw () |
Get the children in the scene graph.
This function delegates to node::do_children
.
void openvrml::grouping_node::activate_pointing_device_sensors | ( | double | timestamp, | |
bool | over, | |||
bool | active, | |||
const double & | p[3] | |||
) |
Called in response to user interaction to activate any child pointing device sensor nodes.
Delegates to grouping_node::do_activate
.
[in] | timestamp | the current time. |
[in] | over | whether the pointer is over sensitive geometry. |
[in] | active | whether the pointer has activated sensitive geometry. |
[in] | p | the activation point. |
openvrml::grouping_node * openvrml::grouping_node::to_grouping | ( | ) | throw () [private, virtual] |
Cast to a grouping_node.
Reimplemented from openvrml::node.
const std::vector< boost::intrusive_ptr< openvrml::node > > & openvrml::grouping_node::do_children | ( | ) | const throw () [private, pure virtual] |
Get the children in the scene graph.