33 #ifndef __usVirtualSpring_h
34 #define __usVirtualSpring_h
38 #include <visp3/core/vpColVector.h>
40 #include <visp3/ustk_core/usOrientedPlane3D.h>
64 void setStiffness(
double K);
65 double getStiffness()
const;
66 void addStiffness(
double dK);
70 bool IsActive()
const;
71 void AllowRemoval(
bool flag);
72 bool IsRemovable()
const;
73 void AllowPositionUpdate(
bool flag);
74 bool IsPositionUpdateAllowed()
const;
75 void AllowDirectionUpdate(
bool flag);
76 bool IsDirectionUpdateAllowed()
const;
77 void AllowStiffnessUpdate(
bool flag);
78 bool IsStiffnessUpdateAllowed()
const;
90 VISP_EXPORT std::ostream &operator<<(std::ostream &s,
const usVirtualSpring &spg);
91 VISP_EXPORT std::istream &operator>>(std::istream &s,
usVirtualSpring &spg);
93 VISP_EXPORT std::ostream &operator<<=(std::ostream &s,
const usVirtualSpring &spg);
94 VISP_EXPORT std::istream &operator>>=(std::istream &s,
usVirtualSpring &spg);
friend VISP_EXPORT std::ostream & operator<<(std::ostream &s, const usOrientedPlane3D &plane)
Data saving.
friend VISP_EXPORT std::istream & operator>>=(std::istream &s, usOrientedPlane3D &plane)
friend VISP_EXPORT std::istream & operator>>(std::istream &s, usOrientedPlane3D &plane)
friend VISP_EXPORT std::ostream & operator<<=(std::ostream &s, const usOrientedPlane3D &plane)
Binary.
const usOrientedPlane3D & operator=(const usOrientedPlane3D &plane)
bool m_AllowPositionUpdate
bool m_AllowDirectionUpdate
bool m_AllowStiffnessUpdate