VR-Forces 4.10 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. More...
 
void SetCenter (const trpg3dPoint &)
 Set the center. More...
 
void SetMode (int)
 Set the rotation mode. More...
 
void SetAxis (const trpg3dPoint &)
 Set the rotation axis if mode == Axial. More...
 
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. More...
 
bool Write (trpgWriteBuffer &)
 Writes this class to a write buffer. More...
 
bool Read (trpgReadBuffer &)
 Reads this class from a read buffer. More...
 
bool Print (trpgPrintBuffer &) const
 Prints this class to a print buffer. More...
 
- 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. More...
 
virtual bool GetNumChild (int &) const
 
virtual void SetID (int)
 
virtual bool GetID (int &) const
 Returns the group ID. More...
 
void SetName (const char *)
 
const charGetName (void) const
 Returns the group name. More...
 
virtual bool isValid (void) const
 Validity check. More...
 
- Public Member Functions inherited from trpgReadWriteable
 trpgReadWriteable ()
 
const chargetErrMess () const
 
- Public Member Functions inherited from trpgCheckable
 trpgCheckable (void)
 
virtual ~trpgCheckable (void)
 
bool isValid (void) const
 Returns the state of the valid flag, or can be overriden by a subclass to do a more complex check. More...
 
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)