FlowEngine 7.517
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
WorkspaceSaverInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINEWORKSPACESAVER_H
20#define FLOWENGINEWORKSPACESAVER_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26#include "CameraInterface.h"
29#include "StereoMeshInterface.h"
33
34namespace FlowEngine
35{
36 class DynamicBufferInterface;
37
40 {
41 public:
42
44 FLE_DLL virtual ~WorkspaceSaverInterface() = default;
45
46 public:
47
56 const SparsePointCloudInterface &sparsePointCloud ) = 0;
57
65 FLE_DLL virtual Result addCamera( const CameraInterface &camera ) = 0;
66
74 FLE_DLL virtual Result addSparsePointCloud( const SparsePointCloudInterface &sparsePointCloud ) = 0;
75
81 FLE_DLL virtual Result addStereoPointCloud( const StereoPointCloudInterface &stereoPointCloud ) = 0;
82
88 FLE_DLL virtual Result addStereoMesh( const StereoMeshInterface &stereoMesh ) = 0;
89
95 FLE_DLL virtual Result addStereoTexturedMesh( const StereoTexturedMeshInterface &stereTexturedMesh ) = 0;
96
102 FLE_DLL virtual Result addBoundingBox( const BoundingBoxInterface &boundingBox ) = 0;
103
109 FLE_DLL virtual Result addControlPointConstraint( const ControlPointConstraintInterface &controlPoint ) = 0;
110
111 public:
112
121 FLE_DLL virtual Result save( ConstStringBuffer filePath ) const = 0;
122
129 FLE_DLL virtual Result save( DynamicBufferInterface &outBuffer ) const = 0;
130 };
131
135
139}
140
141#endif
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
An oriented bounding box.
Definition: BoundingBoxInterface.h:35
Stores a camera object to feed the Structure from Motion parameters.
Definition: CameraInterface.h:38
Stores a ground control point constraint with image projections and 3D constraint.
Definition: ControlPointConstraintInterface.h:34
Dynamic memory buffer utility used to marshall variable amount of data.
Definition: DynamicBufferInterface.h:30
Stores a PointCloud object.
Definition: SparsePointCloudInterface.h:36
Stores a simple stereo mesh object for the FlowEngine interface.
Definition: StereoMeshInterface.h:38
Stores a simple Dense Point Cloud object for the FlowEngine interface.
Definition: StereoPointCloudInterface.h:38
Stores a simple textured mesh object for the FlowEngine interface.
Definition: StereoTexturedMeshInterface.h:36
Utility class to save output objects as .3dk binary files that can be opened by 3DF Zephyr gui.
Definition: WorkspaceSaverInterface.h:40
virtual FLE_DLL Result addCamera(const CameraInterface &camera)=0
virtual FLE_DLL Result save(ConstStringBuffer filePath) const =0
virtual FLE_DLL Result addStereoTexturedMesh(const StereoTexturedMeshInterface &stereTexturedMesh)=0
virtual FLE_DLL Result addStereoMesh(const StereoMeshInterface &stereoMesh)=0
virtual FLE_DLL Result addSparsePointCloud(const SparsePointCloudInterface &sparsePointCloud)=0
virtual FLE_DLL Result addStereoPointCloud(const StereoPointCloudInterface &stereoPointCloud)=0
virtual FLE_DLL ~WorkspaceSaverInterface()=default
Default virtual destructor.
virtual FLE_DLL Result save(DynamicBufferInterface &outBuffer) const =0
virtual FLE_DLL Result addBoundingBox(const BoundingBoxInterface &boundingBox)=0
virtual FLE_DLL Result addCamerasAndSparsePointCloud(ConstBuffer< CameraInterface * > cameras, const SparsePointCloudInterface &sparsePointCloud)=0
virtual FLE_DLL Result addControlPointConstraint(const ControlPointConstraintInterface &controlPoint)=0
Definition: BoundingBoxInterface.cpp:26
WorkspaceSaverInterface * CreateWorkspaceSaver()
Definition: WorkspaceSaverInterface.cpp:27
void DestroyWorkspaceSaver(WorkspaceSaverInterface *workspaceSaver)
Definition: WorkspaceSaverInterface.cpp:32
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a const buffer characters.
Definition: CommonDef.h:296
Holds a (non mutable) non_owning pointer and a count Used to marshal memory buffers as arguments in a...
Definition: CommonDef.h:191