Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | Namespace Members | Class Members

BillboardObstacle Class Reference

#include <src/BillboardObstacle.h>

Inheritance diagram for BillboardObstacle:

Inheritance graph
[legend]
Collaboration diagram for BillboardObstacle:

Collaboration graph
[legend]
List of all members.

Detailed Description

An obstacle using a billboard and texture for its avatar.

Useful for creating trees, etc...

Author:
Nicolas Brodu


Public Member Functions

 BillboardObstacle (const osg::Vec3d &pos, osg::Texture2D *texture, double width=1.0, double height=1.0)
 BillboardObstacle (const double &x, const double &y, const double &z, osg::Texture2D *texture, double width=1.0, double height=1.0)

Protected Member Functions

virtual osg::Node * buildAvatar ()
 Build this agent avatar using the billboard technique with the given texture.

Protected Attributes

osg::Texture2D * texture
double width
double height


The documentation for this class was generated from the following files:
Generated on Mon Mar 28 11:26:56 2005 for Crogai by  doxygen 1.4.1