Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

Collision Class Reference

Collision node instances. More...

Inheritance diagram for Collision:

Group AbstractChild AbstractBase ChildNode Node Node List of all members.

Public Methods

 Collision (const NodeType &nodeType, const ScopePtr &scope)
 Constructor.

virtual ~Collision () throw ()
 Destructor.

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


Private Methods

void processSet_collide (const FieldValue &sfbool, double timestamp) throw (std::bad_cast)
 set_collide eventIn handler.


Private Attributes

SFBool collide
SFNode proxy
SFTime collideTime

Friends

class CollisionClass

Detailed Description

Collision node instances.


Constructor & Destructor Documentation

Collision const NodeType   nodeType,
const ScopePtr   scope
 

Constructor.

Parameters:
nodeType the NodeType associated with the node instance.
scope the Scope to which the node belongs.

~Collision   throw () [virtual]
 

Destructor.


Member Function Documentation

bool isModified   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 Group.

void processSet_collide const FieldValue   sfbool,
double    timestamp
throw (std::bad_cast) [private]
 

set_collide eventIn handler.

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