#include <WorkspaceLoaderInterface.h>
|
virtual FLE_DLL Result | getBoundingBox (Index idx, BoundingBoxInterface &outBoundingBox) const =0 |
|
virtual FLE_DLL Index | getBoundingBoxCount () const =0 |
|
virtual FLE_DLL Result | getCamera (Index idx, CameraInterface &outCamera) const =0 |
|
virtual FLE_DLL Result | getCameraConstraint (Index idx, CameraConstraintInterface &outCameraConstraint) const =0 |
|
virtual FLE_DLL Index | getCameraConstraintCount () const =0 |
|
virtual FLE_DLL Index | getCameraCount () const =0 |
|
virtual FLE_DLL Result | getControlPointConstraint (Index idx, ControlPointConstraintInterface &outControlPointConstraint) const =0 |
|
virtual FLE_DLL Index | getControlPointConstraintCount () const =0 |
|
virtual FLE_DLL Result | getDistanceConstraint (Index idx, DistanceConstraintInterface &outDistanceConstraint) const =0 |
|
virtual FLE_DLL Index | getDistanceConstraintCount () const =0 |
|
virtual FLE_DLL Result | getOrthophoto (Index idx, OrthophotoInterface &outOrthophoto) const =0 |
|
virtual FLE_DLL Index | getOrthophotoCount () const =0 |
|
virtual FLE_DLL Result | getProjectedCoordinateSystem (Index idx, ProjectedCoordinateSystemInterface &outProjectedCoordinateSystem) const =0 |
|
virtual FLE_DLL Index | getProjectedCoordinateSystemCount () const =0 |
|
virtual FLE_DLL Result | getSparsePointCloud (Index idx, SparsePointCloudInterface &outSparsePointCloud) const =0 |
|
virtual FLE_DLL Index | getSparsePointCloudCount () const =0 |
|
virtual FLE_DLL Result | getStereoMesh (Index idx, StereoMeshInterface &outMesh) const =0 |
|
virtual FLE_DLL Index | getStereoMeshCount () const =0 |
|
virtual FLE_DLL Result | getStereoPointCloud (Index idx, StereoPointCloudInterface &outDensePointCloud) const =0 |
|
virtual FLE_DLL Index | getStereoPointCloudCount () const =0 |
|
virtual FLE_DLL Result | getStereoTexturedMesh (Index idx, StereoTexturedMeshInterface &outTexturedMesh) const =0 |
|
virtual FLE_DLL Index | getStereoTexturedMeshCount () const =0 |
|
virtual FLE_DLL Result | getVersion (Version &outVersion) const =0 |
|
virtual FLE_DLL Result | load (ConstStringBuffer filePath)=0 |
|
virtual FLE_DLL Result | load (ConstStringBuffer filePath, const Version &minimumVersion)=0 |
|
virtual FLE_DLL Result | load (DynamicBufferInterface &inBuffer)=0 |
|
virtual FLE_DLL | ~WorkspaceLoaderInterface ()=default |
|
Utility class to load objects from ".3dk" binary files that can be saved using the WorkspaceSaverInterface.
◆ ~WorkspaceLoaderInterface()
virtual FLE_DLL FlowEngine::WorkspaceLoaderInterface::~WorkspaceLoaderInterface |
( |
| ) |
|
|
virtualdefault |
Default virtual destructor.
◆ getBoundingBox()
Retrieve the bounding box object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getBoundingBoxCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getBoundingBoxCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of bounding boxes in this loader.
◆ getCamera()
Retrieve the camera object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getCameraConstraint()
Retrieve the camera constraint object at the specified position.
- Parameters
-
[in] | idx | camera constraint element number. |
[in,out] | outCameraConstraint | a CameraConstraintInterface object to be filled with the loaded information. |
- Returns
- One of the following result codes:
◆ getCameraConstraintCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getCameraConstraintCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of camera constraints in this loader.
◆ getCameraCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getCameraCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of cameras in this loader.
◆ getControlPointConstraint()
Retrieve the control point constraint object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getControlPointConstraintCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getControlPointConstraintCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of control point constraints in this loader.
◆ getDistanceConstraint()
Retrieve the distance constraint object at the specified position.
- Parameters
-
[in] | idx | distance constraint element number. |
[in,out] | outDistanceConstraint | a DistanceConstraintInterface object to be filled with the loaded information. |
- Returns
- One of the following result codes:
◆ getDistanceConstraintCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getDistanceConstraintCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of distance constraints in this loader.
◆ getOrthophoto()
Retrieve the orthophoto object at the specified position.
- Parameters
-
[in] | idx | orthophoto element number. |
[in,out] | outOrthophoto | an OrthophotoInterface object to be filled with the loaded information. |
- Returns
- One of the following result codes:
◆ getOrthophotoCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getOrthophotoCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of orthophotos in this loader.
◆ getProjectedCoordinateSystem()
Retrieve the projected coordinate system of this workspace.
- Parameters
-
[in] | idx | projected coordinate system element number. |
[in,out] | outProjectedCoordinateSystem | a ProjectedCoordinateSystemInterface object to be filled with the loaded information. |
- Returns
- One of the following result codes:
- Result::Success – if
outProjectedCoordinateSystem
was filled with the projected coordinate system.
◆ getProjectedCoordinateSystemCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getProjectedCoordinateSystemCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of projected coordinate systems in this loader.
◆ getSparsePointCloud()
Retrieve the sparse point cloud object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getSparsePointCloudCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getSparsePointCloudCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of sparse point clouds in this loader.
◆ getStereoMesh()
Retrieve the stereo mesh object at the specified position.
- Parameters
-
[in] | idx | mesh element number. Must be less than WorkspaceLoaderInterface::getStereoMeshesCount. |
[in,out] | outMesh | a stereo mesh object to be filled with the loaded information. |
- Returns
- One of the following result codes:
◆ getStereoMeshCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getStereoMeshCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of stereo meshes in this loader.
◆ getStereoPointCloud()
Retrieve the stereo point cloud object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getStereoPointCloudCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getStereoPointCloudCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of stereo point clouds in this loader.
◆ getStereoTexturedMesh()
Retrieve the stereo textured mesh object at the specified position.
- Parameters
-
- Returns
- One of the following result codes:
◆ getStereoTexturedMeshCount()
virtual FLE_DLL Index FlowEngine::WorkspaceLoaderInterface::getStereoTexturedMeshCount |
( |
| ) |
const |
|
pure virtual |
- Returns
- the number of stereo textured meshes in this loader.
◆ getVersion()
virtual FLE_DLL Result FlowEngine::WorkspaceLoaderInterface::getVersion |
( |
Version & |
outVersion | ) |
const |
|
pure virtual |
Get the version of the loaded 3DK file.
- Parameters
-
[out] | outVersion | the version struct containing the major and minor categories. |
- Returns
- One of the following result codes:
- Note
- prior to v. 4.448 the version was not written in the 3DK.
◆ load() [1/3]
Load objects from a file in 3DK format.
- Parameters
-
[in] | filePath | string buffer containing the UTF-8 encoded path to the file. |
- Returns
- One of the following result codes:
◆ load() [2/3]
Load objects from a file in 3DK format if the file version is older than the specified minium version.
- Parameters
-
[in] | filePath | string buffer containing the UTF-8 encoded path to the file. |
[in] | minimumVersion | the minimum file version allowed to load. |
- Note
- This function is identical to the other load(), except that it will fail with Result::UnsupportedVersion if the target file has no version (FlowEngine v.4.448 and lower) or the version is older than
minimumVersion
.
- See also
- WorkspaceLoader::load
◆ load() [3/3]
Load objects from a dynamic buffer in 3DK format.
- Parameters
-
[in] | inBuffer | a dynamic buffer containing the 3DK file. |
- Returns
- One of the following result codes: