A layer with reference to a dataset that contains spatiotemporal data. More...
#include <AbstractSTDataSetLayer.h>
Public Types | |
typedef std::list< TreeItemPtr >::const_iterator | const_iterator |
typedef std::list< TreeItemPtr >::iterator | iterator |
Public Member Functions | |
AbstractSTDataSetLayer (AbstractLayer *parent=0) | |
It initializes a new layer. More... | |
AbstractSTDataSetLayer (const std::string &id, AbstractLayer *parent=0) | |
It initializes a new layer. More... | |
AbstractSTDataSetLayer (const std::string &id, const std::string &title, AbstractLayer *parent=0) | |
It initializes a new Layer. More... | |
void | add (const TreeItemPtr &childItem) |
It adds (appends) the item to the end of the children's list. More... | |
void | attach () |
Increases the number of references to this object. More... | |
const_iterator | begin () const |
It returns the constant iterator associated to the first child of this item. More... | |
iterator | begin () |
It returns the iterator associated to the first child of this item. More... | |
virtual void | clearSelected () |
It clears the selected group of this Layer. More... | |
virtual void | deselect (const te::da::ObjectIdSet *oids) |
It removes the given oids from the selected group of this Layer. More... | |
void | detach () |
Decreases the number of references to this object. Destroy it if there are no more references to it. More... | |
void | disconnect () |
It disconnects this item from its parent, if it has one. More... | |
virtual void | draw (Canvas *canvas, const te::gm::Envelope &bbox, int srid)=0 |
It draws the layer geographic objects in the given canvas using the informed SRS. More... | |
const_iterator | end () const |
It returns the constant iterator that refers to one past the end of the children of this item. More... | |
iterator | end () |
It returns the iterator that refers to one past the children of this item. More... | |
std::vector< te::map::AbstractLayer * > | getAncestors () |
It returns a list with the ancestors of this layer. More... | |
virtual te::map::Chart * | getChart () const |
It returns the Chart associated to the Layer. More... | |
const TreeItemPtr & | getChild (std::size_t i) const |
It returns the n-th child. More... | |
const std::list< TreeItemPtr > & | getChildren () const |
It returns the children of this tree item. More... | |
std::size_t | getChildrenCount () const |
It returns the number of children of this node. More... | |
te::map::CompositionMode | getCompositionMode () const |
It returns the composition mode. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const te::dt::DateTime &dt, te::dt::TemporalRelation r=te::dt::DURING, te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess) const =0 |
It gets the dataset using a temporal filter over the phenomenon time property. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Envelope &e, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess) const =0 |
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter over the observed geometry property. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const te::dt::DateTime &dt, te::dt::TemporalRelation tr, const te::gm::Geometry &g, te::gm::SpatialRelation sr=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY, te::common::AccessPolicy rwRole=te::common::RAccess) const =0 |
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter over the observed geometry property. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (te::common::TraverseType travType=te::common::FORWARDONLY, const te::common::AccessPolicy accessPolicy=te::common::RAccess) const =0 |
It gets the dataset identified by the layer name. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const std::string &propertyName, const te::gm::Envelope *e, te::gm::SpatialRelation r=te::gm::INTERSECTS, te::common::TraverseType travType=te::common::FORWARDONLY, const te::common::AccessPolicy accessPolicy=te::common::RAccess) const =0 |
It gets the dataset identified by the layer name using a spatial filter over the specified property. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const std::string &propertyName, const te::gm::Geometry *g, te::gm::SpatialRelation r, te::common::TraverseType travType=te::common::FORWARDONLY, const te::common::AccessPolicy accessPolicy=te::common::RAccess) const =0 |
It gets the dataset identified by the layer name using a spatial filter over the given geometric property. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (te::da::Expression *restriction, te::common::TraverseType travType=te::common::FORWARDONLY, const te::common::AccessPolicy accessPolicy=te::common::RAccess) const =0 |
It gets the dataset identified by the layer name using the given restriction. More... | |
virtual std::auto_ptr< te::da::DataSet > | getData (const te::da::ObjectIdSet *oids, te::common::TraverseType travType=te::common::FORWARDONLY, const te::common::AccessPolicy accessPolicy=te::common::RAccess) const =0 |
It gets the dataset from the given set of objects identification. More... | |
std::vector< te::map::AbstractLayer * > | getDescendants () |
It returns a list with the descendants of this layer. More... | |
void | getDescendantsCount (std::size_t &count) const |
It returns the number of nodes that descends from this node. More... | |
virtual const te::gm::Envelope & | getExtent () const |
It returns the Layer extent (or minimum bounding box). More... | |
virtual const std::string & | getGeomPropertyName () const |
virtual te::map::Grouping * | getGrouping () const |
It returns the Grouping associated to the Layer. More... | |
virtual const std::string & | getId () const |
It returns the layer id. More... | |
std::size_t | getIndex () const |
It returns the index of this item in the list of children of its parent item. More... | |
TreeItem * | getParent () const |
It returns a pointer to the parent of this node. More... | |
virtual std::auto_ptr< LayerSchema > | getSchema () const =0 |
It returns the layer schema. More... | |
virtual const te::da::ObjectIdSet * | getSelected () const |
It returns the selected group of this Layer. More... | |
virtual int | getSRID () const |
It returns the Spatial Reference System ID associated to the Layer. More... | |
virtual te::se::Style * | getStyle () const |
It returns the Style associated to the layer. More... | |
virtual te::dt::DateTimePeriod * | getTemporalExtent () const =0 |
It returns the layer temporal extent. More... | |
virtual const std::string & | getTitle () const |
It returns the layer title. More... | |
virtual const std::string & | getType () const =0 |
It returns the layer type. More... | |
virtual Visibility | getVisibility () const |
It returns the layer visibility. More... | |
bool | hasChildren () const |
It returns true if the item has descendants. More... | |
bool | hasVisibilityChanged () |
It gets the flag that indicates if the layer visibility has changed. More... | |
void | insert (std::size_t i, const TreeItemPtr &childItem) |
It inserts an item in the informed position. More... | |
bool | isSibling (const TreeItem *item) const |
It checks if the given layer is sibling of this one. More... | |
virtual bool | isValid () const =0 |
It returns true if the layer can be used for instance to draw, otherwise, it returns false. More... | |
const TreeItemPtr & | operator[] (std::size_t i) const |
It returns the n-th child. More... | |
int | refCount () |
Returns the number of references to this object. More... | |
TreeItemPtr | remove (std::size_t i) |
It removes the i-th child. More... | |
std::list< TreeItemPtr > | remove (std::size_t i, std::size_t count) |
It removes from the given position a certain number of items as children of this item. The items to be removed will be disconnected from this item. More... | |
TreeItemPtr | replace (std::size_t i, const TreeItemPtr &childItem) |
It replaces the child item at the given position by the new one. The replaced item will be disconnected from this item. More... | |
virtual void | select (te::da::ObjectIdSet *oids) |
It adds the given oids to the selected group of this Layer. More... | |
virtual void | setChart (te::map::Chart *chart) |
It sets the Chart associated to the Layer. More... | |
void | setCompositionMode (te::map::CompositionMode mode) |
It sets the composition mode. More... | |
virtual void | setExtent (const te::gm::Envelope &mbr) |
It sets the Layer extent (or minimum bounding box). More... | |
virtual void | setGeomPropertytName (const std::string &name) |
virtual void | setGrouping (te::map::Grouping *grouping) |
It sets the Grouping associated to the Layer. More... | |
virtual void | setId (const std::string &id) |
It sets the layer id. More... | |
virtual void | setOutOfDate () |
Its indicate that the layer schema is out of date. More... | |
virtual void | setSRID (int srid) |
It sets the Spatial Reference System ID associated to the Layer. More... | |
virtual void | setStyle (te::se::Style *style) |
It sets the Style associated to the layer. More... | |
virtual void | setTitle (const std::string &title) |
It sets the layer title. More... | |
virtual void | setVisibility (Visibility v) |
It sets the layer visibility. More... | |
void | setVisibilityAsChanged (bool visChanged) |
It sets that the status of the layer visibility is to be changed or not.. More... | |
void | swap (const TreeItemPtr &firstChild, const TreeItemPtr &secondChild) |
It swaps the position of the given children. More... | |
void | swap (const TreeItemPtr &sibling) |
It swaps this item with its sibling in their parent node. More... | |
virtual void | updateVisibility () |
It updates the visibility of this layer. More... | |
void | updateVisibilityOfAncestors () |
It updates the visibility of the ancestors of this layer, if any. More... | |
virtual | ~AbstractSTDataSetLayer () |
Virtual Destructor. More... | |
Static Public Attributes | |
static const std::size_t | npos |
A value to indicate no match. More... | |
Protected Member Functions | |
void | setParent (TreeItem *parent) |
It sets the parent of this item to the specified one. Don't use this method if you are not sure how to handle all the pointers involved in this operation. More... | |
Protected Attributes | |
te::map::Chart * | m_chart |
The chart information. More... | |
std::list< TreeItemPtr > | m_children |
Pointers to the items that are children. More... | |
te::map::CompositionMode | m_compositionMode |
The composition mode used to merged the canvas. More... | |
std::string | m_geomPropertyName |
The name of the referenced geometry property. More... | |
te::map::Grouping * | m_grouping |
The grouping information. More... | |
std::string | m_id |
Layer id. More... | |
te::gm::Envelope | m_mbr |
The layer bounding box. More... | |
TreeItem * | m_parent |
A pointer to the parent node. More... | |
te::da::ObjectIdSet * | m_selected |
The selected group of the layer. More... | |
int | m_srid |
The identifier of the layer spatial reference system. More... | |
te::se::Style * | m_style |
The style to be applied to the geographic objects in the layer. More... | |
std::string | m_title |
A brief description of this Layer that can be used by applications to show a text identifying this layer. More... | |
Visibility | m_visibility |
It indicates the layer visibility. More... | |
bool | m_visibilityChanged |
It indicates if the layer visibility has changed. More... | |
A layer with reference to a dataset that contains spatiotemporal data.
Definition at line 52 of file AbstractSTDataSetLayer.h.
|
inherited |
Definition at line 67 of file TreeItem.h.
|
inherited |
Definition at line 66 of file TreeItem.h.
te::st::AbstractSTDataSetLayer::AbstractSTDataSetLayer | ( | AbstractLayer * | parent = 0 | ) |
It initializes a new layer.
parent | The parent layer (NULL if it has no parent). |
Definition at line 30 of file AbstractSTDataSetLayer.cpp.
te::st::AbstractSTDataSetLayer::AbstractSTDataSetLayer | ( | const std::string & | id, |
AbstractLayer * | parent = 0 |
||
) |
It initializes a new layer.
id | The layer id. |
parent | The parent layer (NULL if it has no parent). |
Definition at line 35 of file AbstractSTDataSetLayer.cpp.
te::st::AbstractSTDataSetLayer::AbstractSTDataSetLayer | ( | const std::string & | id, |
const std::string & | title, | ||
AbstractLayer * | parent = 0 |
||
) |
It initializes a new Layer.
id | The layer id. |
title | The title is a brief description about the layer. |
parent | The parent layer (NULL if it has no parent). |
Definition at line 40 of file AbstractSTDataSetLayer.cpp.
|
inlinevirtual |
Virtual Destructor.
Definition at line 82 of file AbstractSTDataSetLayer.h.
|
inherited |
It adds (appends) the item to the end of the children's list.
If the child item already has a parent, it will be disconnected from it and will be attached to this one.
childItem | The item to be added as a child of this item. |
The children's list will be increased with one element.
Definition at line 91 of file TreeItem.cpp.
|
inlineinherited |
Increases the number of references to this object.
Definition at line 88 of file Counted.h.
References te::common::Counted::m_refCount.
Referenced by te::common::intrusive_ptr_add_ref().
|
inherited |
It returns the constant iterator associated to the first child of this item.
Definition at line 266 of file TreeItem.cpp.
|
inherited |
It returns the iterator associated to the first child of this item.
Definition at line 271 of file TreeItem.cpp.
|
virtualinherited |
It clears the selected group of this Layer.
Definition at line 265 of file AbstractLayer.cpp.
|
virtualinherited |
It removes the given oids from the selected group of this Layer.
oids | The oids that will be removed. |
Definition at line 271 of file AbstractLayer.cpp.
|
inlineinherited |
Decreases the number of references to this object. Destroy it if there are no more references to it.
Definition at line 93 of file Counted.h.
References te::common::Counted::m_refCount.
Referenced by te::common::intrusive_ptr_release().
|
inherited |
It disconnects this item from its parent, if it has one.
Definition at line 199 of file TreeItem.cpp.
|
pure virtualinherited |
It draws the layer geographic objects in the given canvas using the informed SRS.
The informed bounding box can be used to constraint the layer objects to be drawn.
The bbox coordinates must be in the same Spatial Reference System given by srid.
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
Referenced by te::qt::widgets::MapDisplay::draw().
|
inherited |
It returns the constant iterator that refers to one past the end of the children of this item.
Definition at line 276 of file TreeItem.cpp.
|
inherited |
It returns the iterator that refers to one past the children of this item.
Definition at line 281 of file TreeItem.cpp.
|
inherited |
It returns a list with the ancestors of this layer.
Definition at line 128 of file AbstractLayer.cpp.
References te::common::TreeItem::getParent().
|
virtualinherited |
It returns the Chart associated to the Layer.
Definition at line 303 of file AbstractLayer.cpp.
Referenced by te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), and te::map::serialize::WriteAbstractLayer().
|
inherited |
It returns the n-th child.
i | The child index. |
Definition at line 75 of file TreeItem.cpp.
Referenced by te::qt::widgets::MapDisplay::draw(), FolderLayerWriter(), and te::map::AbstractLayer::updateVisibilityOfAncestors().
|
inherited |
It returns the children of this tree item.
Definition at line 70 of file TreeItem.cpp.
Referenced by te::qt::af::XMLFormatter::format().
|
inherited |
It returns the number of children of this node.
Definition at line 183 of file TreeItem.cpp.
Referenced by te::qt::widgets::MapDisplay::draw(), FolderLayerWriter(), and te::map::AbstractLayer::updateVisibilityOfAncestors().
|
inherited |
It returns the composition mode.
Composition modes are used to specify how the pixels in one image, the source, are merged with the pixel in another image, the destination.
Definition at line 324 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerWriter(), DataSetLayerWriter(), te::wms::serialize::LayerWriter(), QueryLayerWriter(), and RasterLayerWriter().
|
pure virtual |
It gets the dataset using a temporal filter over the phenomenon time property.
The possible temporal relations are: 1. AFTER;
dt | A given datetime to be used as a temporal filter when retrieving datasets. |
r | The temporal relation to be used during the filter. |
travType | The traverse type associated to the returned dataset. |
rwRole | The read and write permission associated to the returned dataset. |
Exception | It can throws an exception if:
|
Implemented in te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, and te::st::ObservationDataSetLayer.
|
pure virtual |
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter over the observed geometry property.
The possible temporal relations are: 1. AFTER;
dt | A given datetime to be used as a temporal filter when retrieving datasets. |
tr | The temporal relation to be used during the filter. |
e | A rectangle to be used as a spatial filter when retrieving datasets. |
sr | The spatial relation to be used during the filter. |
travType | The traverse type associated to the returned dataset. |
rwRole | The read and write permission associated to the returned dataset. |
Exception | It can throws an exception if:
|
Implemented in te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, and te::st::ObservationDataSetLayer.
|
pure virtual |
It gets the dataset using a temporal filter over the phenomenon time property and a spatial filter over the observed geometry property.
The possible temporal relations are: 1. AFTER;
dt | A given datetime to be used as a temporal filter when retrieving datasets. |
tr | The temporal relation to be used during the filter. |
g | A geometry to be used as a spatial filter when retrieving datasets. |
sr | The spatial relation to be used during the filter. |
travType | The traverse type associated to the returned dataset. |
rwRole | The read and write permission associated to the returned dataset. |
Exception | It can throws an exception if:
|
Implemented in te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, and te::st::ObservationDataSetLayer.
|
pure virtualinherited |
It gets the dataset identified by the layer name.
travType | The traverse type associated to the returned dataset. |
accessPolicy | Access policy. |
Exception | It can throws an exception if:
|
Implemented in te::st::TrajectoryDataSetLayer, te::graph::Layer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
Referenced by te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), and te::qt::widgets::LayerPropertiesInfo::setLayerRasterProperties().
|
pure virtualinherited |
It gets the dataset identified by the layer name using a spatial filter over the specified property.
propertyName | The name of the spatial property used to apply the spatial filter. |
e | A rectangle to be used as a spatial filter when retrieving datasets. |
r | The spatial relation to be used during the filter. |
travType | The traverse type associated to the returned dataset. |
accessPolicy | Access policy. |
Exception | It can throws an exception if:
|
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
|
pure virtualinherited |
It gets the dataset identified by the layer name using a spatial filter over the given geometric property.
propertyName | The name of the spatial property used to apply the spatial filter. |
g | A geometry to be used as a spatial filter when retrieving datasets. |
r | The spatial relation to be used during the filter. |
travType | The traverse type associated to the returned dataset. |
accessPolicy | Access policy. |
Exception | It can throws an exception if:
|
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
|
pure virtualinherited |
It gets the dataset identified by the layer name using the given restriction.
restriction | The restriction expression that will be used. |
travType | The traverse type associated to the returned dataset. |
accessPolicy | Access policy. |
Exception | It can throws an exception if:
|
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
|
pure virtualinherited |
It gets the dataset from the given set of objects identification.
oids | The set of object ids. |
travType | The traverse type associated to the returned dataset. |
accessPolicy | Access policy. |
Exception | It can throws an exception if:
|
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
|
inherited |
It returns a list with the descendants of this layer.
Definition at line 106 of file AbstractLayer.cpp.
References te::map::AbstractLayer::getDescendants(), and te::common::TreeItem::hasChildren().
Referenced by te::map::AbstractLayer::getDescendants().
|
inherited |
It returns the number of nodes that descends from this node.
count | The number of nodes that descends from this node. |
Definition at line 188 of file TreeItem.cpp.
|
virtualinherited |
It returns the Layer extent (or minimum bounding box).
Definition at line 218 of file AbstractLayer.cpp.
Referenced by DataSetLayerWriter(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::wms::serialize::LayerWriter(), QueryLayerWriter(), and RasterLayerWriter().
|
virtualinherited |
Definition at line 314 of file AbstractLayer.cpp.
Referenced by te::map::QueryLayerRenderer::draw(), and te::map::AbstractLayerRenderer::draw().
|
virtualinherited |
It returns the Grouping associated to the Layer.
Definition at line 292 of file AbstractLayer.cpp.
Referenced by te::map::DataSetLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::DataSetLayerRenderer::drawGrouping(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), and te::map::serialize::WriteAbstractLayer().
|
virtualinherited |
It returns the layer id.
Definition at line 86 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::TimeSliderWidget::addTrajectory(), FolderLayerWriter(), te::qt::widgets::TimeSliderWidget::layerAdded(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::MultiThreadMapDisplay::onDrawLayerFinished(), and te::map::serialize::WriteAbstractLayer().
|
inherited |
It returns the index of this item in the list of children of its parent item.
Definition at line 218 of file TreeItem.cpp.
|
inherited |
It returns a pointer to the parent of this node.
Definition at line 65 of file TreeItem.cpp.
Referenced by te::map::AbstractLayer::getAncestors(), te::common::TreeItem::isSibling(), and te::map::AbstractLayer::updateVisibilityOfAncestors().
|
pure virtualinherited |
It returns the layer schema.
Implemented in te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::graph::Layer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
Referenced by te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), GetDataSet(), and te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo().
|
virtualinherited |
It returns the selected group of this Layer.
The selected group of this Layer.
Definition at line 260 of file AbstractLayer.cpp.
Referenced by te::vp::IntersectionDialog::onOkPushButtonClicked().
|
virtualinherited |
It returns the Spatial Reference System ID associated to the Layer.
Definition at line 228 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::TimeSliderWidget::addTrajectory(), DataSetLayerWriter(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::DataSetLayerRenderer::drawGrouping(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::vp::GeometricOpWizard::execute(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::wms::serialize::LayerWriter(), te::vp::IntersectionDialog::onOkPushButtonClicked(), te::vp::LineToPolygonDialog::onOkPushButtonClicked(), te::vp::PolygonToLineDialog::onOkPushButtonClicked(), te::vp::BufferDialog::onOkPushButtonClicked(), te::vp::AggregationDialog::onOkPushButtonClicked(), QueryLayerWriter(), and RasterLayerWriter().
|
virtualinherited |
It returns the Style associated to the layer.
Definition at line 281 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::ChartConfigurer::config(), DataSetAdapterLayerWriter(), DataSetLayerWriter(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::graph::LayerRenderer::draw(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), getLayerColorMap(), te::vp::LayerItem::LayerItem(), te::wms::serialize::LayerWriter(), te::qt::widgets::ReadPixelTool::mouseReleaseEvent(), QueryLayerWriter(), RasterLayerWriter(), and te::qt::widgets::GroupingDialog::setLayers().
|
pure virtual |
It returns the layer temporal extent.
Implemented in te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, and te::st::ObservationDataSetLayer.
|
virtualinherited |
It returns the layer title.
Definition at line 96 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::TimeSliderWidget::addTrajectory(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::map::DataSetLayerRenderer::drawGrouping(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::qt::widgets::LayerSearchWidget::fillTreeView(), FolderLayerWriter(), te::qt::af::XMLFormatter::format(), te::qt::widgets::TimeSliderWidget::layerAdded(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::attributefill::VectorToRasterDialog::onOkPushButtonClicked(), and te::map::serialize::WriteAbstractLayer().
|
pure virtualinherited |
It returns the layer type.
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::RasterLayer, te::map::DataSetLayer, te::edit::EditionLayer, and te::wms::WMSLayer.
Referenced by te::qt::af::XMLFormatter::format(), GetDataSet(), GetDataSource(), te::qt::widgets::DataSetTableHorizontalHeader::GetDataSource(), and te::map::serialize::Layer::write().
|
virtualinherited |
It returns the layer visibility.
This information can be used, for instance, to know if the layer must be drawn.
Definition at line 142 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::MapDisplay::draw(), FolderLayerWriter(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::map::AbstractLayer::updateVisibilityOfAncestors(), and te::map::serialize::WriteAbstractLayer().
|
inherited |
It returns true if the item has descendants.
Definition at line 60 of file TreeItem.cpp.
Referenced by te::map::AbstractLayer::getDescendants().
|
inherited |
It gets the flag that indicates if the layer visibility has changed.
Definition at line 159 of file AbstractLayer.cpp.
|
inherited |
It inserts an item in the informed position.
If the item has a parent, it will be disconnected from it and will be attached to this one.
i | The position where the item will be inserted. |
item | The item to be inserted. |
The children's list will be increased with one element.
Definition at line 100 of file TreeItem.cpp.
|
inherited |
It checks if the given layer is sibling of this one.
layer | The layer to be compared to. |
Definition at line 178 of file TreeItem.cpp.
References te::common::TreeItem::getParent().
|
pure virtualinherited |
It returns true if the layer can be used for instance to draw, otherwise, it returns false.
This method can be used to check if the data referenced by the layer is available (accessible), or not.
Implemented in te::graph::Layer, te::st::TrajectoryDataSetLayer, te::st::TimeSeriesDataSetLayer, te::st::ObservationDataSetLayer, te::map::RasterLayer, te::map::DataSetAdapterLayer, te::map::QueryLayer, te::map::FolderLayer, te::map::DataSetLayer, te::wms::WMSLayer, and te::edit::EditionLayer.
|
inherited |
It returns the n-th child.
i | The child index. |
Definition at line 86 of file TreeItem.cpp.
|
inlineinherited |
Returns the number of references to this object.
Definition at line 99 of file Counted.h.
References te::common::Counted::m_refCount.
|
inherited |
It removes the i-th child.
i | The position of the item to be removed. |
The children's list will be decreased by one element.
Definition at line 116 of file TreeItem.cpp.
Referenced by te::qt::af::Project::remove(), and te::qt::widgets::LayerTreeModel::removeLayerFromParentChildrenList().
|
inherited |
It removes from the given position a certain number of items as children of this item. The items to be removed will be disconnected from this item.
i | The position from where the items will be removed. |
count | The number of items to be removed (> 0). |
Definition at line 135 of file TreeItem.cpp.
|
inherited |
It replaces the child item at the given position by the new one. The replaced item will be disconnected from this item.
i | The item position where the replace operation will be taken. |
childItem | The new child item that will replace the item in the i-th position. |
Definition at line 165 of file TreeItem.cpp.
References insert().
|
virtualinherited |
It adds the given oids to the selected group of this Layer.
oids | The oids that will be added. |
Definition at line 238 of file AbstractLayer.cpp.
|
virtualinherited |
It sets the Chart associated to the Layer.
chart | The Chart to be associated to the Layer. |
Definition at line 308 of file AbstractLayer.cpp.
|
inherited |
It sets the composition mode.
Composition modes are used to specify how the pixels in one image, the source, are merged with the pixel in another image, the destination.
mode | The composition mode enum. |
Definition at line 329 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerReader().
|
virtualinherited |
It sets the Layer extent (or minimum bounding box).
mbr | The Layer extent (or minimum bounding box). |
Definition at line 223 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerReader().
|
virtualinherited |
name |
Definition at line 319 of file AbstractLayer.cpp.
|
virtualinherited |
It sets the Grouping associated to the Layer.
grouping | The Grouping to be associated to the Layer. |
Definition at line 297 of file AbstractLayer.cpp.
|
virtualinherited |
|
virtualinherited |
Its indicate that the layer schema is out of date.
Reimplemented in te::map::DataSetLayer.
Definition at line 334 of file AbstractLayer.cpp.
|
protectedinherited |
It sets the parent of this item to the specified one. Don't use this method if you are not sure how to handle all the pointers involved in this operation.
parent | The item to be set as parent of this item. |
Definition at line 286 of file TreeItem.cpp.
References te::common::TreeItem::m_children.
|
virtualinherited |
It sets the Spatial Reference System ID associated to the Layer.
srid | The Spatial Reference System ID to be associated to the Layer. |
Definition at line 233 of file AbstractLayer.cpp.
|
virtualinherited |
It sets the Style associated to the layer.
style | The Style associated to the layer. |
Definition at line 286 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerReader(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), and te::qt::widgets::StyleDockWidget::setStyle().
|
virtualinherited |
It sets the layer title.
title | The layer title. |
Definition at line 101 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerReader(), and te::qt::af::XMLFormatter::format().
|
virtualinherited |
It sets the layer visibility.
This information can be used, for instance, to know if the layer must be drawn.
v | The layer visibility. |
Reimplemented in te::map::FolderLayer.
Definition at line 147 of file AbstractLayer.cpp.
Referenced by DataSetAdapterLayerReader(), and te::map::FolderLayer::setVisibility().
|
inherited |
It sets that the status of the layer visibility is to be changed or not..
visChanged | If true, the status of the layer visibility is to be changed; otherwise, it returns false. |
Definition at line 164 of file AbstractLayer.cpp.
Referenced by te::qt::widgets::LayerTreeView::onItemPressed().
|
inherited |
It swaps the position of the given children.
firstChild | One of the children. |
secondChild | The other child. |
Definition at line 240 of file TreeItem.cpp.
|
inherited |
It swaps this item with its sibling in their parent node.
sibling | The sibling to swap. |
Definition at line 259 of file TreeItem.cpp.
|
virtualinherited |
It updates the visibility of this layer.
Reimplemented in te::map::FolderLayer.
Definition at line 214 of file AbstractLayer.cpp.
|
inherited |
It updates the visibility of the ancestors of this layer, if any.
Definition at line 169 of file AbstractLayer.cpp.
References te::common::TreeItem::getChild(), te::common::TreeItem::getChildrenCount(), te::common::TreeItem::getParent(), te::map::AbstractLayer::getVisibility(), te::map::AbstractLayer::m_visibility, te::map::AbstractLayer::m_visibilityChanged, te::map::NOT_VISIBLE, te::map::PARTIALLY_VISIBLE, and te::map::VISIBLE.
|
protectedinherited |
The chart information.
Definition at line 517 of file AbstractLayer.h.
|
protectedinherited |
Pointers to the items that are children.
Definition at line 290 of file TreeItem.h.
Referenced by te::common::TreeItem::setParent(), and te::common::TreeItem::TreeItem().
|
protectedinherited |
The composition mode used to merged the canvas.
Definition at line 519 of file AbstractLayer.h.
|
protectedinherited |
The name of the referenced geometry property.
Definition at line 518 of file AbstractLayer.h.
|
protectedinherited |
The grouping information.
Definition at line 516 of file AbstractLayer.h.
|
protectedinherited |
Layer id.
Definition at line 508 of file AbstractLayer.h.
|
protectedinherited |
The layer bounding box.
Definition at line 510 of file AbstractLayer.h.
|
protectedinherited |
A pointer to the parent node.
Definition at line 289 of file TreeItem.h.
Referenced by te::common::TreeItem::TreeItem().
|
protectedinherited |
The selected group of the layer.
Definition at line 514 of file AbstractLayer.h.
|
protectedinherited |
The identifier of the layer spatial reference system.
Definition at line 511 of file AbstractLayer.h.
|
protectedinherited |
The style to be applied to the geographic objects in the layer.
Definition at line 515 of file AbstractLayer.h.
|
protectedinherited |
A brief description of this Layer that can be used by applications to show a text identifying this layer.
Definition at line 509 of file AbstractLayer.h.
|
protectedinherited |
It indicates the layer visibility.
Definition at line 512 of file AbstractLayer.h.
Referenced by te::map::AbstractLayer::updateVisibilityOfAncestors().
|
protectedinherited |
It indicates if the layer visibility has changed.
Definition at line 513 of file AbstractLayer.h.
Referenced by te::map::AbstractLayer::updateVisibilityOfAncestors().
|
staticinherited |
A value to indicate no match.
Definition at line 285 of file TreeItem.h.