FlowEngine 7.530
Photogrammetry Software Development Kit
|
Stores a ground control point constraint with image projections and 3D constraint. More...
#include <ControlPointConstraintInterface.h>
Public Member Functions | |
virtual FLE_DLL | ~ControlPointConstraintInterface ()=default |
Default virtual destructor. | |
virtual FLE_DLL Index | getImageProjectionCount () const =0 |
virtual FLE_DLL Result | getImageProjection (Index idx, CameraInterface &outCamera, Point2 &outImageCoords) 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 | getConstraintPosition (Point3 &outConstraint) const =0 |
virtual FLE_DLL void | setConstraintPosition (const Point3 &constraint)=0 |
virtual FLE_DLL void | getConstraintConfidence (float &outConfidence) const =0 |
virtual FLE_DLL void | getConstraintWeight (float &outWeight) const =0 |
virtual FLE_DLL Result | setConstraintConfidence (float confidence)=0 |
virtual FLE_DLL Result | setConstraintWeight (float weight)=0 |
virtual FLE_DLL Result | triangulate (Point3 &outCoords) const =0 |
virtual FLE_DLL Result | validateProjections (double reprojectionThreshold)=0 |
Public Member Functions inherited from FlowEngine::NamedObjectInterface | |
virtual FLE_DLL | ~NamedObjectInterface ()=default |
Default virtual destructor. | |
virtual FLE_DLL Size | getNameLength () const =0 |
virtual FLE_DLL Result | getName (StringBuffer outName) const =0 |
virtual FLE_DLL Result | setName (ConstStringBuffer name)=0 |
Stores a ground control point constraint with image projections and 3D constraint.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Add an image projection to the current constraints list
[in] | camera | the camera associated with the supplied projection. |
[in] | imageCoords | x-y image coordinates of the current projection. |
camera
.
|
pure virtual |
Returns the 3D constraint confidence (in pixels) for the current control point.
[out] | outConfidence | constraint confidence in pixels |
|
pure virtual |
Returns the 3D constraint for the current control point.
[out] | outConstraint | x-y-z constraint position in space. |
|
pure virtual |
Returns the 3D constraint weight for the current control point.
[out] | outWeight | constraint weight |
|
pure virtual |
|
pure virtual |
Returns the image projection coordinates with index idx
[in] | idx | the index of the position to retrieve. Must be in the range [0, getImageProjectionCount()) |
[in,out] | outCamera | camera interface of the current projection |
[out] | outImageCoords | x-y image coordinates of the current projection |
idx
is not in the valid range.
|
pure virtual |
|
pure virtual |
Set the 3D constraint confidence (in pixels) for the current control point.
[in] | confidence | constraint confidence in pixels. The valid range is [0, inf). |
confidence
is not in the valid range.
|
pure virtual |
Set the 3D constraint for the current control point.
[in] | constraint | x-y-z constraint position in space. |
|
pure virtual |
Set the 3D constraint weight for the current control point. For reference, a tie point confidence is 1.
[in] | weight | constraint weight. The valid range is [0, inf). |
weight
is not in the valid range.
|
pure virtual |
Triangulate the current image cameras and get a 3D point.
[out] | outCoords | x-y-z out coordinates in space |
|
pure virtual |
Validate and remove image projections with an high reprojection error (above the input threshold)
[in] | reprojectionThreshold | The maximum reprojection error allowed for a 2d coord (in pixels) |