FlowEngine 7.530
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
CameraConstraintInterface.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 FLOWENGINECAMERACONSTRAINT_H
20#define FLOWENGINECAMERACONSTRAINT_H
21
22#pragma once
23
24#include "CommonDef.h"
25
26namespace FlowEngine
27{
28 class CameraInterface;
29
32 {
33 public:
34
36 FLE_DLL virtual ~CameraConstraintInterface() = default;
37
38 public:
39
42 FLE_DLL virtual void setCamera( CameraInterface &camera ) = 0;
43
46 FLE_DLL virtual void getCamera( CameraInterface &camera ) const = 0;
47
48 public:
49
52 FLE_DLL virtual void setPosition( const Point3 &constraint ) = 0;
53
56 FLE_DLL virtual void getPosition( Point3 &outConstraint ) const = 0;
57
79 FLE_DLL virtual Result setWeight( float weight ) = 0;
80
83 FLE_DLL virtual void getWeight( float &outWeight ) const = 0;
84 };
85
89
93}
94
95#endif
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Stores a 3d camera constraint.
Definition: CameraConstraintInterface.h:32
virtual FLE_DLL ~CameraConstraintInterface()=default
Default virtual destructor.
virtual FLE_DLL void setPosition(const Point3 &constraint)=0
virtual FLE_DLL void setCamera(CameraInterface &camera)=0
virtual FLE_DLL Result setWeight(float weight)=0
Set the weight for this camera constraint.
virtual FLE_DLL void getWeight(float &outWeight) const =0
virtual FLE_DLL void getPosition(Point3 &outConstraint) const =0
virtual FLE_DLL void getCamera(CameraInterface &camera) const =0
Stores a camera object to feed the Structure from Motion parameters.
Definition: CameraInterface.h:38
Definition: BoundingBoxInterface.cpp:26
CameraConstraintInterface * CreateCameraConstraint()
Definition: CameraConstraintInterface.cpp:27
void DestroyCameraConstraint(CameraConstraintInterface *cameraConstraint)
Definition: CameraConstraintInterface.cpp:32
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
a three dimensional point
Definition: CommonDef.h:375