VR-Exchange 2.9 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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. More...
 
virtual QPixmap getBigIconForEmitterSystem () const
 
virtual QPixmap getIconForDetonation () const
 Returns a pixmap of the detonation symbol. More...
 
virtual QPixmap getBigIconForEntity (const DtEntityType &type, const DtForceType &force)
 Returns a big pixmap. More...
 
virtual QPixmap getIconForEntity (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type. More...
 
virtual QPixmap getIconForAggregate (const DtEntityType &type, const DtForceType &force, bool destroyed=false)
 Returns a pixmap of the symbol for this entity type. More...
 

Protected Member Functions

void registerMtlParameters ()
 
virtual bool lookupParameters ()
 
virtual void addMapping (DtSymbolSpec *newspec)
 Add an entity/force id mapping. More...
 
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 void MAKVrExchange::DtMarkingSymbols::addMapping ( DtSymbolSpec *  newspec)
protectedvirtual

Add an entity/force id mapping.

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

Returns a big pixmap.

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.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForDestroyed ( ) const
protectedvirtual
virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForDetonation ( ) const
virtual

Returns a pixmap of the detonation symbol.

virtual QPixmap MAKVrExchange::DtMarkingSymbols::getIconForEmitterSystem ( ) const
virtual

Returns a pixmap of the emitter system symbol.

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 DtSymbolSpec* MAKVrExchange::DtMarkingSymbols::getSymbol ( const DtEntityType &  type,
int  forceId 
) const
protectedvirtual
virtual bool MAKVrExchange::DtMarkingSymbols::loadLispFile ( const char *  filename)
virtual
virtual bool MAKVrExchange::DtMarkingSymbols::lookupParameters ( )
protectedvirtual
static DtSymbolSpec* MAKVrExchange::DtMarkingSymbols::parseBmpSymbol ( const DtlObjPtr &  args,
DtlObjPtr &  retval 
)
staticprotected
static DtlObjPtr MAKVrExchange::DtMarkingSymbols::parseSymbolMap ( const DtlObjPtr &  args,
const DtlObjPtr &   
)
staticprotected
void MAKVrExchange::DtMarkingSymbols::registerMtlParameters ( )
protected

Member Data Documentation

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

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

Document ID: Generated on Tue Jun 25 16:45:35 EDT 2024 from SVN revision 267383
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)