Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

S5object Class Reference

#include <S5object.h>

Inheritance diagram for S5object::

S5movable S5ship S5userShip List of all members.

Public Methods

void getMatrix (SbMatrix &m) const
const SbMatrix & getMatrix () const
void setMatrix (const SbMatrix m)
SbVec3f getTranslation () const
SbVec3f getDirectionAhead () const
SbVec3f getDirectionRight () const
SbVec3f getDirectionUp () const
void rotate (const float heading, const float pitch, const float roll=0.f)
void setTranslation (SbVec3f vec)
void setTranslation (float x, float y, float z)
SoNode * getGraph ()
void setGraph (SoNode *g)
SbBool getVisibility ()
void setVisibility (SbBool newVisibility)
SbMatrix getTransformation ()
SbVec3f getPosition ()
void attachCamera (S5camera *newCamera)
void detachCamera ()
S5cameragetCamera ()
virtual void timeTick (SbTime dt)
 S5object ()
S5object * getNext ()
S5object * getPrev ()
SbBool getVisibilityForCameras ()
void setVisibilityForCameras (SbBool newVisibility)

Static Public Methods

void performTimeTick (SbTime dt)
S5object * getFirst ()
S5object * getLast ()
void initClass ()

Public Attributes

SoSFFloat collisionRadius

Protected Methods

virtual SbBool readInstance (SoInput *in, unsigned short flags)
virtual ~S5object ()
void doShow ()
void doHide ()

Protected Attributes

SoSeparator * separator
SoMatrixTransform * matrixTransform
SoNode * graph
SbBool visible
SbBool visibleForCameras
friend S5camera
S5cameracamera

Constructor & Destructor Documentation

S5object::S5object  
 

virtual S5object::~S5object   [protected, virtual]
 


Member Function Documentation

void S5object::attachCamera S5camera   newCamera
 

void S5object::detachCamera   [inline]
 

void S5object::doHide   [protected]
 

void S5object::doShow   [protected]
 

S5camera* S5object::getCamera   [inline]
 

SbVec3f S5object::getDirectionAhead   const [inline]
 

SbVec3f S5object::getDirectionRight   const [inline]
 

SbVec3f S5object::getDirectionUp   const [inline]
 

S5object* S5object::getFirst   [inline, static]
 

SoNode* S5object::getGraph   [inline]
 

S5object* S5object::getLast   [inline, static]
 

const SbMatrix& S5object::getMatrix   const [inline]
 

void S5object::getMatrix SbMatrix &    m const [inline]
 

S5object* S5object::getNext   [inline]
 

SbVec3f S5object::getPosition   [inline]
 

S5object* S5object::getPrev   [inline]
 

SbMatrix S5object::getTransformation  
 

SbVec3f S5object::getTranslation   const [inline]
 

SbBool S5object::getVisibility   [inline]
 

SbBool S5object::getVisibilityForCameras   [inline]
 

void S5object::initClass   [static]
 

Reimplemented in S5movable, S5ship, and S5userShip.

void S5object::performTimeTick SbTime    dt [static]
 

virtual SbBool S5object::readInstance SoInput *    in,
unsigned short    flags
[protected, virtual]
 

void S5object::rotate const float    heading,
const float    pitch,
const float    roll = 0.f
 

void S5object::setGraph SoNode *    g
 

void S5object::setMatrix const SbMatrix    m [inline]
 

void S5object::setTranslation float    x,
float    y,
float    z
[inline]
 

void S5object::setTranslation SbVec3f    vec [inline]
 

void S5object::setVisibility SbBool    newVisibility
 

void S5object::setVisibilityForCameras SbBool    newVisibility
 

virtual void S5object::timeTick SbTime    dt [inline, virtual]
 

Reimplemented in S5movable, S5ship, and S5userShip.


Member Data Documentation

S5camera* S5object::camera [protected]
 

SoSFFloat S5object::collisionRadius
 

SoNode* S5object::graph [protected]
 

SoMatrixTransform* S5object::matrixTransform [protected]
 

friend S5object::S5camera [protected]
 

SoSeparator* S5object::separator [protected]
 

SbBool S5object::visible [protected]
 

SbBool S5object::visibleForCameras [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Feb 17 21:42:36 2002 for Sector 5 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001