OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimPointCloudTool.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Oscar Kramer
6 //
7 //*************************************************************************
8 // $Id$
9 
10 #ifndef ossimPointCloudUtil_HEADER
11 #define ossimPointCloudUtil_HEADER
12 
13 #include <ossim/util/ossimTool.h>
14 #include <ossim/base/ossimRefPtr.h>
16 #include <ossim/base/ossimIrect.h>
21 
22 
27 {
29 
30 public:
33 
34  bool initialize(ossimArgumentParser& ap) override;
35  void loadJSON(const Json::Value& json_request) override;
36  void saveJSON(Json::Value& json) const override;
37  virtual bool execute() override;
38 
39 protected:
40  bool initialize();
41  void setGSD(const double& meters_per_pixel);
42  void usage(ossimArgumentParser& ap);
43  void addArguments(ossimArgumentParser& ap);
44  bool loadPC();
45  bool loadDem();
46 
47  enum Operation { HIGHEST_DEM, LOWEST_DEM, HIGHEST_LOWEST } m_operation;
52  double m_gsd;
57 
58 };
59 
60 #endif /* ossimPointCloudUtil_HEADER */
virtual void saveJSON(Json::Value &json) const
Fetch product as JSON object when applicable Always returns true since using exception on error...
Definition: ossimTool.h:59
void usage()
#define OSSIMDLLEXPORT
virtual void loadJSON(const Json::Value &json_request)
Reads processing params from JSON object provided.
Definition: ossimTool.h:52
ossimRefPtr< ossimPointCloudImageHandler > m_pciHandler
ossimRefPtr< ossimImageGeometry > m_prodGeom
ossimRefPtr< ossimPointCloudHandler > m_pcHandler
virtual bool initialize(ossimArgumentParser &ap)
Initializes from command line arguments.
Definition: ossimTool.cpp:58
virtual bool execute()=0
Writes product to output file if applicable.
ossimRefPtr< ossimPointCloudUtilityFilter > m_pcuFilter
Utility class for generating point-cloud-derived image products.