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

Public Member Functions

 trpgRange (void)
 
 ~trpgRange (void)
 
 trpgRange (const trpgRange &)
 
void SetCategory (const char *cat, const char *subCat)
 
void GetCategory (char *cat, int maxCatLen, char *subCat, int maxSubCatLen) const
 
void SetLodInfo (double in, double out)
 
void GetLodInfo (double &in, double &out) const
 
void SetPriority (int)
 
void GetPriority (int &) const
 
bool Write (trpgWriteBuffer &)
 
bool Read (trpgReadBuffer &)
 
bool Print (trpgPrintBuffer &) const
 
void Reset (void)
 
bool operator== (const trpgRange &) const
 
trpgRangeoperator= (const trpgRange &)
 
- 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
 
virtual TeAttrHdl GetHandle () const
 
virtual void SetHandle (TeAttrHdl hdl)
 

Protected Attributes

double inLod
 
double outLod
 
charcategory
 
charsubCategory
 
int priority
 
- Protected Attributes inherited from trpgReadWriteable
char errMess [512]
 
- Protected Attributes inherited from trpgCheckable
bool valid
 
TeAttrHdl handle
 
bool writeHandle
 

Constructor & Destructor Documentation

trpgRange::trpgRange ( void  )
trpgRange::~trpgRange ( void  )
trpgRange::trpgRange ( const trpgRange )

Copy constructor.

Member Function Documentation

void trpgRange::SetCategory ( const char cat,
const char subCat 
)

Set the name and subName (can be NULL)

void trpgRange::GetCategory ( char cat,
int  maxCatLen,
char subCat,
int  maxSubCatLen 
) const
void trpgRange::SetLodInfo ( double  in,
double  out 
)

Set the lod info.

void trpgRange::GetLodInfo ( double in,
double out 
) const

Get the lod info (this will be duplicated in the trpgLod node) However, you may want to change these values yourself during a run.

void trpgRange::SetPriority ( int  )

Set the priority.

void trpgRange::GetPriority ( int ) const
bool trpgRange::Write ( trpgWriteBuffer )
virtual

Writes this class to a write buffer.

Implements trpgReadWriteable.

bool trpgRange::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgRange::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgRange::Reset ( void  )
virtual

Reset back to a clean state.

Implements trpgReadWriteable.

bool trpgRange::operator== ( const trpgRange ) const

Equality operator.

trpgRange& trpgRange::operator= ( const trpgRange )

Assignment operator.

Member Data Documentation

double trpgRange::inLod
protected
double trpgRange::outLod
protected
char* trpgRange::category
protected
char* trpgRange::subCategory
protected
int trpgRange::priority
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)