8 #ifndef META_OCEAN_TRACKING_RMV_RANDOMIZED_POSE_H
9 #define META_OCEAN_TRACKING_RMV_RANDOMIZED_POSE_H
This class implements a generator for random numbers.
Definition: RandomGenerator.h:42
This class implements functions for randomized poses.
Definition: RandomizedPose.h:34
static void randomPoseSubset(const PinholeCamera *pinholeCamera, const Box3 *box, RandomGenerator *randomGenerator, const Scalar minDistance, const Scalar maxDistance, const Scalar visibleRatio, HomogenousMatrix4 *poses, const unsigned int firstPose, const unsigned int numberPoses)
Returns a subset of randomized pose looking at a box.
static HomogenousMatrices4 hemispherePoses(const Box3 &box, RandomGenerator &randomGenerator, const Scalar distance, const unsigned int longitudeSteps=12u, const unsigned int rollSteps=12u)
Determines several random camera poses close to a hemisphere, separated at individual location but sl...
static HomogenousMatrix4 constantDistance(const Box3 &box, const Scalar distance, const Scalar minYFactor)
Returns a randomized pose looking at a box.
static void randomPoses(const PinholeCamera &pinholeCamera, const Box3 &box, RandomGenerator &randomGenerator, const Scalar minDistance, const Scalar maxDistance, const Scalar visibleRatio, const size_t number, HomogenousMatrix4 *poses, Worker *worker=nullptr)
Returns a set of randomized pose looking at a box.
static HomogenousMatrix4 randomPose(const PinholeCamera &pinholeCamera, const Box3 &box, RandomGenerator &randomGenerator, const Scalar minDistance, const Scalar maxDistance, const Scalar visibleRatio=Scalar(0.25))
Returns a randomized pose looking at a box.
static void constantDistance(const Box3 &box, const Scalar distance, const Scalar minYFactor, const unsigned int number, const unsigned int maximalIterations, const Scalar angleOffset, HomogenousMatrix4 *poses)
Returns a set of random pose looking at a box.
This class implements a worker able to distribute function calls over different threads.
Definition: Worker.h:33
float Scalar
Definition of a scalar type.
Definition: Math.h:128
std::vector< HomogenousMatrix4 > HomogenousMatrices4
Definition of a vector holding HomogenousMatrix4 objects.
Definition: HomogenousMatrix4.h:73
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15