NodeCollision Class Reference

#include <NodeCollision.h>

Inheritance diagram for NodeCollision:

Node List of all members.

Public Member Functions

 NodeCollision (Scene *scene, Proto *proto)
virtual ~NodeCollision ()
virtual int getType () const
virtual Nodecopy () const
virtual void draw ()

Detailed Description

According to the Collision Node of VRML97 specification.

  Collision { 
  eventIn      MFNode   addChildren
  eventIn      MFNode   removeChildren
  exposedField MFNode   children        []
  exposedField SFBool   collide         TRUE
  field        SFVec3f  bboxCenter      0 0 0      # (-,)
  field        SFVec3f  bboxSize        -1 -1 -1   # (0,) or -1,-1,-1
  field        SFNode   proxy           NULL
  eventOut     SFTime   collideTime
}


Constructor & Destructor Documentation

NodeCollision::NodeCollision ( Scene scene,
Proto proto 
)

virtual NodeCollision::~NodeCollision (  )  [inline, virtual]


Member Function Documentation

virtual int NodeCollision::getType (  )  const [inline, virtual]

Returns the Type of a Node in the Node subclasses(here pure virtual). E.g. for the NodeGroup it returns NODE_GROUP

Implements Node.

virtual Node* NodeCollision::copy (  )  const [inline, virtual]

Creates a new instance of that Node in the Node subclasses(here pure virtual).

Implements Node.

void NodeCollision::draw (  )  [virtual]

To be overriden by the subclasses

Reimplemented from Node.


Generated on Thu Jan 18 10:06:18 2007 for vhdPLUS by  doxygen 1.5.1-p1