|  | RobWorkProject
    23.9.11-
    | 
Render a set of circles. More...
#include <RenderCircles.hpp>
Inherits Render.
| Public Member Functions | |
| RenderCircles (float angleResolution=10.0) | |
| constructor  More... | |
| virtual | ~RenderCircles () | 
| destructor | |
| void | addCircle (const util::CircleModel &circle) | 
| adds circle to the circles that are allready drawn  More... | |
| void | addCircles (const std::vector< util::CircleModel > &circles) | 
| adds circles to the circles that are allready drawn | |
| void | setCircles (const std::vector< util::CircleModel > &circles) | 
| set the circles that is to be rendered  More... | |
| void | setColor (double r, double g, double b) | 
| set the color used for the model  More... | |
| void | clear () | 
| clear the list of circles | |
| void | draw (const rw::graphics::DrawableNode::RenderInfo &info, rw::graphics::DrawableNode::DrawType type, double alpha) const | 
|  Public Member Functions inherited from Render | |
| virtual | ~Render () | 
| destructor | |
| Additional Inherited Members | |
|  Public Types inherited from Render | |
| typedef rw::core::Ptr< Render > | Ptr | 
| smart pointer type to this class | |
| typedef DrawableNode::DrawType | DrawType | 
| when calling render on the draw mode or type can be specified. See DrawableNode::DrawType | |
|  Protected Member Functions inherited from Render | |
| Render () | |
| Only instances of classes inheriting Render is allowed. | |
Render a set of circles.
| RenderCircles | ( | float | angleResolution = 10.0 | ) | 
constructor
| angleResolution | [in] the resolution of the circle line segments in degree. The circle is approximated using line segments. | 
| void addCircle | ( | const util::CircleModel & | circle | ) | 
adds circle to the circles that are allready drawn
| circle | [in] circle to draw | 
| 
 | virtual | 
| info | [in] state and rendering specific info | 
| type | [in] the drawtype which is being used | 
| alpha | [in] the alpha value to render with | 
Implements Render.
| void setCircles | ( | const std::vector< util::CircleModel > & | circles | ) | 
set the circles that is to be rendered
| circles | [in] the vector of circles | 
| void setColor | ( | double | r, | 
| double | g, | ||
| double | b | ||
| ) | 
set the color used for the model
| r | [in] red color value | 
| g | [in] green color value | 
| b | [in] blue color value |