NodeCone Class Reference

#include <NodeCone.h>

Inheritance diagram for NodeCone:

Node List of all members.

Public Member Functions

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

Detailed Description

According to the Cone Node of VRML97 specification.

  Cone { 
  field     SFFloat   bottomRadius 1        # (0,)
  field     SFFloat   height       2        # (0,)
  field     SFBool    side         TRUE
  field     SFBool    bottom       TRUE
}


Constructor & Destructor Documentation

NodeCone::NodeCone ( Scene scene,
Proto proto 
)

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


Member Function Documentation

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

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

Implements Node.

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

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

Reimplemented from Node.

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