![]()  | 
  
    FlowEngine 8.011
    
   Photogrammetry Software Development Kit 
   | 
 
#include <OrthophotoInterface.h>
Public Member Functions | |
| virtual FLE_DLL Result | getDSMData (Buffer< ColorComponent32 > outData) const =0 | 
| virtual FLE_DLL Result | getOrthophotoData (Buffer< PointColor32 > outData) const =0 | 
| virtual FLE_DLL void | getOrthophotoDimensions (int &outWidth, int &outHeight) const =0 | 
| virtual FLE_DLL Result | saveDSMToFile (ConstStringBuffer filePath, const ProjectedCoordinateSystemInterface *projection=nullptr, float dpi=96.0f) const =0 | 
| virtual FLE_DLL Result | saveDSMToFile (ConstStringBuffer filePath, ConstStringBuffer inProjCSWtk) const =0 | 
| virtual FLE_DLL Result | saveOrthophotoToFile (ConstStringBuffer filePath, const ProjectedCoordinateSystemInterface *projection=nullptr, float dpi=96.0f) const =0 | 
| virtual FLE_DLL Result | saveOrthophotoToFile (ConstStringBuffer filePath, ConstStringBuffer inProjCSWtk) const =0 | 
| virtual FLE_DLL | ~OrthophotoInterface ()=default | 
Hold an Orthophoto object.
Use FlowEngine to generate an orthophoto from a point cloud or a mesh. You can save the orthophoto to geotiff.
      
  | 
  virtualdefault | 
Default virtual destructor.
      
  | 
  pure virtual | 
Copy DSM data. DSM data is represented by a single floating value per image location.
| [in,out] | outData | a buffer of values big enough to store the entire orthophoto data (i.e.: width * height elements). | 
outData.outData is not a valid buffer.outData is not big enough to receive the entire orthophoto dsm data.
      
  | 
  pure virtual | 
Copies the orthophoto data.
| [in,out] | outData | a buffer of PackedColor (rgb) elements big enough to store the entire orthophoto data (i.e.: width * height elements). | 
outData.outData is not a valid buffer.outData is not big enough to receive the entire orthophoto color data.
      
  | 
  pure virtual | 
Returns the orthophoto dimensions.
| [out] | outWidth | the width of the orthophoto in pixels. | 
| [out] | outHeight | the height of the orthophoto in pixels. | 
      
  | 
  pure virtual | 
Save the dsm to a geotiff file. Stores the coordinate system if set. If the specified transform or projected system is not valid, the dsm won't be saved with georeferecing information.
| [in] | filePath | an UTF-8 encoded string where to save the dsm. | 
| [in] | projection | (optional) the projected coordinate system to use for the dsm. | 
| [in] | dpi | (optional) the resolution of the dsm in dots per inch. Must be greater than 0. | 
outData.filePath is not a valid string buffer.projection is specified but it's not a valid projected coordinate system.dpi is less than or equal to 0.
      
  | 
  pure virtual | 
Save the orthophoto to a geotiff file. Stores the coordinate system if set. If the specified transform or projected system is not valid, the orthophoto won't be saved with georeferecing information.
| [in] | filePath | an UTF-8 encoded string where to save the orthophoto. | 
| [in] | inProjCSWtk | buffer that stores the UTF-8 encoded projected system in wtk format. | 
outData.filePath is not a valid string buffer.inProjCSWtk is not a valid string buffer.
      
  | 
  pure virtual | 
Save the orthophoto to a geotiff file. Stores the coordinate system if set. If the specified transform or projected system is not valid, the orthophoto won't be saved with georeferecing information.
| [in] | filePath | an UTF-8 encoded string where to save the orthophoto. | 
| [in] | projection | (optional) the projected coordinate system to use for the orthophoto. | 
| [in] | dpi | (optional) the resolution of the orthophoto in dots per inch. Must be greater than 0. | 
filePath.filePath is not a valid string buffer.projection is specified but it's not a valid projected coordinate system.dpi is less than or equal to 0.
      
  | 
  pure virtual | 
Save the orthophoto to a geotiff file. Stores the coordinate system if set. If the specified transform or projected system is not valid, the orthophoto won't be saved with georeferecing information.
| [in] | filePath | an UTF-8 encoded string where to save the orthophoto. | 
| [in] | inProjCSWtk | buffer that stores the UTF-8 encoded projection system in wtk format. | 
filePath.filePath is not a valid string buffer.inProjCSWtk is not a valid string buffer or is not a valid projection method.