5 # include <vcl_msvc_warnings.h> 34 result.
put(0,
v.get(0)-translation.
get(0));
35 result.
put(1,
v.get(1)-translation.
get(1));
47 tmp.
put(0,result.
get(0)+translation.get(0));
48 tmp.
put(1,result.
get(1)+translation.get(1));
52 return result+translation;
74 result.
put(0,
v.get(0)-translation.
get(0));
75 result.
put(1,
v.get(1)-translation.
get(1));
87 tmp.
put(0,result.
get(0)+translation.get(0));
88 tmp.
put(1,result.
get(1)+translation.get(1));
92 return result+translation;
110 assert(!
"vcsl_cubic net yet implemented");
113 assert(!
"vcsl_spline net yet implemented");
116 assert(!
"This is impossible");
bool mode_2d_
False if ‘this’ is a 3D rotation, true if ‘this’ is a 2D rotation.
T get(unsigned int i) const
bool is_invertible(double) const override
Is ‘this’ invertible at time ‘time’?.
bool is_2d() const
Is ‘this’ a 2D rotation ?.
vnl_quaternion< T > conjugate() const
vnl_vector< double > inverse(const vnl_vector< double > &v, double time) const override
Image of ‘v’ by the inverse of ‘this’.
bool is_valid() const override
Is ‘this’ correctly set ?.
vnl_vector< double > vector_value(double time) const
Compute the value of the vector at time ‘time’.
void put(size_t i, double const &v)
vnl_vector_fixed< T, 3 > rotate(vnl_vector_fixed< T, 3 > const &) const
bool is_3d() const
Is ‘this’ a 3D rotation ?.
vnl_quaternion< double > quaternion(double time) const
Compute the value of the quaternion at time ‘time’.
list_of_vectors point_
Variation of the point of the axis along the time.
void put(unsigned int i, T const &v)
void set_static_point(vnl_vector< double > const &new_point)
Set the point for a static displacement.
vnl_vector< double > execute(const vnl_vector< double > &v, double time) const override
Image of ‘v’ by ‘this’.
double get(size_t i) const