NodeCylinder Class Reference

#include <NodeCylinder.h>

Inheritance diagram for NodeCylinder:

Node List of all members.

Public Member Functions

 NodeCylinder (Scene *scene, Proto *proto)
virtual ~NodeCylinder ()
virtual int getType () const
virtual Node * copy () const
virtual int getNodeClass () const
virtual void draw ()

Detailed Description

According to the Cylinder Node of VRML97 specification.

  Cylinder { 
  field    SFBool    bottom  TRUE
  field    SFFloat   height  2         # (0,)
  field    SFFloat   radius  1         # (0,)
  field    SFBool    side    TRUE
  field    SFBool    top     TRUE
}


Constructor & Destructor Documentation

NodeCylinder::NodeCylinder ( Scene *  scene,
Proto *  proto 
)

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


Member Function Documentation

virtual int NodeCylinder::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* NodeCylinder::copy (  )  const [inline, virtual]

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

Implements Node.

virtual int NodeCylinder::getNodeClass (  )  const [inline, virtual]

Returns a NODE_CHILD as a node class (used to validate the scene)

Reimplemented from Node.

void NodeCylinder::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