![]() |
FlowEngine 8.011
Photogrammetry Software Development Kit
|
#include <CameraGroupManagerInterface.h>
Public Member Functions | |
virtual FLE_DLL Index | addGroup (Buffer< CameraInterface * > cameras)=0 |
virtual FLE_DLL Index | getNumberOfGroups () const =0 |
virtual FLE_DLL Result | setDistanceRelation (Index group, double value, double accuracy=0)=0 |
virtual FLE_DLL Result | setReferenceGroup (Index group)=0 |
virtual FLE_DLL Result | setRotationRelation (Index group, ConstBuffer< double > value, ConstBuffer< double > accuracy={ })=0 |
virtual FLE_DLL Result | setTranslationRelation (Index group, ConstBuffer< double > value, ConstBuffer< double > accuracy={ })=0 |
virtual FLE_DLL | ~CameraGroupManagerInterface ()=default |
Class to setup camera relationships.
This class offers utilities to setup camera relationships in the context of a camera group.
A group setup is always composed of a reference group and one or more camera groups.
When translation and/or rotation are not specified, the group relations are computed automatically.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Adds a camera group to the manager.
[in] | cameras | a vector of cameras to add to the group. The buffer must be valid and each camera must be valid and not already added to the manager. |
|
pure virtual |
Returns the number of groups in the manager.
|
pure virtual |
Sets the distance relation between a camera group and the reference group.
[in] | group | the index of the group to set the distance relation. It can't not be the reference group. |
[in] | value | the distance value. |
[in] | accuracy | (optional) the accuracy of the distance value. |
group
index is not in the valid range or is the reference group.value
or accuracy
are not finite.
|
pure virtual |
Set the reference group.
[in] | group | the index of the group to set as reference. |
group
index is not in the valid range (0, getNumberOfGroups())
|
pure virtual |
Sets the rotation relation between a camera group and the reference group.
[in] | group | the index of the group to set the rotation relation. |
[in] | value | the rotation value expressed in Euler angles notation. |
[in] | accuracy | (optional) the accuracy of the rotation value expressed in Euler angles notation. |
group
index is not in the valid range or is the reference group.value
or accuracy
contains non-finite values.
|
pure virtual |
Sets the translation relation between a camera group and the reference group.
[in] | group | the index of the group to set the translation relation. |
[in] | value | the translation value. |
[in] | accuracy | (optional) the accuracy of the translation value. |