CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csMapNode Class Reference

A node. More...

#include <cstool/mapnode.h>

Inheritance diagram for csMapNode:

csObject iMapNode iObject iBase iBase List of all members.

Public Member Functions

 csMapNode (const char *Name)
 The constructor. Requires the Nodes name!
virtual ~csMapNode ()
 The destructor as usual.
virtual iObjectQueryObject ()
 Get the iObject.
virtual void SetPosition (const csVector3 &pos)
 Set the position of the node.
virtual const csVector3GetPosition () const
 Get the position of the node.
virtual void SetSector (iSector *sec)
 Set the sector of the node.
virtual iSectorGetSector () const
 Get the sector of the node.

Static Public Member Functions

iMapNodeGetNode (iSector *pSector, const char *name, const char *classname=0)
 Get a node with the given name and a given classname. (shortcut).

Detailed Description

A node.

This is an iObject that is bound to a position and a sector in the world.

Definition at line 33 of file mapnode.h.


Constructor & Destructor Documentation

csMapNode::csMapNode const char *  Name  ) 
 

The constructor. Requires the Nodes name!

virtual csMapNode::~csMapNode  )  [virtual]
 

The destructor as usual.


Member Function Documentation

iMapNode* csMapNode::GetNode iSector pSector,
const char *  name,
const char *  classname = 0
[static]
 

Get a node with the given name and a given classname. (shortcut).

virtual const csVector3& csMapNode::GetPosition  )  const [virtual]
 

Get the position of the node.

Implements iMapNode.

virtual iSector* csMapNode::GetSector  )  const [virtual]
 

Get the sector of the node.

Implements iMapNode.

virtual iObject* csMapNode::QueryObject  )  [inline, virtual]
 

Get the iObject.

Implements iMapNode.

Definition at line 47 of file mapnode.h.

virtual void csMapNode::SetPosition const csVector3 pos  )  [virtual]
 

Set the position of the node.

Implements iMapNode.

virtual void csMapNode::SetSector iSector sec  )  [virtual]
 

Set the sector of the node.

Implements iMapNode.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1