Class with help methods for the application. More...
#include <Utils.h>
Static Public Member Functions | |
| static bool | checkInputPath (std::string inputPath, std::string &errorMessage) | 
| Check input raster path.  More... | |
| static bool | checkOutputPath (std::string outputPath, std::string &errorMessage) | 
| Check output raster path.  More... | |
| static bool | getRaster (std::string path, te::rst::Raster *&raster, std::string &errorMessage) | 
| Get a raster based in the path.  More... | |
| static bool | loadModules (std::string &errorMessage) | 
| Load Terralib modules.  More... | |
      
  | 
  static | 
Check input raster path.
| inputPath | String with the input raster path to check | 
| errorMessage | String that receive methods errors description | 
Definition at line 41 of file Utils.cpp.
Referenced by te::tools::rastermanager::RasterManager::init().
      
  | 
  static | 
Check output raster path.
| outputPath | String with the output raster path to check | 
| errorMessage | String that receive methods errors description | 
Definition at line 71 of file Utils.cpp.
Referenced by te::tools::rastermanager::RasterManager::changeResolution(), te::tools::rastermanager::RasterManager::copyRaster(), te::tools::rastermanager::RasterManager::reproject(), and te::tools::rastermanager::RasterManager::trim().
      
  | 
  static | 
Get a raster based in the path.
| path | String with the input raster path | 
| raster | Raster pointer reference that gives the raster for the caller | 
| errorMessage | String that receive methods errors description | 
Definition at line 93 of file Utils.cpp.
References te::rst::RasterFactory::open().
Referenced by te::tools::rastermanager::RasterManager::changeResolution(), te::tools::rastermanager::RasterManager::convert(), te::tools::rastermanager::RasterManager::copyRaster(), te::tools::rastermanager::RasterManager::getRasterInfo(), te::tools::rastermanager::RasterManagerDialog::inputPushButton_clicked(), te::tools::rastermanager::RasterManager::reproject(), and te::tools::rastermanager::RasterManager::trim().
      
  | 
  static | 
Load Terralib modules.
| errorMessage | String that receive methods errors description | 
Definition at line 104 of file Utils.cpp.
References te::common::Singleton< PluginManager >::getInstance(), te::plugin::PluginInfo::m_description, and te::plugin::PluginInfo::m_name.
Referenced by te::tools::rastermanager::RasterManager::init(), and te::tools::rastermanager::RasterManager::showSupportedExtensions().