a class corresponding to a force constraint where a spring force is added on a vertex attached to a fixed point
![]() | defaultForceRatio the default ratio used to define the balloon force |
![]() | getForceRatio () const returns the force ratio |
![]() | setForceRatio (const double _forceRatio) sets the force ratio of the ballon force |
![]() | apply () fonction apply called at every iteration |
![]() | constructor
| ||
![]() | destructor
|
![]() | forceRatio the extent of the balloon force expressed as a percentage of the overall radius of the line |
![]() | contour the contour on which is applied the constraint |
a class corresponding to a force constraint where a spring force is added on a vertex attached to a fixed point
double forceRatio
ActiveContour2D* contour
constructor
BalloonContour2DConstraint(ActiveContour2D *c, double _forceRatio=defaultForceRatio) throw(MissingContour)
_forceRatio - the distance along the normal direction used to compute the external force
destructor
double getForceRatio() const
void setForceRatio(const double _forceRatio)
virtual void apply()
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de