Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::physics::ManipulatablePaper::LineAnnotation Struct Reference

Utility class for extra annotations, rendered in paper coordinates. More...

Inheritance diagram for icl::physics::ManipulatablePaper::LineAnnotation:

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
 
PhysicsPaperparent
 

Detailed Description

Utility class for extra annotations, rendered in paper coordinates.

hack: if a and b are identical, the annotation defines a point annotation

Constructor & Destructor Documentation

◆ LineAnnotation()

icl::physics::ManipulatablePaper::LineAnnotation::LineAnnotation ( PhysicsPaper paper,
const utils::Point32f a,
const utils::Point32f b,
const geom::GeomColor color 
)

Member Function Documentation

◆ prepareForRendering()

virtual void icl::physics::ManipulatablePaper::LineAnnotation::prepareForRendering ( )
virtual

Member Data Documentation

◆ a

utils::Point32f icl::physics::ManipulatablePaper::LineAnnotation::a

◆ b

utils::Point32f icl::physics::ManipulatablePaper::LineAnnotation::b

◆ parent

PhysicsPaper* icl::physics::ManipulatablePaper::LineAnnotation::parent

The documentation for this struct was generated from the following file: