REGIONGEN Class Reference

Base for region generation. More...

#include <mi32/regiongen.h>

Inheritance diagram for REGIONGEN:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 REGIONGEN ()
virtual ~REGIONGEN ()
ERRVALUE Compute (REGION2D &RegionResult) const
bool IsReturnMapCRS () const
void SetReturnMapCRS (bool ReturnMapCRS)

Protected Member Functions

ERRVALUE ConvertToMapCRS (const RVC::GEOSPATIAL &ObjSource, REGION2D &RegionResult) const

Private Member Functions

virtual ERRVALUE v_Compute (REGION2D &RegionResult) const =0

Detailed Description

Base for region generation.


Constructor & Destructor Documentation

REGIONGEN::REGIONGEN (  ) 

Default constructor.

virtual REGIONGEN::~REGIONGEN (  )  [virtual]

Destructor.


Member Function Documentation

ERRVALUE REGIONGEN::Compute ( REGION2D RegionResult  )  const [inline]

Compute region.

Parameters:
RegionResult Result region returned
ERRVALUE REGIONGEN::ConvertToMapCRS ( const RVC::GEOSPATIAL ObjSource,
REGION2D RegionResult 
) const [protected]

Helper to convert region to map CRS.

Checks if conversion is requested.

Parameters:
ObjSource Open 'source' object to obtain georeference from
RegionResult Result region returned
bool REGIONGEN::IsReturnMapCRS (  )  const [inline]
void REGIONGEN::SetReturnMapCRS ( bool  ReturnMapCRS  )  [inline]

Set whether to return region in map coordinates.

Default is to return in map coordinates. Alternative is to return in source object coordinates.

Parameters:
ReturnMapCRS True for map coordinates, false for source object coordinates
virtual ERRVALUE REGIONGEN::v_Compute ( REGION2D RegionResult  )  const [private, pure virtual]

Override to compute region.

Parameters:
RegionResult Result region returned

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

Generated on Sun Oct 7 21:33:47 2012 for TNTsdk 2012 by  doxygen 1.6.1