FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTforest.hpp>
Public Member Functions | |
FMTforest () | |
FMTforest (const FMTforest &rhs) | |
FMTforest (const FMTlayer< Core::FMTdevelopment > &rhs) | |
FMTforest & | operator= (const FMTforest &rhs) |
std::vector< Core::FMTactualdevelopment > | getarea () const |
FMTforest | getcopy (bool copydata=true) const |
FMTforest | grow () const |
std::vector< FMTlayer< std::string > > | getthemes (const std::vector< Core::FMTtheme > &themes) const |
FMTlayer< int > | getage () const |
FMTlayer< std::string > | getlock () const |
void | setperiod (int period) |
FMTforest | presolve (const Core::FMTmaskfilter &filter, const std::vector< Core::FMTtheme > &presolvedthemes) const |
FMTforest | postsolve (const Core::FMTmaskfilter &filter, const std::vector< Core::FMTtheme > &originalbasethemes) const |
Public Member Functions inherited from Spatial::FMTlayer< Core::FMTdevelopment > | |
Core::FMTdevelopment & | operator[] (const FMTcoordinate &coordinate) |
const Core::FMTdevelopment & | at (const FMTcoordinate &coordinate) const |
bool | empty () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | find (const FMTcoordinate &coordinate) const |
iterator | find (const FMTcoordinate &coordinate) |
FMTlayer () | |
FMTlayer (FMTlayer &&rhs) noexcept | |
FMTlayer (const std::vector< double > &lgeotransform, const unsigned int &lmaxx, const unsigned int &lmaxy, const std::string &lSRS_WKT, const double &lcellsize) | |
FMTlayer (const std::map< FMTcoordinate, Core::FMTdevelopment > &lmapping, const std::vector< double > &lgeotransform, const unsigned int &lmaxx, const unsigned int &lmaxy, const std::string &lSRS_WKT, const double &lcellsize) | |
FMTlayer (const FMTlayer &rhs) | |
virtual | ~FMTlayer ()=default |
FMTlayer< Core::FMTdevelopment > & | operator= (const FMTlayer< Core::FMTdevelopment > &rhs) |
void | swap (FMTlayer< Core::FMTdevelopment > &rhs) |
void | setextentfrom (const FMTlayer< Core::FMTdevelopment > &rhs) |
FMTlayer< newtype > | copyextent () const |
FMTlayer< Core::FMTdevelopment > & | operator+= (const FMTlayer< Core::FMTdevelopment > &rhs) |
FMTlayer< std::string > & | operator+= (const FMTlayer< std::string > &rhs) |
unsigned int | GetXSize () const |
unsigned int | GetYSize () const |
std::vector< double > | getgeotransform () const |
std::string | getprojection () const |
std::map< FMTcoordinate, Core::FMTdevelopment > | getmapping () const |
double | area () const |
double | getcellsize () const |
std::vector< Core::FMTdevelopment > | getattributes () const |
size_t | size () const |
void | replace (typename std::map< FMTcoordinate, Core::FMTdevelopment >::const_iterator first, typename std::map< FMTcoordinate, Core::FMTdevelopment >::const_iterator last) |
Public Member Functions inherited from Core::FMTobject | |
FMTobject () | |
virtual | ~FMTobject () |
FMTobject (const std::shared_ptr< Exception::FMTexceptionhandler > exhandler) | |
FMTobject (const FMTobject &rhs) | |
FMTobject & | operator= (const FMTobject &rhs) |
virtual void | passinlogger (const std::shared_ptr< Logging::FMTlogger > &logger) |
void | passinexceptionhandler (const std::shared_ptr< Exception::FMTexceptionhandler > &exhandler) |
void | redirectlogtofile (const std::string &location) |
virtual void | setdefaultlogger () |
virtual void | setquietlogger () |
virtual void | settasklogger () |
virtual void | setdebuglogger () |
void | setdefaultexceptionhandler () |
void | setquietexceptionhandler () |
void | setdebugexceptionhandler () |
void | setfreeexceptionhandler () |
void | disablenestedexceptions () |
void | enablenestedexceptions () |
void | seterrorstowarnings (const std::vector< Exception::FMTexc > &errors) |
void | setmaxwarningsbeforesilenced (const size_t &maxwarningcount) |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
Public Types inherited from Spatial::FMTlayer< Core::FMTdevelopment > | |
typedef std::map< FMTcoordinate, Core::FMTdevelopment >::value_type | value_type |
Value typedef of the FMTlayer. | |
typedef std::map< FMTcoordinate, Core::FMTdevelopment >::iterator | iterator |
Iterator typedef of the FMTlayer. | |
typedef std::map< FMTcoordinate, Core::FMTdevelopment >::const_iterator | const_iterator |
Const_Iterator typedef of the FMTlist. | |
Static Public Member Functions inherited from Core::FMTobject | |
static std::string | getruntimelocation () |
static unsigned long long | getavailablememory () |
Protected Member Functions inherited from Core::FMTobject | |
template<class Archive > | |
void | forcesave (Archive &ar, const unsigned int version) const |
template<class Archive > | |
void | forceload (Archive &ar, const unsigned int version) |
void | checksignals () const |
void | setCPLhandler () |
Static Protected Member Functions inherited from Core::FMTobject | |
static std::chrono::time_point< std::chrono::high_resolution_clock > | getclock () |
template<class chrono > | |
static double | getduration (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock) |
static std::string | getdurationinseconds (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock) |
Protected Attributes inherited from Spatial::FMTlayer< Core::FMTdevelopment > | |
std::vector< double > | geotransform |
Geotransform of the map (see GDAL for more information about Geotransform) | |
unsigned int | maxx |
Maximal x value in the map. | |
unsigned int | maxy |
Maximal y value in the map. | |
std::string | SRS_WKT |
Projection string of the raster (see GDAL for more information about Geotransform) | |
double | cellsize |
Size of the pixel in the unit used by the map (SRS_WKT) | |
std::map< FMTcoordinate, Core::FMTdevelopment > | mapping |
std::map keeping the information of each pixel. | |
Static Protected Attributes inherited from Core::FMTobject | |
static std::shared_ptr< Exception::FMTexceptionhandler > | _exhandler |
A shared pointer to the exception handler. | |
static std::shared_ptr< Logging::FMTlogger > | _logger |
A shared pointer to the logger. | |
Spatial::FMTforest::FMTforest | ( | ) |
Spatial::FMTforest::FMTforest | ( | const FMTforest & | rhs | ) |
Spatial::FMTforest::FMTforest | ( | const FMTlayer< Core::FMTdevelopment > & | rhs | ) |
FMTlayer< int > Spatial::FMTforest::getage | ( | ) | const |
std::vector< Core::FMTactualdevelopment > Spatial::FMTforest::getarea | ( | ) | const |
FMTforest Spatial::FMTforest::getcopy | ( | bool | copydata = true | ) | const |
FMTlayer< std::string > Spatial::FMTforest::getlock | ( | ) | const |
std::vector< FMTlayer< std::string > > Spatial::FMTforest::getthemes | ( | const std::vector< Core::FMTtheme > & | themes | ) | const |
FMTforest Spatial::FMTforest::grow | ( | ) | const |
FMTforest Spatial::FMTforest::postsolve | ( | const Core::FMTmaskfilter & | filter, |
const std::vector< Core::FMTtheme > & | originalbasethemes | ||
) | const |
FMTforest Spatial::FMTforest::presolve | ( | const Core::FMTmaskfilter & | filter, |
const std::vector< Core::FMTtheme > & | presolvedthemes | ||
) | const |
void Spatial::FMTforest::setperiod | ( | int | period | ) |
|
friend |