NodeShape Class Reference

#include <NodeShape.h>

Inheritance diagram for NodeShape:

Node List of all members.

Public Member Functions

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

Protected Member Functions

void doSpecularPass (Node *appearance, Node *geometry)

Detailed Description

According to the Shape Node of VRML97 specification.

  Shape { 
  exposedField SFNode appearance NULL
  exposedField SFNode geometry   NULL
}


Constructor & Destructor Documentation

NodeShape::NodeShape ( Scene scene,
Proto proto 
)

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


Member Function Documentation

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

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

Implements Node.

void NodeShape::draw (  )  [virtual]

To be overriden by the subclasses

Reimplemented from Node.

bool NodeShape::isLit (  )  const

void NodeShape::doSpecularPass ( Node appearance,
Node geometry 
) [protected]


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