Composition of transformations. More...
#include <vcsl_composition.h>

Public Member Functions | |
| vcsl_composition ()=default | |
| ~vcsl_composition () override=default | |
| bool | is_invertible (double time) const override |
| Is ‘this’ invertible at time ‘time’?. More... | |
| bool | is_valid () const override |
| Is ‘this’ correctly set ?. More... | |
| std::vector< vcsl_spatial_transformation_sptr > | composition () const |
| Return the list of transformations. More... | |
| void | set_composition (std::vector< vcsl_spatial_transformation_sptr > const &t) |
| Set the list of transformations of the composition. More... | |
| vnl_vector< double > | execute (const vnl_vector< double > &v, double time) const override |
| Image of ‘v’ by ‘this’. More... | |
| vnl_vector< double > | inverse (const vnl_vector< double > &v, double time) const override |
| Image of ‘v’ by the inverse of ‘this’. More... | |
| std::vector< double > | beat () const |
| Return the list of time clocks. More... | |
| unsigned int | duration () const |
| Return the time duration. More... | |
| std::vector< vcsl_interpolator > | interpolators () const |
| Return the list of interpolators. More... | |
| bool | valid_time (double time) const |
| Is ‘time’ between the two time bounds ?. More... | |
| int | matching_interval (double time) const |
| Return the index of the beat inferior or equal to ‘time’. More... | |
| void | set_beat (std::vector< double > const &new_beat) |
| Set the list of time clocks. More... | |
| void | set_interpolators (std::vector< vcsl_interpolator > const &i) |
| Set the list of interpolators. More... | |
| void | set_static () |
| Empty the time clock and interpolators, thereby making the transf static. More... | |
| double | lsi (double v0, double v1, int index, double time) const |
| Linear interpolation on scalar values. More... | |
| vnl_vector< double > | lvi (const vnl_vector< double > &v0, const vnl_vector< double > &v1, int index, double time) const |
| Linear interpolation on vnl_vectors. More... | |
| vnl_matrix< double > | lmi (const vnl_matrix< double > &m0, const vnl_matrix< double > &m1, int index, double time) const |
| Linear interpolation on vnl_matrices. More... | |
| vnl_quaternion< double > | lqi (const vnl_quaternion< double > &v0, const vnl_quaternion< double > &v1, int index, double time) const |
| Linear interpolation on quaternions. More... | |
| void | ref () |
| void | unref () |
| long | get_references () const |
| bool | is_referenced () const |
Protected Attributes | |
| std::vector< vcsl_spatial_transformation_sptr > | transformations_ |
| std::vector< double > | beat_ |
| List of time clocks. More... | |
| std::vector< vcsl_interpolator > | interpolator_ |
Composition of transformations.
This transformation handles a composition of transformations, that is, at a given time, all the transformations are applied on a given point
Definition at line 27 of file vcsl_composition.h.
|
default |
|
overridedefault |
|
inlineinherited |
Return the list of time clocks.
Definition at line 65 of file vcsl_spatial_transformation.h.
|
inline |
Return the list of transformations.
Definition at line 55 of file vcsl_composition.h.
|
inlineinherited |
Return the time duration.
Definition at line 68 of file vcsl_spatial_transformation.h.
|
overridevirtual |
Image of ‘v’ by ‘this’.
REQUIRE: is_valid() Pure virtual function of vcsl_spatial_transformation
Implements vcsl_spatial_transformation.
Definition at line 42 of file vcsl_composition.cxx.
|
inlineinherited |
Return the list of interpolators.
Definition at line 71 of file vcsl_spatial_transformation.h.
|
overridevirtual |
Image of ‘v’ by the inverse of ‘this’.
REQUIRE: is_valid() REQUIRE: is_invertible(time) Pure virtual function of vcsl_spatial_transformation
Implements vcsl_spatial_transformation.
Definition at line 61 of file vcsl_composition.cxx.
|
overridevirtual |
Is ‘this’ invertible at time ‘time’?.
REQUIRE: valid_time(time) Pure virtual function of vcsl_spatial_transformation
Implements vcsl_spatial_transformation.
Definition at line 12 of file vcsl_composition.cxx.
|
overridevirtual |
Is ‘this’ correctly set ?.
Virtual function of vcsl_spatial_transformation
Reimplemented from vcsl_spatial_transformation.
Definition at line 29 of file vcsl_composition.cxx.
|
inherited |
Linear interpolation on vnl_matrices.
Definition at line 94 of file vcsl_spatial_transformation.cxx.
|
inherited |
Linear interpolation on quaternions.
Definition at line 121 of file vcsl_spatial_transformation.cxx.
|
inherited |
Linear interpolation on scalar values.
Definition at line 53 of file vcsl_spatial_transformation.cxx.
|
inherited |
Linear interpolation on vnl_vectors.
Definition at line 69 of file vcsl_spatial_transformation.cxx.
|
inherited |
Return the index of the beat inferior or equal to ‘time’.
REQUIRE: valid_time(time)
Definition at line 22 of file vcsl_spatial_transformation.cxx.
|
inlineinherited |
Set the list of time clocks.
Definition at line 109 of file vcsl_spatial_transformation.h.
|
inline |
Set the list of transformations of the composition.
The transformations are performed in the order of the list
Definition at line 63 of file vcsl_composition.h.
|
inlineinherited |
Set the list of interpolators.
Definition at line 112 of file vcsl_spatial_transformation.h.
|
inherited |
Empty the time clock and interpolators, thereby making the transf static.
Definition at line 44 of file vcsl_spatial_transformation.cxx.
|
inherited |
Is ‘time’ between the two time bounds ?.
Definition at line 12 of file vcsl_spatial_transformation.cxx.
|
protectedinherited |
List of time clocks.
Definition at line 147 of file vcsl_spatial_transformation.h.
|
protectedinherited |
Definition at line 148 of file vcsl_spatial_transformation.h.
|
protected |
Definition at line 82 of file vcsl_composition.h.
1.8.15