| TerraLib 4.1

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

- File List
- File Members

Classes | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/functions/TeCellAlgorithms.cpp File Reference
`#include "TeCellAlgorithms.h"`
`#include "../kernel/TeGeometryAlgorithms.h"`
`#include "../kernel/TeDatabase.h"`
`#include "../kernel/TeProgress.h"`
`#include "../kernel/TeRepresentation.h"`
`#include "../kernel/TeGeneralizedProxMatrix.h"`
`#include "../kernel/TeOverlay.h"`
`#include "../kernel/TeQuerier.h"`
`#include "../kernel/TeQuerierParams.h"`
`#include "../kernel/TeSTEFunctionsDB.h"`
`#include "../kernel/TeUtils.h"`
`#include "../kernel/TeSTEvent.h"`
`#include <sstream>`

## Classes

struct | cellDist
struct | procDist

## Functions

void | TeFillCellStepLoadingData ()
void | TeFillCellStepStartProcessing (int steps)
bool | TeFillCellStepNextStep (int step)
void | TeFillCellStepWriting ()
TeLayer * | TeCreateCells (const string &layerName, TeLayer *layerBase, double resX, double resY, TeBox &box, bool mask)
| Creates a new layer with the cells that covers the entire bounding box, or the polygons of a layer.
TeLayer * | TeCreateCells (const string &layerName, TeTheme *theme, double resX, double resY, TeBox &box)
| Creates a new layer with the cells that covers the polygons of a theme.
bool | TeCellStatistics (TeTheme *themeOut, TeTable &newAttrTable, TeGroupingAttr &stat, TeTheme *themeIn, TeDatabase *db)
| Calculates a set of statistics of cells of a theme.
bool | TeKeepStatistics (TeTable &tableAttrCell, TeDatabasePortal *portal)
| Saves the statistics accessible through a TeDatabasePortal in a database table.
bool | TeFillCellInitLoad (TeLayer *cell_layer, const string &cell_tablename, TeCellSet &cells)
| Load cells geometries and verify/create dynamic attribute table if does not exists.
void | TeFillCellInitSTO (const TeCell &cell, TePropertyVector &result, TeSTElementSet &cellObjSet, TeAttrTableType atttype, TeTimeInterval &t)
| Fills the cell object set for a temporal table.
void | TeFillCellInitSTO (const TeCell &cell, vector< string > &result, TeSTElementSet &cellObjSet, TeAttrTableType atttype, TeTimeInterval &t)
| Fills the cell object set for a temporal table.
bool | TeCreateBasicDynamicCellTable (TeLayer *cell_layer, const string cell_tablename)
| Creates dymanic table.
vector< vector< cellDist > > | BuildNeighbors (TeCellSet cells)
bool | CalculateDistance (unsigned int line, unsigned int column, TeBox box, TeTheme *theme, double r, TeGeomRep rep, vector< vector< cellDist > > &Neighbors, list< procDist > &procList)
bool | TeFillCellDistanceOperation (TeTheme *theme, TeGeomRep rep, TeLayer *cell_layer, const string &cell_tablename, const string &output_columnName, TeTimeInterval t)
bool | TeFillCellSpatialOperation (TeDatabase *db, TeComputeSpatialStrategy *operation, const string &cell_layername, const string &cell_tablename, const string &output_columnName, TeTimeInterval t)
| Computes an attribute based on a TeComputeSpatialStrategy.
bool | TeFillCellCategoryCountPercentageRasterOperation (TeDatabase *db, string raster_layername, string cell_layername, const string &cell_tablename, const string attrName, TeTimeInterval t)
bool | TeFillCellCategoryAreaPercentageOperation (TeTheme *theme, const string attrName, TeLayer *cell_layer, const string &cell_tablename, TeTimeInterval t)
bool | TeFillCellCategoryAreaPercentageOperation (TeTheme *theme, const string attrName, TeLayer *cell_layer, const string &cell_tablename, map< string, string > &classesMap, TeTimeInterval t)
bool | TeFillCellNonSpatialOperation (TeTheme *theme, TeGeomRep rep, const string &input_attrname, TeComputeAttrStrategy< TeSTElementSet::propertyIterator > *operation, TeLayer *cell_layer, const string &cell_tablename, const string &output_columnName, TeTimeInterval t)
| Computes the cell attribute based on a non-spatial operation (TeComputeAttrStrategy) over a vector or cell input layer.
bool | TeFillCellNonSpatialOperation (TeDatabase *db, const string &input_layername, TeGeomRep rep, const string &input_tablename, const string &input_attrname, TeComputeAttrStrategy< TeSTElementSet::propertyIterator > *operation, const string &cell_layername, const string &cell_tablename, const string &output_columnName, TeTimeInterval t)
| Computes the cell attribute based on a non-spatial operation (TeComputeAttrStrategy) over a vector or cell input layer.
bool | TeFillCellNonSpatialRasterOperation (TeDatabase *db, const string &input_raster_layername, TeComputeAttrStrategy< TeBoxRasterIterator > *operation, const string &cell_layername, const string &cell_tablename, const string &output_columnName, TeTimeInterval t)
| Computes the cell attribute based on a non-spatial operation (TeComputeSpatialStrategy) over a raster input layer.
bool | TeFillCellAggregateOperation (TeDatabase *db, const string &input_layername, const string &input_tablename, TeComputeAttrStrategy< TeSTElementSet::propertyIterator > *operation, vector< string > &attrNames, const string &cell_layername, const string &cell_tablename, TeTimeInterval t)
| Computes a set of attributes for the output cell layer based on a non-spatial operation (TeComputeAttrSpatialStrategy) over an input cell layer.
bool | TeFillCellConnectionOperation (TeDatabase *db, TeSTElementSet objects, TeGeomRep rep, TeGraphNetwork *net, const string &, TeTimeInterval t, const string &cell_layername, const string &cell_tablename, const string &, TeComputeAttrStrategy< TeSTElementSet::propertyIterator > *operation, double, double, double, double)

## Function Documentation

vector<vector<cellDist> > BuildNeighbors | ( | TeCellSet | cells | ) |

bool CalculateDistance | ( | unsigned int | line,
|  | unsigned int | column,
|  | TeBox | box,
|  | TeTheme * | theme,
|  | double | r,
|  | TeGeomRep | rep,
|  | vector< vector< cellDist > > & | Neighbors,
|  | list< procDist > & | procList
| ) |  |

void TeFillCellStepLoadingData | ( |  | ) |

bool TeFillCellStepNextStep | ( | int | step | ) |

void TeFillCellStepStartProcessing | ( | int | steps | ) |

void TeFillCellStepWriting | ( |  | ) |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines