RobWorkProject  24.6.21-
Public Member Functions | List of all members
RenderPlanes Class Reference

renderer for rendering planes More...

#include <RenderPlanes.hpp>

Inherits Render.

Public Member Functions

 RenderPlanes (float planesize=1.0)
 constructor
 
virtual ~RenderPlanes ()
 destructor
 
void addPlanes (const std::vector< rwsim::util::PlaneModel > &planes)
 adds planes to the renerer
 
void clear ()
 clear the list of planes
 
void setColor (double r, double g, double b)
 set the color used for the model More...
 
void draw (const rw::graphics::DrawableNode::RenderInfo &info, rw::graphics::DrawableNode::DrawType type, double alpha) const
 Render::draw.
 
- Public Member Functions inherited from Render
virtual ~Render ()
 destructor
 

Additional Inherited Members

- Public Types inherited from Render
typedef rw::core::Ptr< RenderPtr
 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.
 

Detailed Description

renderer for rendering planes

Member Function Documentation

◆ setColor()

void setColor ( double  r,
double  g,
double  b 
)

set the color used for the model

Parameters
r[in] red color value
g[in] green color value
b[in] blue color value

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