Public Member Functions | |
| TIGL_EXPORT double | getFunctionValue (const double *x) const override |
| returns the objective function for the parameter vector x | |
| TIGL_EXPORT void | getGradient (const double *x, double *dx) const override |
| returns the gradient dx for the parameter vector x | |
| TIGL_EXPORT void | getGradientHessian (const double *x, double *dx, double *H) const override |
| Sometimes it is more efficient to calculate gradient and hessian at once for these cases this function is provided. In the default implementation, it calls getGradient and getHessian succesively. | |
| TIGL_EXPORT void | getHessian (const double *x, double *H) const override |
| returns the hessian matrix for the parameter vector x | |
| TIGL_EXPORT int | getParameterCount () const override |
| TIGL_EXPORT bool | hasAnalyticGradient () const override |
| TIGL_EXPORT bool | hasAnalyticHessian () const override |
| TIGL_EXPORT | SegmentProjection (const CTiglPointTranslator &t, const CTiglPoint &a, const CTiglPoint &b, const CTiglPoint &c, const CTiglPoint &d) |
| TIGL_EXPORT void | setProjectionPoint (const CTiglPoint &p) |
| TIGL_EXPORT | ~SegmentProjection () override |
| Public Member Functions inherited from tigl::ITiglObjectiveFunction | |
| virtual TIGL_EXPORT void | getNumericalGradient (const double *x, double *dx) const |
| provides a routine for the numerical gradient calculation | |
| virtual TIGL_EXPORT void | getNumericalHessian (const double *x, double *H) const |
| provides a routine for the numerical hessian calculation | |
| TIGL_EXPORT | ITiglObjectiveFunction () |
| TIGL_EXPORT void | setNumericalStepSize (double h) |
| virtual TIGL_EXPORT | ~ITiglObjectiveFunction () |
Private Attributes | |
| const CTiglPoint & | _a |
| const CTiglPoint & | _b |
| const CTiglPoint & | _c |
| const CTiglPointTranslator & | _t |
| CTiglPoint | _x |
|
inline |
|
inlineoverride |
|
overridevirtual |
returns the objective function for the parameter vector x
Implements tigl::ITiglObjectiveFunction.
|
overridevirtual |
returns the gradient dx for the parameter vector x
Reimplemented from tigl::ITiglObjectiveFunction.
|
overridevirtual |
Sometimes it is more efficient to calculate gradient and hessian at once for these cases this function is provided. In the default implementation, it calls getGradient and getHessian succesively.
Reimplemented from tigl::ITiglObjectiveFunction.
|
overridevirtual |
returns the hessian matrix for the parameter vector x
Reimplemented from tigl::ITiglObjectiveFunction.
|
inlineoverridevirtual |
Implements tigl::ITiglObjectiveFunction.
|
inlineoverridevirtual |
Implements tigl::ITiglObjectiveFunction.
|
inlineoverridevirtual |
Implements tigl::ITiglObjectiveFunction.
| TIGL_EXPORT void tigl::CTiglPointTranslator::SegmentProjection::setProjectionPoint | ( | const CTiglPoint & | p | ) |
|
private |
|
private |
|
private |
|
private |
|
private |