![]() |
FlowEngine 8.011
Photogrammetry Software Development Kit
|
#include <WorkspaceSaverInterface.h>
Public Member Functions | |
virtual FLE_DLL Result | addBoundingBox (const BoundingBoxInterface &boundingBox)=0 |
virtual FLE_DLL Result | addCamera (const CameraInterface &camera)=0 |
virtual FLE_DLL Result | addCameraConstraint (const CameraConstraintInterface &cameraConstraint)=0 |
virtual FLE_DLL Result | addCamerasAndSparsePointCloud (ConstBuffer< CameraInterface * > cameras, const SparsePointCloudInterface &sparsePointCloud)=0 |
virtual FLE_DLL Result | addControlPointConstraint (const ControlPointConstraintInterface &controlPoint)=0 |
virtual FLE_DLL Result | addDistanceConstraint (const DistanceConstraintInterface &distanceConstraint)=0 |
virtual FLE_DLL Result | addOrthophoto (const OrthophotoInterface &orthophoto, ConstStringBuffer orthophotoSaveFilePath, ConstStringBuffer dsmSaveFilePath, const ProjectedCoordinateSystemInterface *projCS=nullptr, float dpi=96.0f)=0 |
virtual FLE_DLL Result | addProjectedCoordinateSystem (const ProjectedCoordinateSystemInterface &projCS)=0 |
virtual FLE_DLL Result | addSparsePointCloud (const SparsePointCloudInterface &sparsePointCloud)=0 |
virtual FLE_DLL Result | addStereoMesh (const StereoMeshInterface &stereoMesh)=0 |
virtual FLE_DLL Result | addStereoPointCloud (const StereoPointCloudInterface &stereoPointCloud)=0 |
virtual FLE_DLL Result | addStereoTexturedMesh (const StereoTexturedMeshInterface &stereTexturedMesh)=0 |
virtual FLE_DLL Result | save (ConstStringBuffer filePath, bool saveAsSeparateFiles=false) const =0 |
virtual FLE_DLL Result | save (DynamicBufferInterface &outBuffer) const =0 |
virtual FLE_DLL | ~WorkspaceSaverInterface ()=default |
Utility class to save output objects as .3dk binary files that can be opened by 3DF Zephyr gui.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Adds a bounding box object to the list of objects to be saved
[in] | boundingBox | Bounding Box object to be saved |
boundingBox
was added to this saver successfully.
|
pure virtual |
Adds a camera object to the list of objects to be saved
[in] | camera | camera object to be saved. |
|
pure virtual |
Adds a camera constraint object to the list of objects to be saved
[in] | cameraConstraint | Camera Constraint object to be saved |
cameraConstraint
was added to this saver successfully.
|
pure virtual |
Adds a vector of cameras and their related sparse point cloud.
[in] | cameras | a const buffer of camera pointers. |
[in] | sparsePointCloud | the sparse point cloud related to the cameras. |
cameras
is not a valid const buffer of camera objects.
|
pure virtual |
Adds a control point constraint object to the list of objects to be saved
[in] | controlPoint | Control Point object to be saved |
controlPoint
was added to this saver successfully.
|
pure virtual |
Adds a distance constraint object to the list of objects to be saved
[in] | distanceConstraint | Distance Constraint object to be saved |
distanceConstraint
was added to this saver successfully.
|
pure virtual |
Adds an orthophoto object to the list of objects to be saved
[in] | orthophoto | Orthophoto object to be saved |
[in] | orthophotoSaveFilePath | string buffer containing a UTF-8 encoded file path where to save the orthophoto. Should have tif format to retain the georeferencing information. |
[in] | dsmSaveFilePath | string buffer containing a UTF-8 encoded file path where to save the DSM. |
[in] | projCS | (optional, default none) projected coordinate system from which the orthophoto is generated. |
[in] | dpi | (optional, default 96.0f) dots per inch of the orthophoto. |
orthophoto
was added to this saver successfully.orthophotoSaveFilePath
or dsmSaveFilePath
are not valid string buffers.
|
pure virtual |
Adds a projected coordinate system to be saved
[in] | projCS | projected coordinate system to be saved |
projCS
was set to this saver successfully.projCS
is not a valid projected coordinate system.
|
pure virtual |
Adds a sparse point cloud object to the list of objects to be saved.
[in] | sparsePointCloud | sparse point cloud object to be saved. |
sparsePointCloud
was added to this saver successfully.
|
pure virtual |
Adds a stereo mesh object to the list of objects to be saved.
[in] | stereoMesh | stereo mesh object to be saved. |
stereoMesh
was added to this saver successfully.
|
pure virtual |
Adds a stereo point cloud object to the list of objects to be saved.
[in] | stereoPointCloud | stereo point cloud cloud object to be saved. |
stereoPointCloud
was added to this saver successfully.
|
pure virtual |
Adds a stereo textured mesh object to the list of objects to be saved.
[in] | stereTexturedMesh | stereo textured mesh object to be saved. |
stereoTexturedMesh
added to this saver successfully.
|
pure virtual |
Saves all previously added objects to a file in 3DK format.
[in] | filePath | string buffer containing a UTF-8 encoded file path where to save the workspace. |
[in] | saveAsSeparateFiles | when true, stereo point clouds and meshes will be saved as compressed separated 3bd files. |
filePath
is not a valid string buffer.
|
pure virtual |
Saves all previously added objects to a dynamic buffer in 3DK format.
[in] | outBuffer | a dynamic buffer that will be used to write the 3DK data. |