|  | RobWorkProject
    23.9.11-
    | 
renderer for contacts More...
#include <RenderContacts.hpp>
Inherits Render.
| Public Member Functions | |
| RenderContacts () | |
| constructor | |
| virtual | ~RenderContacts () | 
| destructor | |
| void | addContact (const rw::sensor::Contact3D &contacts) | 
| add a contact to render | |
| void | addContacts (const std::vector< rw::sensor::Contact3D > &contacts) | 
| add a number of contacts to render | |
| void | setContacts (const std::vector< rw::sensor::Contact3D > &contacts) | 
| set the contacts to render | |
| void | setColor (double r, double g, double b) | 
| set the color used for the model  More... | |
| virtual void | draw (const rw::graphics::DrawableNode::RenderInfo &info, 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. | |
renderer for contacts
| 
 | 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 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 |