void draw_fold(const utils::Point32f &a, const utils::Point32f &b, float val)
 
undocument this line if you encounter any issues!
Definition: Any.h:37
 
core::Img32f m
Definition: FoldMap (copy).h:22
 
void addFold(const utils::Point32f &a, const utils::Point32f &b, float value)
memorized folds are nagative
 
const core::Img32f & getImage() const
current fold map
Definition: FoldMap (copy).h:46
 
discretized paper space representing folds
Definition: FoldMap (copy).h:21
 
Size class of the ICL.
Definition: Size.h:61
 
float getFoldValue(const utils::Point32f &a, const utils::Point32f &b)
return a value that can be used as fold stiffness
 
Single precission 3D Vectors Point class of the ICL.
Definition: Point32f.h:41
 
float initialValue
Definition: FoldMap (copy).h:23
 
FoldMap(const utils::Size &resolution=utils::Size(200, 300), float intialValue=1)
 
void removeFold(const utils::Point32f &a, const utils::Point32f &b)
sets fold pixels to 1