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

A3DL::Billboard Class Reference

Billboard objects are two dimensional images that have a position in 3D space. More...

#include <billboard.hh>

Inheritance diagram for A3DL::Billboard:

A3DL::Object3D MetaObject List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Billboard objects are two dimensional images that have a position in 3D space.

The first two components of the object's scaling property define the X and Y dimensions. The Z scaling is ignored. The orientation is also ignored: billboard objects always face the viewer, and are always "right side up". The metaobject type for billboard objects is "object3D.billboard". Position and scaling properties are as in the "object3D" type, and a "material" property (containing a texture image or solid color) is added.

You should create new Billboard objects using MetaFactory. After creation, you must call setPropertyAccessControl() on the new object, as well as setPosition(), setScaling() (even though the Z scaling factory is ignored, you should supply a value), and setOrientation() (even though the orientation is irrelevant) -- Object3D requires values for all of these properties to work.

See also:
Object3D for position, scaling methods, etc.

MeshBase for texture (material) related methods.

Author:
Reed Hedges <reed@zerohour.net> March, 2002. See source file for Copyright.

Definition at line 60 of file billboard.hh.


Constructor & Destructor Documentation

Billboard::Billboard MetaObject superobject  ) 
 

Definition at line 31 of file billboard.cc.

Referenced by new_Billboard().

Billboard::~Billboard  )  [virtual]
 

Definition at line 36 of file billboard.cc.


Member Function Documentation

const string Billboard::getType  )  [virtual]
 

Reimplemented from A3DL::Object3D.

Definition at line 46 of file billboard.cc.

MetaObject * Billboard::new_Billboard MetaObject superobject,
const string &  type
[static]
 

Definition at line 41 of file billboard.cc.

void Billboard::registerExtenders  )  [static]
 

Reimplemented from A3DL::Object3D.

Definition at line 51 of file billboard.cc.


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:59 2003 for Interreality Project - VOS by doxygen 1.3.2