78 const std::string& sShapePreference=
"bsc",
79 size_t maxNumPoints=0);
85 void setCameraCenter(
const Vec &c);
89 void fitSQ(LM::Matrix &Mx,
math::Vec3 &viewDir,
const std::string& sShapePreference);
91 void preProcess(LM::Matrix &Mx,
math::Vec3 &viewDir,
92 const std::string& sShapePreference,
Powerful and highly flexible matrix class implementation.
Definition: FixedMatrix.h:172
undocument this line if you encounter any issues!
Definition: Any.h:37
LM eulerPosLM
Levenberg-Marquardt for the euler angles and the position.
Definition: SQFitter.h:107
SQFitter::shapeError sError
structure containing an error function
Definition: SQFitter.h:102
math::Vec3 euler
Definition: SQFitter.h:46
#define ICLGeom_API
Definition: CompatMacros.h:179
LM::FunctionMat sErrorFunc
error function for the shape
Definition: SQFitter.h:104
SQParams params
last solution
Definition: SQFitter.h:108
LM shapeLM
Levenberg-Marquardt for the shape.
Definition: SQFitter.h:106
std::vector< float > shape
Definition: SQFitter.h:67
icl::utils::SmartPtr< Vec > camCenter
camera center
Definition: SQFitter.h:109
std::vector< float > shape
Definition: SQFitter.h:47
math::Vec3 size
Definition: SQFitter.h:44
icl::math::LevenbergMarquardtFitter< float > LM
Levenberg-Marquardt.
Definition: SQFitter.h:55
Base implementation of the SceneObjectBase interface for compability with common icl::SceneObjects.
Definition: PointCloudObject.h:52
Definition: SQFitter.h:53
math::Vec3 pos
Definition: SQFitter.h:45
math::Vec3 size
Definition: SQFitter.h:66
SQParams()
Definition: SQFitter.h:50
static void scale(const int deg, xcomplex *P)
Definition: PolynomialSolver.h:133
const SQParams & getParams() const
returns the last calculated parameters
Definition: SQFitter.h:82
LM::FunctionMat ePErrorFunc
error function for the euler angles and the position
Definition: SQFitter.h:105
Utility structure, that represents a superquadric.
Definition: SQFitter.h:43
SQFitter::eulerPosError ePError
structure containing an error function
Definition: SQFitter.h:103
icl::utils::SmartPtr< SQFitter > SQFitterPtr
Definition: SQFitter.h:111
Specialization of the SmartPtrBase class for Pointers.
Definition: SmartPtr.h:75
Structure, that contains the error function for the euler angles and position parameters.
Definition: SQFitter.h:65
Structure, that contains the error function for the shape parameters.
Definition: SQFitter.h:60