|
|
This class can be used to visualize object instances from working memory to ArViz. More...
#include <MemoryX/components/WorkingMemoryToArViz/ObjectInstancesToArViz.h>
Public Member Functions | |
| void | attachObjectToRobotNode (const memoryx::AttachObjectToRobotNodeInput &attachment) |
| void | detachObjectFromRobotNode (const memoryx::DetachObjectFromRobotNodeInput &detachment) |
| std::string | getFloorObjectFile () |
| void | initFromProxies (const PriorKnowledgeInterfacePrx &priorKnowledge, const WorkingMemoryInterfacePrx &workingMemory, const armarx::RobotStateComponentInterfacePrx &robotStateComponent, const std::vector< std::string > &datasets) |
| Set the proxies. | |
| armarx::viz::Object | makeFloorObject (const std::string &name="Floor") |
| armarx::viz::Polygon | makeFloorPolygon (const Eigen::Vector2f &extents={10000, 10000}, float height=0) |
| Make a polygon representing the floor. | |
| std::optional< armarx::viz::Object > | makeObject (const ObjectInstancePtr &object) |
Make a armarx::viz::Object from a memoryx::ObjectInstance. | |
| ObjectInstancesToArViz () | |
| void | setArViz (armarx::viz::Client arviz) |
| Set the ArViz client. | |
| void | updateFloorObject (float height=0) |
| Draw a the floor as a simox object. | |
| void | updateFloorPolygon (const Eigen::Vector2f &extents={10000, 10000}, float height=0) |
| Draw a the floor as a polygon. | |
| void | updateObjectClassBlackWhitelist (const armarx::BlackWhitelistUpdate &update) |
| void | updateObjects () |
| Query object instances and update their visualization. | |
| void | updateObjects (const std::vector< ObjectInstancePtr > &objectInstances) |
| Update the object instances' visualizations. | |
Public Attributes | |
| std::string | floorObjectFilename = "images/Floor20x20.xml" |
| std::string | layerNameFloor = "Floor" |
| std::string | layerNameObjects = "ObjectInstances" |
This class can be used to visualize object instances from working memory to ArViz.
| void attachObjectToRobotNode | ( | const memoryx::AttachObjectToRobotNodeInput & | attachment | ) |
| void detachObjectFromRobotNode | ( | const memoryx::DetachObjectFromRobotNodeInput & | detachment | ) |
| std::string getFloorObjectFile | ( | ) |
| void initFromProxies | ( | const PriorKnowledgeInterfacePrx & | priorKnowledge, |
| const WorkingMemoryInterfacePrx & | workingMemory, | ||
| const armarx::RobotStateComponentInterfacePrx & | robotStateComponent, | ||
| const std::vector< std::string > & | datasets ) |
Set the proxies.
| armarx::viz::Object makeFloorObject | ( | const std::string & | name = "Floor" | ) |
| armarx::viz::Polygon makeFloorPolygon | ( | const Eigen::Vector2f & | extents = {10000, 10000}, |
| float | height = 0 ) |
Make a polygon representing the floor.
| std::optional< armarx::viz::Object > makeObject | ( | const ObjectInstancePtr & | object | ) |
Make a armarx::viz::Object from a memoryx::ObjectInstance.
| void setArViz | ( | armarx::viz::Client | arviz | ) |
Set the ArViz client.
| void updateFloorObject | ( | float | height = 0 | ) |
Draw a the floor as a simox object.
makeFloorObject() | void updateFloorPolygon | ( | const Eigen::Vector2f & | extents = {10000, 10000}, |
| float | height = 0 ) |
Draw a the floor as a polygon.
makeFloorPolygon() | void updateObjectClassBlackWhitelist | ( | const armarx::BlackWhitelistUpdate & | update | ) |
| void updateObjects | ( | ) |
Query object instances and update their visualization.
| void updateObjects | ( | const std::vector< ObjectInstancePtr > & | objectInstances | ) |
Update the object instances' visualizations.
| std::string floorObjectFilename = "images/Floor20x20.xml" |
| std::string layerNameFloor = "Floor" |
| std::string layerNameObjects = "ObjectInstances" |