#include <DraWinObj.h>
Public Member Functions | |
virtual DraWinObjPlate | plate ()=0 |
Gets the plate. | |
void | setPose (Pose p) |
Sets the pose (default is (0,0,0)). | |
Pose | pose (void) |
Gets the pose if the object. | |
void | setColor (Color c) |
Sets the color (default is black). | |
void | setColor (int num) |
Sets the color (default is black). | |
Color | color (void) |
Gets the color. | |
virtual void | boundBox (DraWinBoundBox &bb)=0 |
Protected Attributes | |
Color | _color |
Pose | _pose |
virtual DraWinObjPlate MipResources::DraWinObj::plate | ( | ) | [pure virtual] |
Gets the plate.
Implemented in MipResources::Point2D, MipResources::Points2D, MipResources::Polygon2D, MipResources::Segment2D, MipResources::Disk2D, MipResources::MobileRob2D, MipResources::Khepera2D, MipResources::Quad3D, MipResources::Parallelepiped3D, MipResources::HLine2D, MipResources::CmdBB2D, and MipResources::CovEllipse2D.
void MipResources::DraWinObj::setPose | ( | Pose | p | ) | [inline] |
Pose MipResources::DraWinObj::pose | ( | void | ) | [inline] |
Gets the pose if the object.
Reimplemented in MipResources::MobileRob2D, MipResources::Khepera2D, and MipResources::Quad3D.
void MipResources::DraWinObj::setColor | ( | Color | c | ) | [inline] |
void MipResources::DraWinObj::setColor | ( | int | num = 0 |
) |
Sets the color (default is black).
[in] | c | number of the color to set. |
virtual void MipResources::DraWinObj::boundBox | ( | DraWinBoundBox & | bb | ) | [pure virtual] |
Color MipResources::DraWinObj::_color [protected] |
Pose MipResources::DraWinObj::_pose [protected] |