#include <ArDrawingData.h>
Public Member Functions | |
| ArDrawingData (const char *shape, ArColor primaryColor, int size, int layer, unsigned int defaultRefreshTime=200, ArColor secondaryColor=ArColor(255, 255, 255)) | |
| Constructor. | |
| unsigned int | getDefaultRefreshTime (void) |
| Gets how often this data should be drawn (0 == only when explicitly sent). | |
| int | getLayer (void) |
| Gets the layer to draw at (see MobileEyes docs for what layer means). | |
| ArColor | getPrimaryColor (void) |
| Gets the primary color (meaning depending on shape). | |
| ArColor | getSecondaryColor (void) |
| Gets the secondary color (meaning depends on shape). | |
| const char * | getShape (void) |
| Returns the shape of data to draw. | |
| int | getSize (void) |
| Gets the size (meaning depends on shape, but its in mm). | |
| void | setDefaultRefreshTime (unsigned int refreshTime) |
| Gets how often this data should be drawn (0 == only when explicitly sent). | |
| void | setLayer (int layer) |
| Sets the layer (see MobileEyes for docs on what layer means). | |
| void | setPrimaryColor (ArColor color) |
| Sets the primary color (meaning depends on shape). | |
| void | setSecondaryColor (ArColor color) |
| Sets the secondary color (meaning depends on shape). | |
| void | setShape (const char *shape) |
| Sets the shape of data to draw. | |
| void | setSize (int size) |
| Sets the size (meaning depends on shape, but its in mm). | |
| virtual | ~ArDrawingData () |
| Destructor. | |
Protected Attributes | |
| unsigned int | myDefaultRefreshTime |
| int | myLayer |
| ArColor | myPrimaryColor |
| ArColor | mySecondaryColor |
| std::string | myShape |
| int | mySize |
The layer is an arbitrary int identifier that must be greater than 0 and less than 100. The robot is currently drawn on layer #50. Any items that are to be drawn on top of the robot should have a layer number greater than 50.
Definition at line 81 of file ArDrawingData.h.
|
||||||||||||||||||||||||||||
|
Constructor.
Definition at line 93 of file ArDrawingData.h. |
1.4.0