|
Velocity | GetGlobalVelocity () const |
|
Velocity | GetOdomError () const |
|
Velocity | GetVelocity () const |
|
void | GoTo (double x, double y, double a) |
|
void | GoTo (Pose pose) |
|
| ModelPosition (World *world, Model *parent, const std::string &type) |
| Constructor. More...
|
|
void | SetAcceleration (double x, double y, double a) |
|
void | SetGlobalVelocity (const Velocity &gvel) |
|
void | SetOdom (Pose odom) |
|
void | SetSpeed (double x, double y, double a) |
|
void | SetSpeed (Velocity vel) |
|
void | SetTurnSpeed (double a) |
|
void | SetVelocity (const Velocity &val) |
|
void | SetXSpeed (double x) |
|
void | SetYSpeed (double y) |
|
void | SetZSpeed (double z) |
|
void | Stop () |
|
| ~ModelPosition () |
| Destructor. More...
|
|
void | AddBlockRect (meters_t x, meters_t y, meters_t dx, meters_t dy, meters_t dz) |
|
void | AddCallback (callback_type_t type, model_callback_t cb, void *user) |
|
void | AddFlag (Flag *flag) |
|
void | AddToPose (const Pose &pose) |
|
void | AddToPose (double dx, double dy, double dz, double da) |
|
void | AddVisualizer (Visualizer *custom_visual, bool on_by_default) |
|
void | BecomeParentOf (Model *child) |
|
int | CallCallbacks (callback_type_t type) |
|
void | ClearBlocks () |
|
bool | DataIsFresh () const |
|
void | Disable () |
|
void | Enable () |
|
PowerPack * | FindPowerPack () const |
|
Model * | GetChild (const std::string &name) const |
|
Color | GetColor () const |
|
usec_t | GetEnergyInterval () const |
|
int | GetFiducialReturn () const |
|
unsigned int | GetFlagCount () const |
|
Geom | GetGeom () const |
|
Pose | GetGlobalPose () const |
|
uint32_t | GetId () const |
|
usec_t | GetInterval () |
|
kg_t | GetMassOfChildren () const |
|
const std::string & | GetModelType () const |
|
Pose | GetPose () const |
|
std::string | GetSayString () |
|
unsigned int | GetSubscriptionCount () const |
|
kg_t | GetTotalMass () const |
|
Model * | GetUnsubscribedModelOfType (const std::string &type) const |
|
Model * | GetUnusedModelOfType (const std::string &type) |
|
usec_t | GetUpdateInterval () const |
|
World * | GetWorld () const |
|
Pose | GlobalToLocal (const Pose &pose) const |
|
bool | HasCollision () |
|
bool | HasSubscribers () const |
|
void | InitControllers () |
|
bool | IsAntecedent (const Model *testmod) const |
|
bool | IsDescendent (const Model *testmod) const |
|
bool | IsEnabled () const |
|
bool | IsRelated (const Model *testmod) const |
|
void | Load (Worldfile *wf, int wf_entity) |
|
void | LoadBlock (Worldfile *wf, int entity) |
|
void | LoadControllerModule (const char *lib) |
|
Pose | LocalToGlobal (const Pose &pose) const |
|
point_t | LocalToGlobal (const point_t &pt) const |
|
std::vector< point_int_t > | LocalToPixels (const std::vector< point_t > &local) const |
|
| Model (World *world, Model *parent=NULL, const std::string &type="model", const std::string &name="") |
|
| Model () |
|
void | NeedRedraw () |
|
Model * | Parent () const |
|
bool | PlaceInFreeSpace (meters_t xmin, meters_t xmax, meters_t ymin, meters_t ymax, size_t max_iter=0) |
|
virtual void | PopColor () |
|
Flag * | PopFlag () |
|
std::string | PoseString () |
|
virtual void | Print (char *prefix) const |
|
virtual const char * | PrintWithPose () const |
|
virtual void | PushColor (Color col) |
|
virtual void | PushColor (double r, double g, double b, double a) |
|
void | PushFlag (Flag *flag) |
|
bool | RandomPoseInFreeSpace (meters_t xmin, meters_t xmax, meters_t ymin, meters_t ymax, size_t max_iter=0) |
|
void | Rasterize (uint8_t *data, unsigned int width, unsigned int height, meters_t cellwidth, meters_t cellheight) |
|
void | Redraw () |
|
int | RemoveCallback (callback_type_t type, model_callback_t callback) |
|
void | RemoveFlag (Flag *flag) |
|
void | RemoveVisualizer (Visualizer *custom_visual) |
|
Model * | Root () |
|
virtual void | Save () |
|
void | Say (const std::string &str) |
|
void | SetBlobReturn (bool val) |
|
void | SetBoundary (bool val) |
|
void | SetColor (Color col) |
|
void | SetFiducialKey (int key) |
|
void | SetFiducialReturn (int fid) |
|
void | SetFriction (double friction) |
|
void | SetGeom (const Geom &src) |
|
void | SetGlobalPose (const Pose &gpose) |
|
void | SetGravityReturn (bool val) |
|
void | SetGripperReturn (bool val) |
|
void | SetGuiGrid (bool val) |
|
void | SetGuiMove (bool val) |
|
void | SetGuiNose (bool val) |
|
void | SetGuiOutline (bool val) |
|
void | SetMapResolution (meters_t res) |
|
void | SetMass (kg_t mass) |
|
void | SetObstacleReturn (bool val) |
|
int | SetParent (Model *newparent) |
|
void | SetPose (const Pose &pose) |
|
void | SetRangerReturn (double val) |
|
void | SetRangerReturn (bool val) |
|
void | SetStall (bool stall) |
|
void | SetStickyReturn (bool val) |
|
virtual void | SetToken (const std::string &str) |
|
void | SetWatts (watts_t watts) |
|
void | SetWorldfile (Worldfile *wf, int wf_entity) |
|
bool | Stalled () const |
|
void | Subscribe () |
|
void | Unsubscribe () |
|
virtual | ~Model () |
|
virtual void | AddChild (Model *mod) |
|
| Ancestor () |
|
void | ForEachDescendant (model_callback_t func, void *arg) |
|
std::vector< Model * > & | GetChildren () |
|
void * | GetProperty (std::string &key) |
|
virtual void | RemoveChild (Model *mod) |
|
void | SetProperty (std::string &key, void *value) |
|
const char * | Token () const |
|
const std::string & | TokenStr () const |
|
virtual | ~Ancestor () |
|
|
virtual void | Load () |
|
virtual void | Move () |
|
virtual void | Shutdown () |
|
virtual void | Startup () |
|
virtual void | Update () |
|
void | AppendTouchingModels (std::set< Model *> &touchers) |
|
void | CallUpdateCallbacks (void) |
|
virtual void | DataVisualize (Camera *cam) |
|
void | DataVisualizeTree (Camera *cam) |
|
virtual void | DrawBlocks () |
|
void | DrawBlocksTree () |
|
void | DrawBoundingBox () |
|
void | DrawBoundingBoxTree () |
|
void | DrawFlagList () |
|
void | DrawGrid () |
|
void | DrawImage (uint32_t texture_id, Camera *cam, float alpha, double width=1.0, double height=1.0) |
|
void | DrawOrigin () |
|
void | DrawOriginTree () |
|
virtual void | DrawPicker () |
|
void | DrawPose (Pose pose) |
|
virtual void | DrawSelected (void) |
|
virtual void | DrawStatus (Camera *cam) |
|
void | DrawStatusTree (Camera *cam) |
|
void | DrawTrailArrows () |
|
void | DrawTrailBlocks () |
|
void | DrawTrailFootprint () |
|
void | Map (unsigned int layer) |
|
void | Map () |
|
void | MapFromRoot (unsigned int layer) |
| Find the root model, and map/unmap the whole tree. More...
|
|
void | MapWithChildren (unsigned int layer) |
|
meters_t | ModelHeight () const |
|
void | PopCoords () |
|
void | PushLocalCoords () |
|
RaytraceResult | Raytrace (const Pose &pose, const meters_t range, const ray_test_func_t func, const void *arg, const bool ztest) |
|
void | Raytrace (const Pose &pose, const meters_t range, const radians_t fov, const ray_test_func_t func, const void *arg, const bool ztest, std::vector< RaytraceResult > &results) |
|
void | RegisterOption (Option *opt) |
|
Model * | TestCollision () |
|
void | UnMap (unsigned int layer) |
|
void | UnMap () |
|
void | UnMapFromRoot (unsigned int layer) |
|
void | UnMapWithChildren (unsigned int layer) |
|
virtual void | UpdateCharge () |
|
void | UpdateTrail () |
|
Ancestor & | Load (Worldfile *wf, int section) |
|
void | Save (Worldfile *wf, int section) |
|
ModelPosition class
Definition at line 2777 of file stage.hh.