19#ifndef FLOWENGINECONSTRAINT_H
20#define FLOWENGINECONSTRAINT_H
30 class CameraInterface;
55 Point2 &outImageCoords )
const = 0;
58 Point2 &outImageCoords )
const = 0;
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
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
virtual FLE_DLL Result triangulate(Point3 &outCoords) const =0
virtual FLE_DLL ~ControlPointConstraintInterface()=default
Default virtual destructor.
virtual FLE_DLL Result setConstraintWeight(float weight)=0
virtual FLE_DLL Result getImageProjection(Index idx, CameraInterface &outCamera, Point2 &outImageCoords) const =0
virtual FLE_DLL void getConstraintPosition(Point3 &outConstraint) const =0
virtual FLE_DLL void getConstraintWeight(float &outWeight) const =0
virtual FLE_DLL Result setConstraintConfidence(float confidence)=0
virtual FLE_DLL void setConstraintPosition(const Point3 &constraint)=0
virtual FLE_DLL Index getImageProjectionCount() const =0
virtual FLE_DLL Result getImageProjection(const CameraInterface &inCamera, Point2 &outImageCoords) const =0
virtual FLE_DLL Result addImageProjection(const CameraInterface &camera, const Point2 &imageCoords)=0
virtual FLE_DLL void getConstraintConfidence(float &outConfidence) const =0
virtual FLE_DLL Result validateProjections(double reprojectionThreshold)=0
Interface for all FlowEngine objects with an editable name.
Definition: NamedObjectInterface.h:30
Definition: BoundingBoxInterface.cpp:26
std::ptrdiff_t Index
Index type.
Definition: CommonDef.h:100
ControlPointConstraintInterface * CreateControlPointConstraint()
Definition: ControlPointConstraintInterface.cpp:27
void DestroyControlPointConstraint(ControlPointConstraintInterface *controlPoint)
Definition: ControlPointConstraintInterface.cpp:32
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
a 2 dimensional point
Definition: CommonDef.h:388
a three dimensional point
Definition: CommonDef.h:375