Image Component Library (ICL)
|
Utility class for extra annotations, rendered in paper coordinates. More...
Public Member Functions | |
LineAnnotation (PhysicsPaper *paper, const utils::Point32f &a, const utils::Point32f &b, const geom::GeomColor &color) | |
virtual void | prepareForRendering () |
Public Attributes | |
utils::Point32f | a |
utils::Point32f | b |
PhysicsPaper * | parent |
Utility class for extra annotations, rendered in paper coordinates.
hack: if a and b are identical, the annotation defines a point annotation
icl::physics::ManipulatablePaper::LineAnnotation::LineAnnotation | ( | PhysicsPaper * | paper, |
const utils::Point32f & | a, | ||
const utils::Point32f & | b, | ||
const geom::GeomColor & | color | ||
) |
|
virtual |
utils::Point32f icl::physics::ManipulatablePaper::LineAnnotation::a |
utils::Point32f icl::physics::ManipulatablePaper::LineAnnotation::b |
PhysicsPaper* icl::physics::ManipulatablePaper::LineAnnotation::parent |