Public Member Functions |
| | DtSymbolMapper () |
| | DtSymbolMapper (DtBaseSymbolMapper *) |
| virtual | ~DtSymbolMapper () |
| virtual bool | init () |
| | Initialize system to add creator functions.
|
| virtual DtSymbol * | processCreateSymbol (const DtTerrainModelData &data, void *usr) |
| | Creators.
|
| | DtBaseSymbolMapper () |
| | DtBaseSymbolMapper (DtBaseSymbolMapper *) |
| | Calls chainSymbolMapper to add this symbol mapper into a chain to call down to create a symbol if this mapper does not create it.
|
| virtual | ~DtBaseSymbolMapper () |
| virtual DtSymbol * | createSymbol (const DtModelData &d) |
| | Creates a symbol based on the specified type.
|
| virtual void | setDrawerColl (DtDrawerColl *dc) |
| virtual DtDrawerColl * | drawerColl () const |
| virtual bool | load (const char *filename, bool replace=false) |
| | Loads a file, or multiple files if the file buffer has file separated by a ; (semi-colon).
|
| virtual bool | save (const char *filename) |
| | Writes out contents to specified file.
|
| virtual bool | addSymbolToList (DtDescriptor *sd, bool replace=false) |
| virtual bool | addSymbolToList (DtSymbolDescriptor *sd, bool replace=false) |
| virtual DtSymbolDescriptor * | getStringKeyedSymbolDesc (const QString &key) const |
| | Uses straight string key rather than an entity identifier.
|
| virtual void | addStringKeyedSymbolToList (DtSymbolDescriptor *desc) |
| virtual void | getSymbolDescriptors (DtSDList *list) const |
| | Fills the list will all the symbol descriptors in the entity keyed and string keyed lists.
|
| virtual DtSymbolDescriptor * | fullLookup (const QString &key) const |
| | Returns a descriptor by looking in both trees.
|
| virtual DtSymbolDrawer * | lookupDrawer (const DtDrawerKey &key, DtSymbolDescriptor *symDesc) |
| virtual DtSymbolDrawer * | lookupDrawer (DtSymbolDescriptor *symDesc) |
| virtual DtTTSDrawer & | labelDrawer () |
| virtual QColor | labelColor () const |
| virtual void | removeEntries (const DtBaseSymbolMapper &mapper) |
| | Removes symbols from entity list found in supplied mapper.
|
| virtual void | removeAllEntries (const DtSDList &mapper) |
| virtual void | removeEntry (DtSymbolDescriptor *sd) |
| | Removes entry from all lists without deleting. To free memory, free descriptor.
|
| virtual const DtSDList & | entities () const |
| virtual int | defaultTransparencyFor (const DtEntityMapperKey &key) const |
| virtual void | postLoadCleanup () |
| | Does any post load cleanup of a new symbol map file.
|
| virtual QPixmap | getIcon (const DtModelData *d) |
| | Will return appropriate icon for supplied model.
|
| virtual void | setIconSize (const QSize size) |
| virtual QSize | iconSize () const |
| virtual QPixmap | finalizeSymbolPixmap (const DtSymbol *) const |
| const QString & | filename () const |
| virtual void | clear () |
| virtual void | addSymbolCreateCallback (int type, DtSymbolCreatorCallback fcn, void *usr=NULL) |
| | Accessors to add/remove callbacks for model data types.
|
| virtual void | removeSymbolCreateCallback (int type) |
| virtual DtSymbolDescriptor * | getSymbolDesc (const DtEntityMapperKey &key) const |
| virtual DtSymbolDescriptor * | getSymbolDesc (const DtModelData &data) const |
| virtual DtCompositeSymbol * | createSymbolOfType (const DtEntityMapperKey &type, int force, DtSymbolCreatorFcn fcn) |
| virtual void | addPostCreateCallback (int iType, DtPostSymbolCreateCallbackFcn fcn, void *usr) |
| | Adds a callback to be invoked any time a symbol is created.
|
| virtual void | removePostCreateCallback (int iType, DtPostSymbolCreateCallbackFcn fcn, void *usr) |
| | Removes the post create callback if all three items match.
|
| virtual void | removeAllPostCreateCallbacks () |
| | Removes all post update callbacks.
|
| virtual DtSymbol * | createMainSymbol (const DtEntityMapperKey &emk, int force) |
| | Given the information, creates what would be the main symbol of the particular type.
|
| virtual DtMapReader * | createReader (QString extension) |
| virtual QColor | defaultColorFor (const DtEntityMapperKey &key) const |
| | Returns default color based on type of object.
|
| virtual QColor | defaultColorFor (const DtModelData &data) const |
| virtual DtTTSSymbol * | createLabelSymbol () |
| virtual void | setMediaMapper (DtBaseMapper *map) |
| virtual void | addColor (const DtEntityMapperKey &, const QColor &) |
| | Adds default colors for object types.
|
| virtual void | addNameLabel (DtNameLabelSymbol *symbol) |
| virtual void | addLabelLabel (DtNameLabelSymbol *symbol) |
| virtual void | chainSymbolMapper (DtBaseSymbolMapper *) |
| virtual void | clearCache () |
| virtual void | setDeleteChainedMappers (bool) |
| | If true, delete chained symbol mappers when destroying this object. Default is false.
|
| virtual bool | deleteChainedMappers () const |
| virtual void | setCacheSymbolOptions (int) |
| | Sets the options for how to signal to cache text objects as bitmap.
|
| int | cacheSymbolOptions () const |
| virtual DtSymbol * | createSymbolFromDescription (DtSymbolDescriptor *symDesc, const DtEntityMapperKey &key) |
| virtual DtEnvironmentalModelData * | createObject (const QString &object, QVector< DtPoint > &points, const QString &name=QString::null) |
| | If a symbol descriptor has the given name, then, create an object based on that mapper key.
|
| | DtBaseMapper () |
| virtual | ~DtBaseMapper () |
| | DtArchivableObject (QString name, DtArchivableObjectCreator fcn) |
| | This constructor will add this object to the archivable object factory.
|
| | DtArchivableObject (QString name) |
| | DtArchivableObject () |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| | Returns the archiver of this object.
|
| virtual void | read (QTextStream &s) |
| | Reads/writes archiver.
|
| virtual void | write (QTextStream &s) |
| virtual void | setLevel (int i) |
| virtual int | level () const |
| virtual DtArchivableObject * | clone () |
| | Allows for cloning of this object.
|