FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::OrthophotoInterface Class Referenceabstract

Hold an Orthophoto object. More...

#include <OrthophotoInterface.h>

Public Member Functions

virtual FLE_DLL ~OrthophotoInterface ()=default
 Default virtual destructor.
 
virtual FLE_DLL void getOrthophotoDimensions (int &outWidth, int &outHeight) const =0
 
virtual FLE_DLL Result getOrthophotoData (Buffer< PointColor32 > outData) const =0
 
virtual FLE_DLL Result getDSMData (Buffer< ColorComponent32 > outData) const =0
 
virtual FLE_DLL Result saveOrthophotoToFile (ConstStringBuffer filePath, ConstStringBuffer inProjCSWtk) const =0
 
virtual FLE_DLL Result saveDSMToFile (ConstStringBuffer filePath, ConstStringBuffer inProjCSWtk) const =0
 

Detailed Description

Hold an Orthophoto object.

Use FlowEngine to generate an orthophoto from a point cloud or a mesh. You can save the orthophoto to geotiff.

Constructor & Destructor Documentation

◆ ~OrthophotoInterface()

virtual FLE_DLL FlowEngine::OrthophotoInterface::~OrthophotoInterface ( )
virtualdefault

Default virtual destructor.

Member Function Documentation

◆ getDSMData()

virtual FLE_DLL Result FlowEngine::OrthophotoInterface::getDSMData ( Buffer< ColorComponent32 outData) const
pure virtual

Copy DSM data. DSM data is represented by a single floating value per image location.

Parameters
[in,out]outDataa buffer of values big enough to store the entire orthophoto data (i.e.: width * height elements).
Returns
One of the following result codes:
Note
This function is not available in the free version of the SDK.

◆ getOrthophotoData()

virtual FLE_DLL Result FlowEngine::OrthophotoInterface::getOrthophotoData ( Buffer< PointColor32 outData) const
pure virtual

Copies the orthophoto data.

Parameters
[in,out]outDataa buffer of PackedColor (rgb) elements big enough to store the entire orthophoto data (i.e.: width * height elements).
Returns
One of the following result codes:
Note
This function is not available in the free version of the SDK.

◆ getOrthophotoDimensions()

virtual FLE_DLL void FlowEngine::OrthophotoInterface::getOrthophotoDimensions ( int &  outWidth,
int &  outHeight 
) const
pure virtual

Returns the orthophoto dimensions.

Parameters
[out]outWidththe width of the orthophoto in pixels.
[out]outHeightthe height of the orthophoto in pixels.

◆ saveDSMToFile()

virtual FLE_DLL Result FlowEngine::OrthophotoInterface::saveDSMToFile ( ConstStringBuffer  filePath,
ConstStringBuffer  inProjCSWtk 
) const
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.

Parameters
[in]filePathan UTF-8 encoded string where to save the orthophoto.
[in]inProjCSWtkbuffer that stores the UTF-8 encoded projected system in wtk format.
Returns
One of the following result codes:
Note
This function is not available in the free version of the SDK.

◆ saveOrthophotoToFile()

virtual FLE_DLL Result FlowEngine::OrthophotoInterface::saveOrthophotoToFile ( ConstStringBuffer  filePath,
ConstStringBuffer  inProjCSWtk 
) const
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.

Parameters
[in]filePathan UTF-8 encoded string where to save the orthophoto.
[in]inProjCSWtkbuffer that stores the UTF-8 encoded projection system in wtk format.
Returns
One of the following result codes:
Note
This function is not available in the free version of the SDK.