Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::vrml97_node::collision_node Class Reference

Collision node instances. More...

Inheritance diagram for openvrml::vrml97_node::collision_node:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::collision_node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 collision_node (const node_type &type, const scope_ptr &scope)
 Construct.

virtual ~collision_node () throw ()
 Destroy.

virtual bool modified () const
 Determine whether the node has been modified.


Private Member Functions

void process_set_collide (const field_value &value, double timestamp) throw (std::bad_cast)
 set_collide eventIn handler.


Private Attributes

sfbool collide
 collide exposedField.

sfnode proxy
 proxy field.

sftime collideTime
 collideTime eventOut.


Friends

class collision_class
 Class object for Collision nodes.


Detailed Description

Collision node instances.


Constructor & Destructor Documentation

openvrml::vrml97_node::collision_node::collision_node const node_type type,
const scope_ptr scope
 

Construct.

Parameters:
type the node_type associated with the node instance.
scope the scope to which the node belongs.

Member Function Documentation

bool openvrml::vrml97_node::collision_node::modified  )  const [virtual]
 

Determine whether the node has been modified.

Returns:
true if the node or one of its children has been modified, false otherwise.

Reimplemented from openvrml::vrml97_node::group_node.

void openvrml::vrml97_node::collision_node::process_set_collide const field_value value,
double  timestamp
throw (std::bad_cast) [private]
 

set_collide eventIn handler.

Parameters:
value an sfbool.
timestamp the current time.
Exceptions:
std::bad_cast if value is not an sfbool.