| 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 | Protected Attributes
TeProxMatrixConstructionStrategy< T > Class Template Reference

A templated class to representate construction strategies of proximity matrix. More...

`#include <TeProxMatrixConstructionStrategy.h>`

List of all members.

## Public Member Functions

virtual bool | Construct (TeProxMatrixImplementation *)=0
| Construct the proximity matrix.
virtual | ~TeProxMatrixConstructionStrategy ()
| Destructor.
void | setSTObjects (T *objects, TeGeomRep geomRep)
| Set the set of objects and its geometry representation.
T * | objects ()
| Get the objects used to construct the matrix.
TeProxMatrixConstructionParams & | constructionParams ()
| Returns the construction params.
virtual bool | IsEqual (const TeProxMatrixConstructionStrategy< T > &other) const
| Verify if the type of the strategy, the object set and its geometry representation are equal.

## Protected Member Functions

| TeProxMatrixConstructionStrategy ()
| Construct.
| TeProxMatrixConstructionStrategy (T *objects, TeGeomRep geomRep, const TeGPMConstructionStrategy &type=TeAdjacencyStrategy)
| Construct.
| TeProxMatrixConstructionStrategy (const TeProxMatrixConstructionStrategy &st)
| Copy construct.

## Protected Attributes

T * | objects_
| Set of objetcs used to construct the matrix.
TeProxMatrixConstructionParams | params_
| Construction paramas.

## Detailed Description

### template<typename T>
class TeProxMatrixConstructionStrategy< T >

A templated class to representate construction strategies of proximity matrix.

## Constructor & Destructor Documentation

template<typename T >

TeProxMatrixConstructionStrategy< T >::TeProxMatrixConstructionStrategy | ( |  | ) | `[protected]`

Construct.

template<typename T>

TeProxMatrixConstructionStrategy< T >::TeProxMatrixConstructionStrategy | ( | T * | objects,
|  | TeGeomRep | geomRep,
|  | const TeGPMConstructionStrategy & | type = `TeAdjacencyStrategy`
| ) |  | `[protected]`

Construct.

template<typename T>

TeProxMatrixConstructionStrategy< T >::TeProxMatrixConstructionStrategy | ( | const TeProxMatrixConstructionStrategy< T > & | st | ) | `[protected]`

Copy construct.

template<typename T>

virtual TeProxMatrixConstructionStrategy< T >::~TeProxMatrixConstructionStrategy | ( |  | ) | `[inline, virtual]`

Destructor.

## Member Function Documentation

template<typename T>

virtual bool TeProxMatrixConstructionStrategy< T >::Construct | ( | TeProxMatrixImplementation * |  | ) | `[pure virtual]`

Construct the proximity matrix.

Implemented in TeProxMatrixLocalAdjacencyStrategy, TeProxMatrixLocalDistanceStrategy< Set >, TeProxMatrixNearestNeighbourStrategy, TeProxMatrixClosedNetworkStrategy, TeProxMatrixOpenNetworkStrategy, TeProxMatrixOpenNetworkStrategy2, TeProxMatrixLocalTopologyStrategy, TeProxMatrixChooseOneTopologyStrategy, and TeProxMatrixKeepInBothTopologyStrategy.

template<typename T>

TeProxMatrixConstructionParams& TeProxMatrixConstructionStrategy< T >::constructionParams | ( |  | ) | `[inline]`

Returns the construction params.

template<typename T>

bool TeProxMatrixConstructionStrategy< T >::IsEqual | ( | const TeProxMatrixConstructionStrategy< T > & | other | ) | const`[virtual]`

Verify if the type of the strategy, the object set and its geometry representation are equal.

Reimplemented in TeProxMatrixClosedNetworkStrategy, TeProxMatrixOpenNetworkStrategy, and TeProxMatrixOpenNetworkStrategy2.

template<typename T>

T* TeProxMatrixConstructionStrategy< T >::objects | ( |  | ) | `[inline]`

Get the objects used to construct the matrix.

Reimplemented in TeProxMatrixClosedNetworkStrategy.

template<typename T>

void TeProxMatrixConstructionStrategy< T >::setSTObjects | ( | T * | objects,
|  | TeGeomRep | geomRep
| ) |  |

Set the set of objects and its geometry representation.

## Member Data Documentation

template<typename T>

T* TeProxMatrixConstructionStrategy< T >::objects_`[protected]`

Set of objetcs used to construct the matrix.

template<typename T>

TeProxMatrixConstructionParams TeProxMatrixConstructionStrategy< T >::params_`[protected]`

Construction paramas.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeProxMatrixConstructionStrategy.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines