VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
trpgBillboard Class Reference
Inheritance diagram for trpgBillboard:
Inheritance graph
[legend]

Public Types

enum  { Individual, Group }
enum  { Axial, World, Eye }

Public Member Functions

 trpgBillboard (void)
 ~trpgBillboard (void)
void SetType (int)
 Set the type. See GetType for details.
void SetCenter (const trpg3dPoint &)
 Set the center.
void SetMode (int)
 Set the rotation mode.
void SetAxis (const trpg3dPoint &)
 Set the rotation axis if mode == Axial.
bool GetType (int &) const
bool GetCenter (trpg3dPoint &) const
bool GetMode (int &) const
bool GetAxis (trpg3dPoint &) const
void Reset (void)
 Resets the contents back to empty.
bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer.
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer.
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer.
- Public Member Functions inherited from trpgGroup
 trpgGroup (void)
virtual ~trpgGroup (void)
virtual void SetNumChild (int)
virtual int AddChild (void)
 Starting from 0, increments the number of children.
virtual bool GetNumChild (int &) const
virtual void SetID (int)
virtual bool GetID (int &) const
 Returns the group ID.
void SetName (const char *)
const charGetName (void) const
 Returns the group name.
virtual bool isValid (void) const
 Validity check.
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
const chargetErrMess () const
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
virtual ~trpgCheckable (void)
virtual TeAttrHdl GetHandle () const
virtual void SetHandle (TeAttrHdl hdl)

Protected Attributes

int type
int mode
trpg3dPoint center
trpg3dPoint axis
- Protected Attributes inherited from trpgGroup
int id
int numChild
charname
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
- Protected Attributes inherited from trpgCheckable
bool valid
TeAttrHdl handle
bool writeHandle

Member Enumeration Documentation

anonymous enum
Enumerator:
Individual 
Group 
anonymous enum
Enumerator:
Axial 
World 
Eye 

Constructor & Destructor Documentation

trpgBillboard::trpgBillboard ( void  )
trpgBillboard::~trpgBillboard ( void  )

Member Function Documentation

void trpgBillboard::SetType ( int  )

Set the type. See GetType for details.

void trpgBillboard::SetCenter ( const trpg3dPoint )

Set the center.

void trpgBillboard::SetMode ( int  )

Set the rotation mode.

void trpgBillboard::SetAxis ( const trpg3dPoint )

Set the rotation axis if mode == Axial.

bool trpgBillboard::GetType ( int ) const
bool trpgBillboard::GetCenter ( trpg3dPoint ) const
bool trpgBillboard::GetMode ( int ) const
bool trpgBillboard::GetAxis ( trpg3dPoint ) const
void trpgBillboard::Reset ( void  )
virtual

Resets the contents back to empty.

Reimplemented from trpgGroup.

bool trpgBillboard::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Reimplemented from trpgGroup.

bool trpgBillboard::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgGroup.

bool trpgBillboard::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgGroup.

Member Data Documentation

int trpgBillboard::type
protected
int trpgBillboard::mode
protected
trpg3dPoint trpgBillboard::center
protected
trpg3dPoint trpgBillboard::axis
protected

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)