VR-Exchange 2.2 API Documentation
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
MAKVrExchange::DtMarkingSymbols Class Reference

Public Member Functions

 DtMarkingSymbols ()
 DtMarkingSymbols (DtMtlEnvironment *mtl)
virtual ~DtMarkingSymbols ()
virtual bool loadLispFile (const char *filename)
virtual QPixmap getIconForEmitterSystem () const
 Returns a pixmap of the emitter system symbol.
virtual QPixmap getBigIconForEmitterSystem () const
virtual QPixmap getIconForDetonation () const
 Returns a pixmap of the detonation symbol.
virtual QPixmap getBigIconForEntity (const DtEntityType &type, const DtForceType &force)
 Returns a big pixmap.
virtual QPixmap getIconForEntity (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type.
virtual QPixmap getIconForAggregate (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type.

Protected Member Functions

void registerMtlParameters ()
virtual bool lookupParameters ()
virtual void addMapping (DtSymbolSpec *newspec)
 Add an entity/force id mapping.
virtual DtSymbolSpec * getSymbol (const DtEntityType &type, int forceId) const
virtual QPixmap getIconForDestroyed () const

Static Protected Member Functions

static DtlObjPtr parseSymbolMap (const DtlObjPtr &args, const DtlObjPtr &)
static DtSymbolSpec * parseBmpSymbol (const DtlObjPtr &args, DtlObjPtr &retval)

Protected Attributes

bool myCreatedEnv
DtMtlEnvironment * myEnv
QPixmapCache myIconCache
DtList * myMappings
DtString myDetonationPixName
DtString mySensorPixName
DtString myDestroyedPixName
DtString myDestroyedMaskPixName

Constructor & Destructor Documentation

MAKVrExchange::DtMarkingSymbols::DtMarkingSymbols ( )
MAKVrExchange::DtMarkingSymbols::DtMarkingSymbols ( DtMtlEnvironment *  mtl)
virtual MAKVrExchange::DtMarkingSymbols::~DtMarkingSymbols ( )
virtual

Member Function Documentation

virtual bool MAKVrExchange::DtMarkingSymbols::loadLispFile ( const char *  filename)
virtual
virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForEmitterSystem ( ) const
virtual

Returns a pixmap of the emitter system symbol.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getBigIconForEmitterSystem ( ) const
virtual
virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForDetonation ( ) const
virtual

Returns a pixmap of the detonation symbol.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getBigIconForEntity ( const DtEntityType &  type,
const DtForceType &  force 
)
virtual

Returns a big pixmap.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForEntity ( const DtEntityType &  type,
const DtForceType &  force,
bool  destroyed = false 
)
virtual

Returns a pixmap of the symbol for this entity type.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForAggregate ( const DtEntityType &  type,
const DtForceType &  force,
bool  destroyed = false 
)
virtual

Returns a pixmap of the symbol for this entity type.

void MAKVrExchange::DtMarkingSymbols::registerMtlParameters ( )
protected
virtual bool MAKVrExchange::DtMarkingSymbols::lookupParameters ( )
protectedvirtual
virtual void MAKVrExchange::DtMarkingSymbols::addMapping ( DtSymbolSpec *  newspec)
protectedvirtual

Add an entity/force id mapping.

virtual DtSymbolSpec* MAKVrExchange::DtMarkingSymbols::getSymbol ( const DtEntityType &  type,
int  forceId 
) const
protectedvirtual
virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForDestroyed ( ) const
protectedvirtual
static DtlObjPtr MAKVrExchange::DtMarkingSymbols::parseSymbolMap ( const DtlObjPtr &  args,
const DtlObjPtr &   
)
staticprotected
static DtSymbolSpec* MAKVrExchange::DtMarkingSymbols::parseBmpSymbol ( const DtlObjPtr &  args,
DtlObjPtr &  retval 
)
staticprotected

Member Data Documentation

bool MAKVrExchange::DtMarkingSymbols::myCreatedEnv
protected
DtMtlEnvironment* MAKVrExchange::DtMarkingSymbols::myEnv
protected
QPixmapCache MAKVrExchange::DtMarkingSymbols::myIconCache
protected
DtList* MAKVrExchange::DtMarkingSymbols::myMappings
protected
DtString MAKVrExchange::DtMarkingSymbols::myDetonationPixName
protected
DtString MAKVrExchange::DtMarkingSymbols::mySensorPixName
protected
DtString MAKVrExchange::DtMarkingSymbols::myDestroyedPixName
protected
DtString MAKVrExchange::DtMarkingSymbols::myDestroyedMaskPixName
protected

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

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)