Geospatial Formula class. More...
#include <mi32/geofrmla.h>
Geospatial Formula class.
| GEOFORMULA::GEOFORMULA | ( | ) |
Default constructor.
| GEOFORMULA::GEOFORMULA | ( | const GEOFORMULA & | rhs | ) |
Copy constructor.
| GEOFORMULA::~GEOFORMULA | ( | ) |
Destructor.
Add new "value" symbol to formula.
| SymbolName | Symbol name | |
| value | Initial value |
| ERRVALUE GEOFORMULA::CreateFromObjects | ( | const RVC::OBJITEMLIST & | objitems | ) |
Create new formula from specified list of objects.
| ERRVALUE GEOFORMULA::DlgSelectExtentsRegion | ( | MDLGPARENT | dlgparent, | |
| const REGION2D * | testregion = 0 | |||
| ) |
Display dialog allowing user to select region for extents.
| testregion | Region to test for overlap with, 0 to allow all regions |
| ERRVALUE GEOFORMULA::DlgSelectObjects | ( | MDLGPARENT | dlgparent | ) |
Display dialog allowing user to select specific objects to use.
| ERRVALUE GEOFORMULA::Evaluate | ( | const DPOINT2D & | start, | |
| const DPOINT2D & | increment, | |||
| INT32 | numvals, | |||
| void * | buffer, | |||
| UINT8 * | omask | |||
| ) |
Evaluate formula for points along specified interval.
| const REGION2D& GEOFORMULA::GetExtMapRegion | ( | ) | const [inline] |
Get extents region.
| ERRVALUE GEOFORMULA::GetFirstObjectCoordRefSys | ( | SPATREF::COORDREFSYS & | CoordRefSys | ) | const |
Get coordinate reference system of first object used in formula (for auto-match).
| CoordRefSys | Coordinate Reference System returned |
| ERRVALUE GEOFORMULA::GetMinRasterCellSize | ( | double & | MinCellSize | ) | const |
Get minimum cell size for all rasters used in formula.
| MinCellSize | Cell size returned, DBL_MAX if no rasters in formula |
| int GEOFORMULA::GetNumObjects | ( | ) | const [inline] |
Get number of objects used in formula.
| void GEOFORMULA::GetObjItems | ( | RVC::OBJITEMLIST & | objitems | ) |
Get objitem list.
| OUTPUTTYPE GEOFORMULA::GetOutputType | ( | ) | const [inline] |
Get formula output type.
| const MISTRING& GEOFORMULA::GetScript | ( | ) | const [inline] |
Get formula script.
| ERRVALUE GEOFORMULA::GetTransToExtCRS | ( | TRANS2D_MAPGEN & | Trans, | |
| bool | dooutput = false | |||
| ) | const |
Get transformation from virtual formula object to extents CRS.
| Trans | Transformation returned | |
| dooutput | Place in output size of transformation |
| ERRVALUE GEOFORMULA::OpenObjects | ( | ) |
Open objects to use in formula.
| GEOFORMULA& GEOFORMULA::operator= | ( | const GEOFORMULA & | rhs | ) |
Assignment.
Read previously saved formula definition.
| ERRVALUE GEOFORMULA::SerialRead | ( | SERIALIZER & | serializer | ) |
Read from serialization.
| ERRVALUE GEOFORMULA::SerialWrite | ( | SERIALIZER & | serializer, | |
| const char * | tagname = 0 | |||
| ) |
Write to serialization.
| void GEOFORMULA::SetExtMapCoordRefSys | ( | const SPATREF::COORDREFSYS & | CoordRefSys | ) | [inline] |
Set coordinate reference system for defining extents.
| ERRVALUE GEOFORMULA::SetObjItems | ( | const RVC::OBJITEMLIST & | objitems | ) |
Set objitem list, must be created first.
| void GEOFORMULA::SetOutputCoordRefSys | ( | const SPATREF::COORDREFSYS & | CoordRefSys | ) | [inline] |
Set output coordinate reference system.
| void GEOFORMULA::SetOutputTrans | ( | const TRANS2D_MAPGEN & | trans | ) | [inline] |
Set output transformation from "output side" of a TRANS2D_MAPGEN reference.
| void GEOFORMULA::SetOutputTrans | ( | const TRANS2D_AFFINE & | trans | ) | [inline] |
Set transformation from output object to map coordinates.
Set transformation from output object to map coordinates.
| void GEOFORMULA::SetOutputTransIdentity | ( | ) | [inline] |
Set transformation from output object to map coordinates.
| void GEOFORMULA::SetOutputType | ( | OUTPUTTYPE | OutputType | ) | [inline] |
Set formula output type.
| void GEOFORMULA::SetScript | ( | const MIUNICODE * | script | ) | [inline] |
Set script to use in formula.
| ERRVALUE GEOFORMULA::Start | ( | const DRECT2D * | extents, | |
| SCRIPTFLAGS | flags = SCRIPTFLAG_None | |||
| ) |
Start formula evaluation.
| void GEOFORMULA::Stop | ( | ) |
Stop formula evaluation.
Write formula definition to specified file.
1.6.1