TunnelPlayBoxGraphics Class Reference

Tunnel play box graphics. More...

#include <tunnel_play_box_graphics.h>

Inheritance diagram for TunnelPlayBoxGraphics:

PlayBoxGraphics TimeUpdateable GraphicalNode

List of all members.

Public Member Functions

 TunnelPlayBoxGraphics ()
 Default constructor.
virtual ~TunnelPlayBoxGraphics ()
 Destructor.
virtual void timeUpdate (float dt)
 Timer value change event occured.

Private Member Functions

 TunnelPlayBoxGraphics (const TunnelPlayBoxGraphics &)
TunnelPlayBoxGraphicsoperator= (const TunnelPlayBoxGraphics &)
virtual SoGroup * createWalls ()
 A virtual method that creates walls.
virtual SoGroup * createBackWall ()
 A virtual method that creates the back wall.

Private Attributes

SoTextureCoordinate2 * _textureCoord
 The coordinates of the wall texture.
float _textureOffset
 Offset of the wall texture.

Static Private Attributes

static const SbColor4f TUNNEL_COLOUR_START
 The start colour of the tunnel wall.
static const SbColor4f TUNNEL_COLOUR_END
 The end colour of the tunnel wall.


Detailed Description

Tunnel play box graphics.

The graphics representation of the play box that resembles tunnel. Reference object (cannot be copied).


Constructor & Destructor Documentation

TunnelPlayBoxGraphics::TunnelPlayBoxGraphics ( const TunnelPlayBoxGraphics  )  [private]

TunnelPlayBoxGraphics::TunnelPlayBoxGraphics (  ) 

Default constructor.

virtual TunnelPlayBoxGraphics::~TunnelPlayBoxGraphics (  )  [virtual]

Destructor.


Member Function Documentation

TunnelPlayBoxGraphics& TunnelPlayBoxGraphics::operator= ( const TunnelPlayBoxGraphics  )  [private]

virtual SoGroup* TunnelPlayBoxGraphics::createWalls (  )  [private, virtual]

A virtual method that creates walls.

This methods creates the four PlayBoxGraphics side walls. It is to be overriden by each descendant of this abstract class.

Returns:
SoGroup with play box walls

Implements PlayBoxGraphics.

virtual SoGroup* TunnelPlayBoxGraphics::createBackWall (  )  [private, virtual]

A virtual method that creates the back wall.

This methods creates the back wall of the PlayBoxGraphics. It is to be overriden by each descendant of this abstract class.

Returns:
SoGroup with back wall

Implements PlayBoxGraphics.

virtual void TunnelPlayBoxGraphics::timeUpdate ( float  dt  )  [virtual]

Timer value change event occured.

This method is called on each timer value change.

Parameters:
[in] dt Time difference between the last call (delta).

Implements TimeUpdateable.


Member Data Documentation

const SbColor4f TunnelPlayBoxGraphics::TUNNEL_COLOUR_START [static, private]

The start colour of the tunnel wall.

const SbColor4f TunnelPlayBoxGraphics::TUNNEL_COLOUR_END [static, private]

The end colour of the tunnel wall.

SoTextureCoordinate2* TunnelPlayBoxGraphics::_textureCoord [private]

The coordinates of the wall texture.

Offset of the wall texture.


The documentation for this class was generated from the following file:

Generated on Sat Dec 20 19:21:24 2008 for PGR2008 by  doxygen 1.5.6