FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Spatial::FMTforest Class Reference

#include <FMTforest.hpp>

Inheritance diagram for Spatial::FMTforest:
[legend]
Collaboration diagram for Spatial::FMTforest:
[legend]

Public Member Functions

 FMTforest ()
 
 FMTforest (const FMTforest &rhs)
 
 FMTforest (const FMTlayer< Core::FMTdevelopment > &rhs)
 
FMTforestoperator= (const FMTforest &rhs)
 
std::vector< Core::FMTactualdevelopmentgetarea () 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::FMTdevelopmentoperator[] (const FMTcoordinate &coordinate)
 
const Core::FMTdevelopmentat (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::FMTdevelopmentgetmapping () const
 
double area () const
 
double getcellsize () const
 
std::vector< Core::FMTdevelopmentgetattributes () 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)
 
FMTobjectoperator= (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::FMTdevelopmentmapping
 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.
 

Constructor & Destructor Documentation

◆ FMTforest() [1/3]

Spatial::FMTforest::FMTforest ( )

◆ FMTforest() [2/3]

Spatial::FMTforest::FMTforest ( const FMTforest rhs)

◆ FMTforest() [3/3]

Spatial::FMTforest::FMTforest ( const FMTlayer< Core::FMTdevelopment > &  rhs)

Member Function Documentation

◆ getage()

FMTlayer< int > Spatial::FMTforest::getage ( ) const

◆ getarea()

std::vector< Core::FMTactualdevelopment > Spatial::FMTforest::getarea ( ) const

◆ getcopy()

FMTforest Spatial::FMTforest::getcopy ( bool  copydata = true) const

◆ getlock()

FMTlayer< std::string > Spatial::FMTforest::getlock ( ) const

◆ getthemes()

std::vector< FMTlayer< std::string > > Spatial::FMTforest::getthemes ( const std::vector< Core::FMTtheme > &  themes) const

◆ grow()

FMTforest Spatial::FMTforest::grow ( ) const

◆ operator=()

FMTforest & Spatial::FMTforest::operator= ( const FMTforest rhs)

◆ postsolve()

FMTforest Spatial::FMTforest::postsolve ( const Core::FMTmaskfilter filter,
const std::vector< Core::FMTtheme > &  originalbasethemes 
) const

◆ presolve()

FMTforest Spatial::FMTforest::presolve ( const Core::FMTmaskfilter filter,
const std::vector< Core::FMTtheme > &  presolvedthemes 
) const

◆ setperiod()

void Spatial::FMTforest::setperiod ( int  period)

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

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