|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RrtWorkspaceVisualization (VirtualRobot::RobotPtr robot, CSpacePtr cspace, const std::string &TCPName) |
|
| RrtWorkspaceVisualization (VirtualRobot::RobotPtr robot, VirtualRobot::RobotNodeSetPtr robotNodeSet, const std::string &TCPName) |
|
virtual | ~RrtWorkspaceVisualization () |
|
virtual void | reset () |
|
void | setTCPName (const std::string TCPName) |
|
virtual bool | addCSpacePath (CSpacePathPtr path, RrtWorkspaceVisualization::ColorSet colorSet=eBlue)=0 |
|
virtual void | setPathStyle (float lineSize=4.0f, float nodeSize=15.0f, float renderComplexity=1.0f) |
|
virtual bool | addTree (CSpaceTreePtr tree, RrtWorkspaceVisualization::ColorSet colorSet=eRed)=0 |
|
virtual void | setTreeStyle (float lineSize=1.0f, float nodeSize=15.0f, float renderComplexity=0.1f) |
|
virtual bool | addConfiguration (const Eigen::VectorXf &c, RrtWorkspaceVisualization::ColorSet colorSet=eGreen, float nodeSizeFactor=1.0f)=0 |
|
virtual void | setCustomColor (float nodeR, float nodeG, float nodeB, float lineR=0.5f, float lineG=0.5f, float lineB=0.5f) |
|
virtual void | colorizeTreeNodes (int status, ColorSet colorSet) |
|
A visualization of an RRT search tree.
- See also
- CoinRrtWorkspaceVisualization
◆ ColorSet
Enumerator |
---|
eRed | |
eGreen | |
eBlue | |
eCustom | |
◆ RrtWorkspaceVisualization() [1/2]
Constructor Robot must have a node with name TCPName. The visualizations are build by determining the TCP's position in workspace according to the configurations of a path or tree .
◆ RrtWorkspaceVisualization() [2/2]
◆ ~RrtWorkspaceVisualization()
Saba::RrtWorkspaceVisualization::~RrtWorkspaceVisualization |
( |
| ) |
|
|
virtualdefault |
◆ addConfiguration()
◆ addCSpacePath()
◆ addTree()
◆ colorizeTreeNodes()
void Saba::RrtWorkspaceVisualization::colorizeTreeNodes |
( |
int |
status, |
|
|
ColorSet |
colorSet |
|
) |
| |
|
virtual |
Set tree nodes with status flag equal to given parameter to the specified color.
◆ init()
void Saba::RrtWorkspaceVisualization::init |
( |
| ) |
|
|
protected |
◆ reset()
void Saba::RrtWorkspaceVisualization::reset |
( |
| ) |
|
|
virtual |
◆ setCustomColor()
void Saba::RrtWorkspaceVisualization::setCustomColor |
( |
float |
nodeR, |
|
|
float |
nodeG, |
|
|
float |
nodeB, |
|
|
float |
lineR = 0.5f , |
|
|
float |
lineG = 0.5f , |
|
|
float |
lineB = 0.5f |
|
) |
| |
|
virtual |
Set the custom line and node color. Does not affect already added trees or paths.
◆ setPathStyle()
void Saba::RrtWorkspaceVisualization::setPathStyle |
( |
float |
lineSize = 4.0f , |
|
|
float |
nodeSize = 15.0f , |
|
|
float |
renderComplexity = 1.0f |
|
) |
| |
|
virtual |
◆ setTCPName()
void Saba::RrtWorkspaceVisualization::setTCPName |
( |
const std::string |
TCPName | ) |
|
Set name of TCP joint. Does not affect already added paths or trees.
◆ setTreeStyle()
void Saba::RrtWorkspaceVisualization::setTreeStyle |
( |
float |
lineSize = 1.0f , |
|
|
float |
nodeSize = 15.0f , |
|
|
float |
renderComplexity = 0.1f |
|
) |
| |
|
virtual |
◆ colors
◆ cspace
CSpacePtr Saba::RrtWorkspaceVisualization::cspace |
|
protected |
◆ pathLineSize
float Saba::RrtWorkspaceVisualization::pathLineSize |
|
protected |
◆ pathNodeSize
float Saba::RrtWorkspaceVisualization::pathNodeSize |
|
protected |
◆ pathRenderComplexity
float Saba::RrtWorkspaceVisualization::pathRenderComplexity |
|
protected |
◆ robot
◆ robotNodeSet
◆ TCPName
std::string Saba::RrtWorkspaceVisualization::TCPName |
|
protected |
◆ TCPNode
◆ treeLineSize
float Saba::RrtWorkspaceVisualization::treeLineSize |
|
protected |
◆ treeNodeSize
float Saba::RrtWorkspaceVisualization::treeNodeSize |
|
protected |
◆ treeNodeStatusColor
std::map<int, ColorSet> Saba::RrtWorkspaceVisualization::treeNodeStatusColor |
|
protected |
◆ treeRenderComplexity
float Saba::RrtWorkspaceVisualization::treeRenderComplexity |
|
protected |