NodeViewpoint Class Reference

#include <NodeViewpoint.h>

Inheritance diagram for NodeViewpoint:

Node List of all members.

Public Member Functions

 NodeViewpoint (Scene *scene, Proto *proto)
virtual ~NodeViewpoint ()
virtual int getType () const
virtual Nodecopy () const
virtual void preDraw ()
void apply ()
Vec3f getPosition () const
const QuaterniongetOrientation () const
void setPosition (const Vec3f &pos)
void setOrientation (const Quaternion &orientation)

Protected Attributes

float _matrix [16]

Constructor & Destructor Documentation

NodeViewpoint::NodeViewpoint ( Scene scene,
Proto proto 
)

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


Member Function Documentation

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

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

Implements Node.

void NodeViewpoint::preDraw (  )  [virtual]

To be overriden by the subclasses

Reimplemented from Node.

void NodeViewpoint::apply (  ) 

Vec3f NodeViewpoint::getPosition (  )  const

const Quaternion & NodeViewpoint::getOrientation (  )  const

void NodeViewpoint::setPosition ( const Vec3f pos  ) 

void NodeViewpoint::setOrientation ( const Quaternion orientation  ) 


Member Data Documentation

float NodeViewpoint::_matrix[16] [protected]


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