MipResources::DraWinObj Class Reference
[Draw window]

#include <DraWinObj.h>

Inheritance diagram for MipResources::DraWinObj:

MipResources::CmdDraWinObj MipResources::FigDraWinObj MipResources::CmdBB2D MipResources::CovEllipse2D MipResources::Disk2D MipResources::HLine2D MipResources::Khepera2D MipResources::MobileRob2D MipResources::Parallelepiped3D MipResources::Point2D MipResources::Points2D MipResources::Quad3D MipResources::Segment2D

List of all members.

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


Detailed Description

Drawable object
Author:
Antonio Franchi
Examples:

exampleDraWin.cpp.


Member Function Documentation

virtual DraWinObjPlate MipResources::DraWinObj::plate (  )  [pure virtual]

void MipResources::DraWinObj::setPose ( Pose  p  )  [inline]

Sets the pose (default is (0,0,0)).

Parameters:
p Pose to set.

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]

Sets the color (default is black).

Parameters:
c Color to set.
Examples:
exampleDraWin.cpp.

void MipResources::DraWinObj::setColor ( int  num = 0  ) 

Sets the color (default is black).

Parameters:
[in] c number of the color to set.

Color MipResources::DraWinObj::color ( void   )  [inline]

Gets the color.

Returns:
Color.

virtual void MipResources::DraWinObj::boundBox ( DraWinBoundBox bb  )  [pure virtual]


Member Data Documentation


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6