| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions
TeSTElementSet Class Reference

A class that represents a set of spatial temporal instances. More...

`#include <TeSTElementSet.h>`

Inheritance diagram for TeSTElementSet:

List of all members.

## Public Member Functions

| TeSTElementSet ()
| Constructor.
| TeSTElementSet (TeTheme *theme, TeAttributeList attList=TeAttributeList())
| Constructor.
| TeSTElementSet (TeLayer *layer, TeAttributeList attList=TeAttributeList())
| Constructor.
| TeSTElementSet (const TeBox &box, const TeAttributeList &attrList)
| Constructor.
TeTimeInterval | totalTime ()
| Returns the valid time interval for all ST instances.
void | totalTime (TeTimeInterval t)
| Sets the valid time interval for all ST instances.
bool | hasElement (const string &objId)
| Deprecated: Verifies if there is a specific element or object in the set.
bool | setGeometry (const string &object_id, const TePolygonSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Sets a polygon set and its valid time interval to a specific object or element.
bool | setGeometry (const string &object_id, const TeLineSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Sets a line set and its valid time interval to a specific object or element.
bool | setGeometry (const string &object_id, const TePointSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Sets a point set and its valid time interval to a specific object or element.
bool | setGeometry (const string &object_id, const TeCellSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Sets a cell set and its valid time interval to a specific object or element.
bool | setGeometry (const string &object_id, const TeTextSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Sets a text set and its valid time interval to a specific object or element.
bool | getGeometry (const string &object_id, TePolygonSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Gets a polygon set of an element or object and its valid time interval.
bool | getGeometry (const string &object_id, TeLineSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Gets a line set of an element or object and its valid time interval.
bool | getGeometry (const string &object_id, TePointSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Gets a point set of an element or object and its valid time interval.
bool | getGeometry (const string &object_id, TeCellSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Gets a cell set of an element or object and its valid time interval.
bool | getGeometry (const string &object_id, TeTextSet &geomSet, TeTimeInterval time=TeTimeInterval())
| Gets a text set of an element or object and its valid time interval.

## Protected Member Functions

bool | buildImpl (TeQuerier *querier, const int &slide=-1)
| Builds the set using a given querier and a specific slice.

## Detailed Description

A class that represents a set of spatial temporal instances.

This class specializes the abstract class TeBaseSTInstanceSet representing each spatial temporal instance of the set as a TeSTInstance type. That is, the geometries of each instance in this set is represented as multi geometries (TeMultiGeometry class)and its valid time as a time interval (TeTimeInterval class).

See also:
  TeBaseSTInstanceSet TeSTInstance TeMultiGeometry TeTimeInterval TeTheme TeLayer

Examples:

  createProximityMatrix.cpp, createSTElementSetFromLayer.cpp, createSTElementSetFromShapeFile.cpp, createSTElementSetFromTheme.cpp, and proxMatrixAndSpatialStatistics.cpp.

## Constructor & Destructor Documentation

TeSTElementSet::TeSTElementSet | ( |  | ) | `[inline]`

Constructor.

TeSTElementSet::TeSTElementSet | ( | TeTheme * | theme,
|  | TeAttributeList | attList = `TeAttributeList()`
| ) |  | `[inline]`

Constructor.

TeSTElementSet::TeSTElementSet | ( | TeLayer * | layer,
|  | TeAttributeList | attList = `TeAttributeList()`
| ) |  | `[inline]`

Constructor.

TeSTElementSet::TeSTElementSet | ( | const TeBox & | box,
|  | const TeAttributeList & | attrList
| ) |  | `[inline]`

Constructor.

## Member Function Documentation

bool TeSTElementSet::buildImpl | ( | TeQuerier * | querier,
|  | const int & | slide = `-1`
| ) |  | `[protected, virtual]`

Builds the set using a given querier and a specific slice.

Implements TeBaseSTInstanceSet< TeMultiGeometry, TeTimeInterval, TeSTInstance >.

bool TeSTElementSet::getGeometry | ( | const string & | object_id,
|  | TePolygonSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Gets a polygon set of an element or object and its valid time interval.

bool TeSTElementSet::getGeometry | ( | const string & | object_id,
|  | TeLineSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Gets a line set of an element or object and its valid time interval.

bool TeSTElementSet::getGeometry | ( | const string & | object_id,
|  | TePointSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Gets a point set of an element or object and its valid time interval.

bool TeSTElementSet::getGeometry | ( | const string & | object_id,
|  | TeCellSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Gets a cell set of an element or object and its valid time interval.

bool TeSTElementSet::getGeometry | ( | const string & | object_id,
|  | TeTextSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Gets a text set of an element or object and its valid time interval.

bool TeSTElementSet::hasElement | ( | const string & | objId | ) |

Deprecated: Verifies if there is a specific element or object in the set.

bool TeSTElementSet::setGeometry | ( | const string & | object_id,
|  | const TeTextSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Sets a text set and its valid time interval to a specific object or element.

bool TeSTElementSet::setGeometry | ( | const string & | object_id,
|  | const TePointSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Sets a point set and its valid time interval to a specific object or element.

bool TeSTElementSet::setGeometry | ( | const string & | object_id,
|  | const TeCellSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Sets a cell set and its valid time interval to a specific object or element.

bool TeSTElementSet::setGeometry | ( | const string & | object_id,
|  | const TeLineSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Sets a line set and its valid time interval to a specific object or element.

bool TeSTElementSet::setGeometry | ( | const string & | object_id,
|  | const TePolygonSet & | geomSet,
|  | TeTimeInterval | time = `TeTimeInterval()`
| ) |  |

Sets a polygon set and its valid time interval to a specific object or element.

TeTimeInterval TeSTElementSet::totalTime | ( |  | ) |

Returns the valid time interval for all ST instances.

void TeSTElementSet::totalTime | ( | TeTimeInterval | t | ) |

Sets the valid time interval for all ST instances.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeSTElementSet.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeSTElementSet.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines