#include <TdkTheme.h>
Inheritance diagram for TdkTheme:
Public Member Functions | |
TdkTheme (const string &name="", TdkLayer *layer=0, TeViewNode *parent=0, int view=0, int id=-1) | |
Constructor with the basic attributes. | |
TdkTheme (const TdkObjectGID &objectGID) | |
Constructor by the object GID. | |
TdkTheme (TdkTheme &theme) | |
Copy constructor. | |
virtual | ~TdkTheme () |
virtual void | operator= (TdkObject &object) |
Attribution operator. | |
virtual TdkObject * | copy () |
virtual void | setGID (const TdkObjectGID &objectGID) |
Sets the theme GID. | |
virtual TdkTheme * | query (TdkQueryParams ¶ms) |
virtual bool | needToLoad (TdkLoadParams ¶ms) |
Verify if the object loading from the database is necessary. | |
void | setAllAttrsInCache (bool allAttrsInCache) |
Defines if all theme attributes will be in the cache or not. | |
bool | getAllAttrsInCache () |
Returns true if all theme attributes are in the cache. | |
virtual bool | loadThemeTables () |
Loads the theme tables. | |
virtual void | id (int i) |
Defines the theme id. | |
virtual int | id () |
Returns the theme id. | |
virtual void | loadVisualizationAttrs () |
virtual void | loadUpperRightText () |
virtual void | loadRastersMasks (TeDatabase *db=NULL) |
virtual void | setRastersMasks (TdkRastersMasks &rastersMasks) |
virtual TdkRastersMasks & | getRastersMasks () |
virtual void | setRasterMask (int geomId, TdkRasterMask &rasterMask) |
virtual TdkRasterMask | getRasterMask (int geomId) |
virtual void | insertRasterMask (int geomId, TdkRasterMask &rasterMask, TeDatabase *db=NULL) |
virtual void | updateRasterMask (int geomId, TdkRasterMask &rasterMask, TeDatabase *db=NULL) |
virtual void | setUpperText (const TeText &text) |
virtual void | setRightText (const TeText &text) |
virtual const TeText & | getUpperText () |
virtual const TeText & | getRightText () |
virtual std::string | getGroupingTableName () |
virtual std::string | getGroupingFieldName () |
virtual void | visibleRep (int rep) |
virtual int | visibleRep () |
virtual void | layer (TdkLayer *layer) |
virtual TeLayer * | layer () |
virtual void | layerId (int i) |
virtual int | layerId () |
virtual void | setIdentifyObjects (bool identifyObjects) |
virtual bool | getIdentifyObjects () |
virtual void | setTipTable (std::string tipTab) |
virtual std::string | getTipTable () |
virtual void | setTipField (std::string tipFld) |
virtual std::string | getTipField () |
virtual bool | isAggregatedThemeObject (std::string aggregateObjectId) |
virtual std::string | getIdentifiedObjectText (std::string aggregatedObjectId, std::string attrName) |
Returns the text of the identified objects in the given aggregateObjectId. | |
virtual std::string | getAggregatedIdText (std::string aggregatedObjectId, std::string attrName) |
Returns the text of the aggregated objects in the given aggregateObjectId. | |
virtual void | setAggregationNumPixels (int aggregationNumPixels) |
virtual int | getAggregationNumPixels () |
virtual void | setReferenceScale (double refScale) |
virtual double | getReferenceScale () |
virtual void | activation (bool activation) |
virtual bool | activation () |
virtual std::string | leSQLQueryDraw (TeGeomRep geometry, std::string subquery) |
virtual std::string | getGeometrySQL (TeGeomRep geometry, std::string subquery, bool useCollection) |
virtual string | getBoundaringBoxSQL (TeGeomRep geometry, bool useCollection) |
Returns the SQL sentence to get the theme boundaring box for a given geometry representation. | |
virtual std::string | generateCollectionSQL (TeRepresentation *rep=NULL) |
virtual void | setThematicPartition (TeLegendEntryVector &legendVector) |
virtual std::string | getStringAttr (std::string attr_name) |
Returns the value for the given attribute. The attribute type must be string. | |
virtual void | setStringAttr (std::string attr_name, std::string value) |
Sets the value for the given attribute. The attribute type must be string. | |
virtual int | getIntegerAttr (std::string attr_name) |
Returns the value for the given attribute. The attribute type must be integer. | |
virtual void | setIntegerAttr (std::string attr_name, int value) |
Gets the value for the given attribute. The attribute type must be integer. | |
virtual double | getRealAttr (std::string attr_name) |
Returns the value for the given attribute. The attribute type must be real. | |
virtual void | setRealAttr (std::string attr_name, double value) |
Gets the value for the given attribute. The attribute type must be real. | |
virtual bool | createCollectionTable (std::string name) |
virtual void | addAttributeRest (std::string newRest) |
virtual void | import (TdkObject &object) |
virtual bool | hasObjectStyles () |
Returns true if there are any object style diferent of the defaultLegend. | |
virtual void | getOwnLegendsIds (std::vector< int > &legendIds) |
Returns the ids of the own objects legends (group=-10). | |
virtual void | setLegendId (TdkObjectGID &objectGID, int legendId) |
Sets the legend for a given object gid. | |
virtual TeLegendEntry & | getStyle (TdkObjectGID &objectGID) |
Returns the legend for a given a global object gid. | |
virtual TeLegendEntry & | getStyle (std::string &objectId) |
Returns the legend for a given object gid. | |
virtual int | getLegendId (TdkObjectGID &objectGID) |
Returns the legend id for a given global object gid. | |
virtual int | getLegendId (std::string &objectId) |
Returns the legend id for a given object gid. | |
virtual int | getLegendId (TdkObject &object) |
Returns the legend id for a given object. | |
virtual void | saveLegendInCollection () |
virtual void | loadObjectsLegendsFromCollectionTables (TdkObjectGID &childGID) |
Loads the legend for each theme object. | |
void | loadObjectsLegendsFromCollectionTables () |
virtual std::map< std::string, int > & | getObjectsLegendsMap () |
Returns the theme objects legends indexed by object id. | |
void | createRasterVisual () |
virtual TeAttributeRep & | getAttributeRep (std::string tableName, std::string attrName) |
virtual void | getThematicValues (std::string tableName, std::string attrName, TeLegendEntryVector &legends) |
virtual void | getThematicQuantil (std::string tableName, std::string attrName, int sliceNumber, TeLegendEntryVector &legends) |
virtual void | getThematicEqualSteps (std::string tableName, std::string attrName, int sliceNumber, TeLegendEntryVector &legends) |
virtual void | setLegendWithDefaultVisual (TeLegendEntry &le) |
virtual bool | isThemeChild (TdkObjectGID &objectGID) |
virtual void | removeCollectionTables () |
virtual void | generateCollectionTables (bool overwrite=false) |
Generates the collection tables. | |
virtual void | linkChildren (TdkEventHandlerVector &objects, bool updateDB=true) |
virtual void | linkChild (TdkObjectGID &objectGID, bool updateDB=true) |
virtual void | unlinkChild (const TdkObjectGID &objectGID, bool updateDB=true) |
virtual TdkObjectGIDMap & | getSelectedObjects () |
virtual TdkObjectGIDMap & | getIdentifiedObjects () |
virtual bool | isObjectSelected (TdkObject *object) |
virtual bool | isObjectSelected (TdkObjectGID *gid) |
virtual bool | isObjectIdentified (TdkObject *object) |
virtual bool | isObjectIdentified (TdkObjectGID *gid) |
virtual void | removeSelectedObject (TdkObject *object) |
virtual bool | hasSelectedObjects () |
virtual void | clearSelectedObjects () |
virtual void | grouping (const TeGrouping &g) |
virtual TeGrouping & | grouping () |
virtual bool | draw (TdkCanvas *canvas, double angle=0, TdkMathMatrix *matrix=NULL, bool refreshLoadedTheme=true, bool fromCache=false) |
void | drawFromCache (TdkCanvas *canvas, double angle, TdkMathMatrix *matrix, bool refreshLoadedTheme, double size_factor, TdkLoadParams ¶ms, TeBox &drawWindow) |
virtual void | drawObjectsIdentification (TdkCanvas *canvas) |
virtual void | drawSelectedObjects (TdkCanvas *canvas) |
virtual void | updateAttributes (TdkObject &object) |
virtual bool | isEditable () |
TeMultiGeometry & | getGeometries (double level, bool createLevel=false) |
virtual void | updateGeometries (double level, TePolygon &geom) |
virtual void | updateGeometries (double level, TeLine2D &geom) |
virtual void | updateGeometries (double level, TePoint &geom) |
virtual void | updateGeometries (double level, TeCell &geom) |
virtual void | updateGeometries (double level, TeText &geom) |
virtual void | addGeometries (double level, TePolygonSet &geomSet) |
virtual void | addGeometries (double level, TeLineSet &geomSet) |
virtual void | addGeometries (double level, TePointSet &geomSet) |
virtual void | addGeometries (double level, TeCellSet &geomSet) |
virtual void | addGeometries (double level, TeTextSet &geomSet) |
virtual void | addGeometries (double level, TePolygon &geomSet) |
virtual void | addGeometries (double level, TeLine2D &geomSet) |
virtual void | addGeometries (double level, TePoint &geomSet) |
virtual void | addGeometries (double level, TeCell &geomSet) |
virtual void | addGeometries (double level, TeText &geomSet) |
virtual void | removeGeometries (std::string objectId) |
TdkCacheParamsMap & | getCacheParams () |
void | clearCache () |
void | clearCache (double level) |
void | clearCacheParams () |
Clears the cache params. | |
void | clearGeometriesCache () |
Clears the geometries levels. | |
void | addCacheParams (TdkLoadParams &lparams, int blockId=TDK_BLOCKID_DEFAULT_VALUE) |
TdkCacheParamsSet & | findCacheParamsSet (double level) |
void | setCacheParamsSet (TdkCacheParamsSet ¶ms, double level) |
virtual bool | needLoadObjects (TdkLoadParams ¶ms) |
Sets if is necessary to load geometries and/or any attribute of the theme objects. | |
virtual void | addChild (TdkObjectGID &objectGID) |
The object GID type must be equal to the collection children type. | |
virtual void | addChild (TdkObject *object) |
virtual void | getThemeGeometries (TdkObjectGIDMap &gids, double pixelSize, TeMultiGeometry &geom) |
Returns a set of reference to multigeometries for the given gids vector and pixel size, based on the theme geometries cache. | |
void | getThemeGeometries (TdkObjectGIDMap &gids, double pixelSize, std::vector< TePolygon * > &polys) |
Returns a set of reference to polygon geometries for the given gids vector and pixel size, based on the theme geometries cache. | |
void | getThemeGeometries (TdkObjectGIDMap &gids, double pixelSize, std::vector< TeLine2D * > &lines) |
Returns a set of reference to line geometries for the given gids vector and pixel size, based on the theme geometries cache. | |
void | getThemeGeometries (TdkObjectGIDMap &gids, double pixelSize, std::vector< TePoint * > &points) |
Returns a set of reference to point geometries for the given gids vector and pixel size, based on the theme geometries cache. | |
void | getThemeGeometries (TdkObjectGIDMap &gids, double pixelSize, std::vector< TeText * > &texts) |
Returns a set of reference to text geometries for the given gids vector and pixel size, based on the theme geometries cache. | |
void | getObjectGeometry (TdkObjectGID *gid, double pixelSize, TeMultiGeometry &geom) |
Returns the geometry of one object from the geometries cache given the object gid and one error level (pixel size). | |
void | getSelectedObjectsBBox (double pixelSize, TeBox &box) |
Returns the selected objects bounding box for the pixel size, based on the theme geometries cache. | |
void | setDrawingBuffer (int drawing_buffer) |
int | getDrawingBuffer () |
bool | isSaved () |
void | setSavedState (bool isSaved) |
bool | isAllAttrsInCache () |
Returns true if the theme was loaded completelly. | |
void | setBoxExtension (double box_extension) |
double | getBoxExtension () |
virtual TeBox | box () |
Returns the theme bounding box. | |
virtual void | setThemeBox (const TeBox &box) |
Sets the bounding box of a theme. | |
virtual void | updateThemeBox () |
Refreshes the bounding box of a theme according to its representation. | |
virtual void | updateThemeBox (const TeBox &box) |
Updates the bounding box of a theme (in database). | |
Protected Member Functions | |
void | getLoadedAreas (std::vector< TeBox > &loadedAreas, TdkLoadParams ¶ms) |
Returns the equivalent areas that were loaded the given params. | |
virtual bool | insert (TeDatabase *dbCaller, TdkPersistenceParams ¶ms) |
virtual bool | load (TeDatabase *dbCaller, TdkLoadParams ¶ms) |
virtual bool | update (TeDatabase *dbCaller, TdkPersistenceParams ¶ms) |
virtual void | remove (TeDatabase *dbCaller, TdkPersistenceParams ¶ms) |
virtual void | insertChildren (TeDatabase *dbCaller, TdkEventHandlerVector &objects, TdkPersistenceParams ¶ms) |
virtual void | loadChildren (TeDatabase *dbCaller, TdkLoadParams ¶ms) |
virtual void | deleteChildren (TeDatabase *dbCaller, TdkEventHandlerVector &objects, TdkPersistenceParams ¶ms) |
virtual void | associateChildren (TeDatabase *dbCaller) |
virtual void | loadChildrenGIDs (TeDatabase *dbCaller) |
virtual void | unloadChildren (TeDatabase *dbCaller) |
virtual void | loadFromShapeFile (TeDatabase *dbCaller, TdkLoadParams ¶ms) |
virtual void | loadOriginalChildren (TeRepresentation &sRep, TdkLoadParams &loadParams, std::vector< TeBox > &loadedAreas) |
virtual void | loadGeneralizationChildren (TdkGeneralizationRepresentation &sRep, TdkLoadParams &loadParams, std::vector< TeBox > &loadedAreas) |
void | loadAggregationChildren (TdkGeneralizationRepresentation &sRep, TdkLoadParams &loadParams, std::vector< TeBox > &loadedAreas) |
virtual std::string | getOriginalAreasToLoad (TeDatabase *db, TeRepresentation &rep, TdkLoadParams ¶ms, std::vector< TeBox > &loadedAreas) |
virtual std::string | getGeneralizationLoadedAreas (TdkLoadParams ¶ms, TeRepresentation &rep, vector< TeBox > &loadedAreas) |
virtual std::string | getGeneralizationLoadedIds (TdkLoadParams ¶ms) |
virtual std::string | getSQLBoxWhere (TeBox &box, TeRepresentation &rep) |
virtual std::string | getSQLEqualBoxWhere (TeBox &box, TdkGeneralizationRepresentation &rep) |
virtual void | init () |
Initializes some theme attributes. | |
virtual void | addPickAttender (TdkEvent &event, TeMultiGeometry &geom, TeCoord2D &c1, TeCoord2D &c2) |
virtual void | addPickAttender (TdkEvent &event, TeMultiGeometry &geom) |
virtual void | addGidsAttender (TdkEvent &event, TeMultiGeometry &geom, TdkObjectGIDVector &gids) |
virtual void | handleVSEvent (TdkEvent &event) |
Handles a generic event. | |
virtual void | handleVSEvent (TdkSelectObjectsEvent &event) |
Handles a object selection event. | |
virtual void | handleVSEvent (TdkClearSelectedObjectsEvent &event) |
Handles a object selection event. | |
virtual void | handleVSEvent (TdkSelectObjectsGIDVectorEvent &event) |
Handles a object selection by object GID vector event. | |
virtual void | handleVSEvent (TdkUnselectObjectsGIDVectorEvent &event) |
Handles a object selection by object GID vector event. | |
virtual void | handleVSEvent (TdkPickEvent &event) |
Handles a pick event. | |
virtual void | handleVSEvent (TdkEditObjectPointFeedbackEvent &event) |
Handles a object point edition feedback event. | |
virtual void | handleVSEvent (TdkSelectedObjectsBBoxEvent &event) |
Handles a selected objects bounding box event. | |
virtual void | handleVSEvent (TdkThemeBBoxEvent &event) |
Handles a theme bounding box event. | |
virtual void | handleVSEvent (TdkSelectedObjectsIdentificationEvent &event) |
Handles a selected objects identification event. | |
virtual void | handleVSEvent (TdkClearSelectedObjectsIdentificationEvent &event) |
Handles a clear selected objects identification event. | |
virtual void | handleVSEvent (TdkThemeObjectsIdentificationEvent &event) |
Handles a theme objects identification event. | |
virtual void | handleVSEvent (TdkObjectIdentificationEvent &event) |
Handles a object identification event. | |
virtual void | handleVSEvent (TdkClearObjectIdentificationEvent &event) |
Handles a object identification event. | |
virtual void | handleVSEvent (TdkClearThemeObjectsIdentificationEvent &event) |
Handles a clear theme objects identification event. | |
virtual void | handleVSEvent (TdkClearObjectsIdentificationEvent &event) |
Handles a clear objects identification event. | |
virtual void | handleVSEvent (TdkObjectsIdentificationEvent &event) |
Handles a objects identification event. | |
virtual bool | alreadyInVector (const TdkObjectGIDVector &objects, string objectId) |
virtual bool | inAttenders (TdkEventHandlerVector &attenders, TdkPickAttender *pickAttender) |
virtual void | insertObjectInMap (TdkObject *object, TdkObjectGIDMap &objects) |
Returns the last instance of the TeSTElement property. | |
virtual void | insertObjectInMap (TdkObjectGID *gid, TdkObjectGIDMap &objects) |
virtual void | removeObjectFromMap (TdkObject *object, TdkObjectGIDMap &objects) |
virtual void | removeObjectFromMap (TdkObjectGID *gid, TdkObjectGIDMap &objects) |
virtual void | clearObjectsMap (TdkObjectGIDMap &objects) |
virtual TeBox | getTextBox (const TeText &geom, TdkCanvas *canvas) |
virtual void | adjustLoadedAreas (const TeBox &oldArea) |
Loaded areas that intersetting the given area will be the intersection with the theme box. | |
Protected Attributes | |
TdkRastersMasks | rastersMasks_ |
TeText | upperText_ |
Text data. | |
TeText | rightText_ |
TeBox | box_ |
Theme boundaring box. | |
bool | isSaved_ |
bool | hasObjectStyles_ |
True if there are any object with style different to the defaultLegend. | |
std::string | tipTable_ |
Tip table name. | |
std::string | tipField_ |
Tip field name. | |
int | aggregationNumPixels_ |
Numbers of pixels used to draw aggregated points. | |
double | referenceScale_ |
Theme reference scale. | |
bool | enableActivation_ |
If true, it enables the theme activation. | |
bool | allAttrsInCache_ |
If true, all theme attributes are in the cache. | |
TdkCacheParamsMap | cacheParams_ |
Theme cache params map. | |
TdkGeometriesCacheMap | cacheGeometries_ |
Theme geometries cache map. | |
std::map< std::string, int > | objectsLegendsMap_ |
Theme objects style map: Indexed by object id. The second column is the legend id. | |
TdkObjectGIDMap | selected_objects_ |
Selected theme objects. | |
TdkObjectGIDMap | identified_objects_ |
Identified theme objects. | |
bool | identifyObjects_ |
TdkObject * | highlightedObject_ |
Highlighted theme object. | |
int | drawing_buffer_ |
The drawing theme buffer. | |
double | box_extension_ |
The box extension. | |
Friends | |
class | TdkPersistenceService |
TdkTheme::TdkTheme | ( | const string & | name = "" , |
|
TdkLayer * | layer = 0 , |
|||
TeViewNode * | parent = 0 , |
|||
int | view = 0 , |
|||
int | id = -1 | |||
) |
Constructor with the basic attributes.
TdkTheme::TdkTheme | ( | const TdkObjectGID & | objectGID | ) |
Constructor by the object GID.
TdkTheme::TdkTheme | ( | TdkTheme & | theme | ) |
Copy constructor.
TdkTheme::~TdkTheme | ( | ) | [virtual] |
void TdkTheme::getLoadedAreas | ( | std::vector< TeBox > & | loadedAreas, | |
TdkLoadParams & | params | |||
) | [protected] |
Returns the equivalent areas that were loaded the given params.
bool TdkTheme::insert | ( | TeDatabase * | dbCaller, | |
TdkPersistenceParams & | params | |||
) | [protected, virtual] |
Inserts the theme in the database. All theme information is stored in the database.
dbCaller | The database connection. |
Reimplemented from TdkObjectCollection.
bool TdkTheme::load | ( | TeDatabase * | dbCaller, | |
TdkLoadParams & | params | |||
) | [protected, virtual] |
Loads the theme from the database. If params.loadAllAttributes_ equals false, the basic attributes will be loaded. Otherwise all attributes will be loaded.
dbCaller | The database connection. | |
params | The load params. |
Reimplemented from TdkObjectCollection.
bool TdkTheme::update | ( | TeDatabase * | dbCaller, | |
TdkPersistenceParams & | params | |||
) | [protected, virtual] |
Updates the theme in the database. The parameter params indicates which information will be updated.
dbCaller | The database connection. | |
params | The update params. |
Reimplemented from TdkObjectCollection.
void TdkTheme::remove | ( | TeDatabase * | dbCaller, | |
TdkPersistenceParams & | params | |||
) | [protected, virtual] |
Removes the object from database. All associated The information of this object are removed from all tables associated to the layer.
dbCaller | The database connection. |
Reimplemented from TdkObjectCollection.
void TdkTheme::insertChildren | ( | TeDatabase * | dbCaller, | |
TdkEventHandlerVector & | objects, | |||
TdkPersistenceParams & | params | |||
) | [protected, virtual] |
Inserts a set of objects in the associated layer tables. When the objects are inserted in the tables, they are inserted in the cache and connected to the events' tree.
dbCaller | The database connection. | |
objects | The objects to be stored in the tables. | |
insertAttrs | True for insert the objects attributes. |
void TdkTheme::loadChildren | ( | TeDatabase * | dbCaller, | |
TdkLoadParams & | params | |||
) | [protected, virtual] |
Loads the object children. The object children are loaded according to the specified load params. The load params can specify what object information will be stored in cache.
dbCaller | The database connection. | |
params | The load params. |
Reimplemented from TdkObjectCollection.
void TdkTheme::deleteChildren | ( | TeDatabase * | dbCaller, | |
TdkEventHandlerVector & | objects, | |||
TdkPersistenceParams & | params | |||
) | [protected, virtual] |
Removes object children from cache and database. The object children geometries are removed from cache and database and the object children attributes are removed from database if the removeAttr parameter is true.
dbCaller | The database connection. | |
objects | The objects to be removed. | |
removeAttrs | True for remove the objects attributes. |
Reimplemented from TdkObjectCollection.
void TdkTheme::associateChildren | ( | TeDatabase * | dbCaller | ) | [protected, virtual] |
Associate the object children. It makes a connection of double direction of an object with its children.
dbCaller | The database connection. |
Reimplemented from TdkObjectCollection.
void TdkTheme::loadChildrenGIDs | ( | TeDatabase * | dbCaller | ) | [protected, virtual] |
Loads object children GID from database. Gets the children ids, build their GID and insert them into the children GID vector.
dbCaller | The database connection. |
Reimplemented from TdkObjectCollection.
void TdkTheme::unloadChildren | ( | TeDatabase * | dbCaller | ) | [protected, virtual] |
Unloads object children from cache. Unloads the children from the cache and clears the cache params map.
dbCaller | The database connection. |
void TdkTheme::loadFromShapeFile | ( | TeDatabase * | dbCaller, | |
TdkLoadParams & | params | |||
) | [protected, virtual] |
Loads a shape file. Loads all objects from a shape file associated to the theme layer.
dbCaller | The database connection. | |
params | The load params. |
virtual void TdkTheme::loadOriginalChildren | ( | TeRepresentation & | sRep, | |
TdkLoadParams & | loadParams, | |||
std::vector< TeBox > & | loadedAreas | |||
) | [protected, virtual] |
Loads the original theme children. The original theme children to be loaded inside of one definitive area must have a specific representation. Perhaps this area hides areas already loaded. If this to happen, the already loaded original theme children are not loaded again.
sRep | Loaded children representation. | |
loadParams | Parameters to load. | |
loadedAreas | Areas already loaded. |
void TdkTheme::loadGeneralizationChildren | ( | TdkGeneralizationRepresentation & | sRep, | |
TdkLoadParams & | loadParams, | |||
std::vector< TeBox > & | loadedAreas | |||
) | [protected, virtual] |
Loads the generalization theme children. The generalization theme children to be loaded inside of one definitive area must have a specific representation. Perhaps this area hides areas already loaded. If this to happen, the already loaded generalization theme children are not loaded again.
sRep | Loaded children representation. | |
loadParams | Parameters to load. | |
loadedAreas | Areas already loaded. |
void TdkTheme::loadAggregationChildren | ( | TdkGeneralizationRepresentation & | sRep, | |
TdkLoadParams & | loadParams, | |||
std::vector< TeBox > & | loadedAreas | |||
) | [protected] |
virtual std::string TdkTheme::getOriginalAreasToLoad | ( | TeDatabase * | db, | |
TeRepresentation & | rep, | |||
TdkLoadParams & | params, | |||
std::vector< TeBox > & | loadedAreas | |||
) | [protected, virtual] |
Gets an area of original geometries. This returned area is the passed area minus loaded original geometries areas.
db | The database connection. | |
rep | Geometry representation. | |
params | Contains the passed area. | |
loadedAreas | Areas already loaded. |
string TdkTheme::getGeneralizationLoadedAreas | ( | TdkLoadParams & | params, | |
TeRepresentation & | rep, | |||
vector< TeBox > & | loadedAreas | |||
) | [protected, virtual] |
Gets an area of generalization geometries. This returned area is the passed area minus loaded generalization geometries areas.
db | The database connection. | |
rep | Geometry representation. | |
params | Contains the passed area. | |
loadedAreas | Areas already loaded. |
string TdkTheme::getGeneralizationLoadedIds | ( | TdkLoadParams & | params | ) | [protected, virtual] |
string TdkTheme::getSQLBoxWhere | ( | TeBox & | box, | |
TeRepresentation & | rep | |||
) | [protected, virtual] |
Gets a SQL clause that contains a box. The returned SQL clause is associated to a geometry representation.
box | The SQL box. | |
rep | The geometry representation. |
string TdkTheme::getSQLEqualBoxWhere | ( | TeBox & | box, | |
TdkGeneralizationRepresentation & | rep | |||
) | [protected, virtual] |
Gets a SQL clause that equals a box. The returned SQL clause is associated to a geometry representation.
box | The SQL box. | |
rep | The geometry representation. |
void TdkTheme::init | ( | ) | [protected, virtual] |
Initializes some theme attributes.
void TdkTheme::addPickAttender | ( | TdkEvent & | event, | |
TeMultiGeometry & | geom, | |||
TeCoord2D & | c1, | |||
TeCoord2D & | c2 | |||
) | [protected, virtual] |
void TdkTheme::addPickAttender | ( | TdkEvent & | event, | |
TeMultiGeometry & | geom | |||
) | [protected, virtual] |
void TdkTheme::addGidsAttender | ( | TdkEvent & | event, | |
TeMultiGeometry & | geom, | |||
TdkObjectGIDVector & | gids | |||
) | [protected, virtual] |
void TdkTheme::handleVSEvent | ( | TdkEvent & | event | ) | [protected, virtual] |
void TdkTheme::handleVSEvent | ( | TdkSelectObjectsEvent & | event | ) | [protected, virtual] |
Handles a object selection event.
void TdkTheme::handleVSEvent | ( | TdkClearSelectedObjectsEvent & | event | ) | [protected, virtual] |
Handles a object selection event.
void TdkTheme::handleVSEvent | ( | TdkSelectObjectsGIDVectorEvent & | event | ) | [protected, virtual] |
Handles a object selection by object GID vector event.
void TdkTheme::handleVSEvent | ( | TdkUnselectObjectsGIDVectorEvent & | event | ) | [protected, virtual] |
Handles a object selection by object GID vector event.
void TdkTheme::handleVSEvent | ( | TdkPickEvent & | event | ) | [protected, virtual] |
Handles a pick event.
void TdkTheme::handleVSEvent | ( | TdkEditObjectPointFeedbackEvent & | event | ) | [protected, virtual] |
Handles a object point edition feedback event.
void TdkTheme::handleVSEvent | ( | TdkSelectedObjectsBBoxEvent & | event | ) | [protected, virtual] |
Handles a selected objects bounding box event.
void TdkTheme::handleVSEvent | ( | TdkThemeBBoxEvent & | event | ) | [protected, virtual] |
Handles a theme bounding box event.
void TdkTheme::handleVSEvent | ( | TdkSelectedObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a selected objects identification event.
void TdkTheme::handleVSEvent | ( | TdkClearSelectedObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a clear selected objects identification event.
void TdkTheme::handleVSEvent | ( | TdkThemeObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a theme objects identification event.
void TdkTheme::handleVSEvent | ( | TdkObjectIdentificationEvent & | event | ) | [protected, virtual] |
Handles a object identification event.
void TdkTheme::handleVSEvent | ( | TdkClearObjectIdentificationEvent & | event | ) | [protected, virtual] |
Handles a object identification event.
void TdkTheme::handleVSEvent | ( | TdkClearThemeObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a clear theme objects identification event.
void TdkTheme::handleVSEvent | ( | TdkClearObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a clear objects identification event.
void TdkTheme::handleVSEvent | ( | TdkObjectsIdentificationEvent & | event | ) | [protected, virtual] |
Handles a objects identification event.
bool TdkTheme::alreadyInVector | ( | const TdkObjectGIDVector & | objects, | |
string | objectId | |||
) | [protected, virtual] |
bool TdkTheme::inAttenders | ( | TdkEventHandlerVector & | attenders, | |
TdkPickAttender * | pickAttender | |||
) | [protected, virtual] |
void TdkTheme::insertObjectInMap | ( | TdkObject * | object, | |
TdkObjectGIDMap & | objects | |||
) | [protected, virtual] |
Returns the last instance of the TeSTElement property.
void TdkTheme::insertObjectInMap | ( | TdkObjectGID * | gid, | |
TdkObjectGIDMap & | objects | |||
) | [protected, virtual] |
void TdkTheme::removeObjectFromMap | ( | TdkObject * | object, | |
TdkObjectGIDMap & | objects | |||
) | [protected, virtual] |
void TdkTheme::removeObjectFromMap | ( | TdkObjectGID * | gid, | |
TdkObjectGIDMap & | objects | |||
) | [protected, virtual] |
void TdkTheme::clearObjectsMap | ( | TdkObjectGIDMap & | objects | ) | [protected, virtual] |
TeBox TdkTheme::getTextBox | ( | const TeText & | geom, | |
TdkCanvas * | canvas | |||
) | [protected, virtual] |
void TdkTheme::adjustLoadedAreas | ( | const TeBox & | oldArea | ) | [protected, virtual] |
Loaded areas that intersetting the given area will be the intersection with the theme box.
void TdkTheme::operator= | ( | TdkObject & | object | ) | [virtual] |
TdkObject * TdkTheme::copy | ( | ) | [virtual] |
Returns a theme copy. Copies all information from this theme.
Reimplemented from TdkObjectCollection.
void TdkTheme::setGID | ( | const TdkObjectGID & | objectGID | ) | [virtual] |
TdkTheme * TdkTheme::query | ( | TdkQueryParams & | params | ) | [virtual] |
Creates a theme from this theme. Apply a query on the children and returns a new theme with the children that match.
params | The query params. |
bool TdkTheme::needToLoad | ( | TdkLoadParams & | params | ) | [virtual] |
Verify if the object loading from the database is necessary.
Reimplemented from TdkObjectCollection.
void TdkTheme::setAllAttrsInCache | ( | bool | allAttrsInCache | ) |
Defines if all theme attributes will be in the cache or not.
bool TdkTheme::getAllAttrsInCache | ( | ) |
Returns true if all theme attributes are in the cache.
bool TdkTheme::loadThemeTables | ( | ) | [virtual] |
Loads the theme tables.
void TdkTheme::id | ( | int | i | ) | [virtual] |
Defines the theme id.
int TdkTheme::id | ( | ) | [virtual] |
Returns the theme id.
void TdkTheme::loadVisualizationAttrs | ( | ) | [virtual] |
void TdkTheme::loadUpperRightText | ( | ) | [virtual] |
void TdkTheme::loadRastersMasks | ( | TeDatabase * | db = NULL |
) | [virtual] |
void TdkTheme::setRastersMasks | ( | TdkRastersMasks & | rastersMasks | ) | [virtual] |
TdkRastersMasks & TdkTheme::getRastersMasks | ( | ) | [virtual] |
void TdkTheme::setRasterMask | ( | int | geomId, | |
TdkRasterMask & | rasterMask | |||
) | [virtual] |
TdkRasterMask TdkTheme::getRasterMask | ( | int | geomId | ) | [virtual] |
void TdkTheme::insertRasterMask | ( | int | geomId, | |
TdkRasterMask & | rasterMask, | |||
TeDatabase * | db = NULL | |||
) | [virtual] |
void TdkTheme::updateRasterMask | ( | int | geomId, | |
TdkRasterMask & | rasterMask, | |||
TeDatabase * | db = NULL | |||
) | [virtual] |
void TdkTheme::setUpperText | ( | const TeText & | text | ) | [virtual] |
void TdkTheme::setRightText | ( | const TeText & | text | ) | [virtual] |
const TeText & TdkTheme::getUpperText | ( | ) | [virtual] |
const TeText & TdkTheme::getRightText | ( | ) | [virtual] |
std::string TdkTheme::getGroupingTableName | ( | ) | [virtual] |
std::string TdkTheme::getGroupingFieldName | ( | ) | [virtual] |
void TdkTheme::visibleRep | ( | int | rep | ) | [virtual] |
int TdkTheme::visibleRep | ( | ) | [virtual] |
void TdkTheme::layer | ( | TdkLayer * | layer | ) | [virtual] |
TeLayer * TdkTheme::layer | ( | ) | [virtual] |
void TdkTheme::layerId | ( | int | i | ) | [virtual] |
int TdkTheme::layerId | ( | ) | [virtual] |
void TdkTheme::setIdentifyObjects | ( | bool | identifyObjects | ) | [virtual] |
bool TdkTheme::getIdentifyObjects | ( | ) | [virtual] |
void TdkTheme::setTipTable | ( | std::string | tipTab | ) | [virtual] |
string TdkTheme::getTipTable | ( | ) | [virtual] |
void TdkTheme::setTipField | ( | std::string | tipFld | ) | [virtual] |
string TdkTheme::getTipField | ( | ) | [virtual] |
virtual bool TdkTheme::isAggregatedThemeObject | ( | std::string | aggregateObjectId | ) | [virtual] |
Returns true if any object id given aggregateObjectId is int the children map
aggregateObjectId | Format: ##objectId1##objectId2##objectIdN###. |
virtual std::string TdkTheme::getIdentifiedObjectText | ( | std::string | aggregatedObjectId, | |
std::string | attrName | |||
) | [virtual] |
Returns the text of the identified objects in the given aggregateObjectId.
virtual std::string TdkTheme::getAggregatedIdText | ( | std::string | aggregatedObjectId, | |
std::string | attrName | |||
) | [virtual] |
Returns the text of the aggregated objects in the given aggregateObjectId.
void TdkTheme::setAggregationNumPixels | ( | int | aggregationNumPixels | ) | [virtual] |
int TdkTheme::getAggregationNumPixels | ( | ) | [virtual] |
void TdkTheme::setReferenceScale | ( | double | refScale | ) | [virtual] |
double TdkTheme::getReferenceScale | ( | ) | [virtual] |
void TdkTheme::activation | ( | bool | activation | ) | [virtual] |
bool TdkTheme::activation | ( | ) | [virtual] |
virtual std::string TdkTheme::leSQLQueryDraw | ( | TeGeomRep | geometry, | |
std::string | subquery | |||
) | [virtual] |
virtual std::string TdkTheme::getGeometrySQL | ( | TeGeomRep | geometry, | |
std::string | subquery, | |||
bool | useCollection | |||
) | [virtual] |
string TdkTheme::getBoundaringBoxSQL | ( | TeGeomRep | geometry, | |
bool | useCollection | |||
) | [virtual] |
Returns the SQL sentence to get the theme boundaring box for a given geometry representation.
string TdkTheme::generateCollectionSQL | ( | TeRepresentation * | rep = NULL |
) | [virtual] |
void TdkTheme::setThematicPartition | ( | TeLegendEntryVector & | legendVector | ) | [virtual] |
virtual std::string TdkTheme::getStringAttr | ( | std::string | attr_name | ) | [virtual] |
Returns the value for the given attribute. The attribute type must be string.
Reimplemented from TdkObjectCollection.
virtual void TdkTheme::setStringAttr | ( | std::string | attr_name, | |
std::string | value | |||
) | [virtual] |
Sets the value for the given attribute. The attribute type must be string.
Reimplemented from TdkObjectCollection.
virtual int TdkTheme::getIntegerAttr | ( | std::string | attr_name | ) | [virtual] |
Returns the value for the given attribute. The attribute type must be integer.
Reimplemented from TdkObjectCollection.
virtual void TdkTheme::setIntegerAttr | ( | std::string | attr_name, | |
int | value | |||
) | [virtual] |
Gets the value for the given attribute. The attribute type must be integer.
Reimplemented from TdkObjectCollection.
virtual double TdkTheme::getRealAttr | ( | std::string | attr_name | ) | [virtual] |
Returns the value for the given attribute. The attribute type must be real.
Reimplemented from TdkObjectCollection.
virtual void TdkTheme::setRealAttr | ( | std::string | attr_name, | |
double | value | |||
) | [virtual] |
Gets the value for the given attribute. The attribute type must be real.
Reimplemented from TdkObjectCollection.
virtual bool TdkTheme::createCollectionTable | ( | std::string | name | ) | [virtual] |
virtual void TdkTheme::addAttributeRest | ( | std::string | newRest | ) | [virtual] |
void TdkTheme::import | ( | TdkObject & | object | ) | [virtual] |
Reimplemented from TdkObjectCollection.
bool TdkTheme::hasObjectStyles | ( | ) | [virtual] |
Returns true if there are any object style diferent of the defaultLegend.
void TdkTheme::getOwnLegendsIds | ( | std::vector< int > & | legendIds | ) | [virtual] |
Returns the ids of the own objects legends (group=-10).
void TdkTheme::setLegendId | ( | TdkObjectGID & | objectGID, | |
int | legendId | |||
) | [virtual] |
Sets the legend for a given object gid.
TeLegendEntry & TdkTheme::getStyle | ( | TdkObjectGID & | objectGID | ) | [virtual] |
Returns the legend for a given a global object gid.
TeLegendEntry & TdkTheme::getStyle | ( | std::string & | objectId | ) | [virtual] |
Returns the legend for a given object gid.
int TdkTheme::getLegendId | ( | TdkObjectGID & | objectGID | ) | [virtual] |
Returns the legend id for a given global object gid.
int TdkTheme::getLegendId | ( | std::string & | objectId | ) | [virtual] |
Returns the legend id for a given object gid.
int TdkTheme::getLegendId | ( | TdkObject & | object | ) | [virtual] |
Returns the legend id for a given object.
void TdkTheme::saveLegendInCollection | ( | ) | [virtual] |
void TdkTheme::loadObjectsLegendsFromCollectionTables | ( | TdkObjectGID & | childGID | ) | [virtual] |
Loads the legend for each theme object.
void TdkTheme::loadObjectsLegendsFromCollectionTables | ( | ) |
map< string, int > & TdkTheme::getObjectsLegendsMap | ( | ) | [virtual] |
Returns the theme objects legends indexed by object id.
void TdkTheme::createRasterVisual | ( | ) |
TeAttributeRep & TdkTheme::getAttributeRep | ( | std::string | tableName, | |
std::string | attrName | |||
) | [virtual] |
void TdkTheme::getThematicValues | ( | std::string | tableName, | |
std::string | attrName, | |||
TeLegendEntryVector & | legends | |||
) | [virtual] |
void TdkTheme::getThematicQuantil | ( | std::string | tableName, | |
std::string | attrName, | |||
int | sliceNumber, | |||
TeLegendEntryVector & | legends | |||
) | [virtual] |
void TdkTheme::getThematicEqualSteps | ( | std::string | tableName, | |
std::string | attrName, | |||
int | sliceNumber, | |||
TeLegendEntryVector & | legends | |||
) | [virtual] |
void TdkTheme::setLegendWithDefaultVisual | ( | TeLegendEntry & | le | ) | [virtual] |
bool TdkTheme::isThemeChild | ( | TdkObjectGID & | objectGID | ) | [virtual] |
void TdkTheme::removeCollectionTables | ( | ) | [virtual] |
void TdkTheme::generateCollectionTables | ( | bool | overwrite = false |
) | [virtual] |
Generates the collection tables.
overwrite | true - will overwrite the existing table; false - if the table does not exist, it will generate a new table. |
void TdkTheme::linkChildren | ( | TdkEventHandlerVector & | objects, | |
bool | updateDB = true | |||
) | [virtual] |
void TdkTheme::linkChild | ( | TdkObjectGID & | objectGID, | |
bool | updateDB = true | |||
) | [virtual] |
void TdkTheme::unlinkChild | ( | const TdkObjectGID & | objectGID, | |
bool | updateDB = true | |||
) | [virtual] |
TdkObjectGIDMap & TdkTheme::getSelectedObjects | ( | ) | [virtual] |
TdkObjectGIDMap & TdkTheme::getIdentifiedObjects | ( | ) | [virtual] |
bool TdkTheme::isObjectSelected | ( | TdkObject * | object | ) | [virtual] |
bool TdkTheme::isObjectSelected | ( | TdkObjectGID * | gid | ) | [virtual] |
bool TdkTheme::isObjectIdentified | ( | TdkObject * | object | ) | [virtual] |
bool TdkTheme::isObjectIdentified | ( | TdkObjectGID * | gid | ) | [virtual] |
void TdkTheme::removeSelectedObject | ( | TdkObject * | object | ) | [virtual] |
bool TdkTheme::hasSelectedObjects | ( | ) | [virtual] |
void TdkTheme::clearSelectedObjects | ( | ) | [virtual] |
void TdkTheme::grouping | ( | const TeGrouping & | g | ) | [virtual] |
TeGrouping & TdkTheme::grouping | ( | ) | [virtual] |
bool TdkTheme::draw | ( | TdkCanvas * | canvas, | |
double | angle = 0 , |
|||
TdkMathMatrix * | matrix = NULL , |
|||
bool | refreshLoadedTheme = true , |
|||
bool | fromCache = false | |||
) | [virtual] |
void TdkTheme::drawFromCache | ( | TdkCanvas * | canvas, | |
double | angle, | |||
TdkMathMatrix * | matrix, | |||
bool | refreshLoadedTheme, | |||
double | size_factor, | |||
TdkLoadParams & | params, | |||
TeBox & | drawWindow | |||
) |
void TdkTheme::drawObjectsIdentification | ( | TdkCanvas * | canvas | ) | [virtual] |
void TdkTheme::drawSelectedObjects | ( | TdkCanvas * | canvas | ) | [virtual] |
void TdkTheme::updateAttributes | ( | TdkObject & | object | ) | [virtual] |
bool TdkTheme::isEditable | ( | ) | [virtual] |
TeMultiGeometry & TdkTheme::getGeometries | ( | double | level, | |
bool | createLevel = false | |||
) |
void TdkTheme::updateGeometries | ( | double | level, | |
TePolygon & | geom | |||
) | [virtual] |
void TdkTheme::updateGeometries | ( | double | level, | |
TeLine2D & | geom | |||
) | [virtual] |
void TdkTheme::updateGeometries | ( | double | level, | |
TePoint & | geom | |||
) | [virtual] |
void TdkTheme::updateGeometries | ( | double | level, | |
TeCell & | geom | |||
) | [virtual] |
void TdkTheme::updateGeometries | ( | double | level, | |
TeText & | geom | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TePolygonSet & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeLineSet & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TePointSet & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeCellSet & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeTextSet & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TePolygon & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeLine2D & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TePoint & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeCell & | geomSet | |||
) | [virtual] |
void TdkTheme::addGeometries | ( | double | level, | |
TeText & | geomSet | |||
) | [virtual] |
void TdkTheme::removeGeometries | ( | std::string | objectId | ) | [virtual] |
TdkCacheParamsMap & TdkTheme::getCacheParams | ( | ) |
void TdkTheme::clearCache | ( | ) |
void TdkTheme::clearCache | ( | double | level | ) |
void TdkTheme::clearCacheParams | ( | ) |
Clears the cache params.
void TdkTheme::clearGeometriesCache | ( | ) |
Clears the geometries levels.
void TdkTheme::addCacheParams | ( | TdkLoadParams & | lparams, | |
int | blockId = TDK_BLOCKID_DEFAULT_VALUE | |||
) |
TdkCacheParamsSet & TdkTheme::findCacheParamsSet | ( | double | level | ) |
void TdkTheme::setCacheParamsSet | ( | TdkCacheParamsSet & | params, | |
double | level | |||
) |
bool TdkTheme::needLoadObjects | ( | TdkLoadParams & | params | ) | [virtual] |
Sets if is necessary to load geometries and/or any attribute of the theme objects.
params | The params to be load. Set the params with the real load necessities. |
void TdkTheme::addChild | ( | TdkObjectGID & | objectGID | ) | [virtual] |
The object GID type must be equal to the collection children type.
void TdkTheme::addChild | ( | TdkObject * | object | ) | [virtual] |
void TdkTheme::getThemeGeometries | ( | TdkObjectGIDMap & | gids, | |
double | pixelSize, | |||
TeMultiGeometry & | geom | |||
) | [virtual] |
Returns a set of reference to multigeometries for the given gids vector and pixel size, based on the theme geometries cache.
void TdkTheme::getThemeGeometries | ( | TdkObjectGIDMap & | gids, | |
double | pixelSize, | |||
std::vector< TePolygon * > & | polys | |||
) |
Returns a set of reference to polygon geometries for the given gids vector and pixel size, based on the theme geometries cache.
void TdkTheme::getThemeGeometries | ( | TdkObjectGIDMap & | gids, | |
double | pixelSize, | |||
std::vector< TeLine2D * > & | lines | |||
) |
Returns a set of reference to line geometries for the given gids vector and pixel size, based on the theme geometries cache.
void TdkTheme::getThemeGeometries | ( | TdkObjectGIDMap & | gids, | |
double | pixelSize, | |||
std::vector< TePoint * > & | points | |||
) |
Returns a set of reference to point geometries for the given gids vector and pixel size, based on the theme geometries cache.
void TdkTheme::getThemeGeometries | ( | TdkObjectGIDMap & | gids, | |
double | pixelSize, | |||
std::vector< TeText * > & | texts | |||
) |
Returns a set of reference to text geometries for the given gids vector and pixel size, based on the theme geometries cache.
void TdkTheme::getObjectGeometry | ( | TdkObjectGID * | gid, | |
double | pixelSize, | |||
TeMultiGeometry & | geom | |||
) |
Returns the geometry of one object from the geometries cache given the object gid and one error level (pixel size).
void TdkTheme::getSelectedObjectsBBox | ( | double | pixelSize, | |
TeBox & | box | |||
) |
Returns the selected objects bounding box for the pixel size, based on the theme geometries cache.
void TdkTheme::setDrawingBuffer | ( | int | drawing_buffer | ) |
int TdkTheme::getDrawingBuffer | ( | ) |
bool TdkTheme::isSaved | ( | ) |
void TdkTheme::setSavedState | ( | bool | isSaved | ) |
bool TdkTheme::isAllAttrsInCache | ( | ) |
Returns true if the theme was loaded completelly.
void TdkTheme::setBoxExtension | ( | double | box_extension | ) |
double TdkTheme::getBoxExtension | ( | ) |
TeBox TdkTheme::box | ( | ) | [virtual] |
Returns the theme bounding box.
void TdkTheme::setThemeBox | ( | const TeBox & | box | ) | [virtual] |
Sets the bounding box of a theme.
void TdkTheme::updateThemeBox | ( | ) | [virtual] |
Refreshes the bounding box of a theme according to its representation.
void TdkTheme::updateThemeBox | ( | const TeBox & | box | ) | [virtual] |
Updates the bounding box of a theme (in database).
friend class TdkPersistenceService [friend] |
Reimplemented from TdkObjectCollection.
TdkRastersMasks TdkTheme::rastersMasks_ [protected] |
TeText TdkTheme::upperText_ [protected] |
Text data.
TeText TdkTheme::rightText_ [protected] |
TeBox TdkTheme::box_ [protected] |
Theme boundaring box.
bool TdkTheme::isSaved_ [protected] |
bool TdkTheme::hasObjectStyles_ [protected] |
True if there are any object with style different to the defaultLegend.
std::string TdkTheme::tipTable_ [protected] |
Tip table name.
std::string TdkTheme::tipField_ [protected] |
Tip field name.
int TdkTheme::aggregationNumPixels_ [protected] |
Numbers of pixels used to draw aggregated points.
double TdkTheme::referenceScale_ [protected] |
Theme reference scale.
bool TdkTheme::enableActivation_ [protected] |
If true, it enables the theme activation.
bool TdkTheme::allAttrsInCache_ [protected] |
If true, all theme attributes are in the cache.
TdkCacheParamsMap TdkTheme::cacheParams_ [protected] |
Theme cache params map.
TdkGeometriesCacheMap TdkTheme::cacheGeometries_ [protected] |
Theme geometries cache map.
std::map<std::string, int> TdkTheme::objectsLegendsMap_ [protected] |
Theme objects style map: Indexed by object id. The second column is the legend id.
TdkObjectGIDMap TdkTheme::selected_objects_ [protected] |
Selected theme objects.
TdkObjectGIDMap TdkTheme::identified_objects_ [protected] |
Identified theme objects.
bool TdkTheme::identifyObjects_ [protected] |
TdkObject* TdkTheme::highlightedObject_ [protected] |
Highlighted theme object.
int TdkTheme::drawing_buffer_ [protected] |
The drawing theme buffer.
double TdkTheme::box_extension_ [protected] |
The box extension.