Displays a set of jlo objects. More...
#include <jlo_display_base.h>
Classes | |
struct | JloDescription |
Public Member Functions | |
virtual void | createProperties () |
template<typename itT > | |
std::list< std::pair < Ogre::SceneNode *, vision_msgs::partial_lo > > & | displayJloSet (itT start, itT end, bool render) |
virtual void | fixedFrameChanged () |
double | getAL () |
double | getAT () |
double | getCL () |
double | getCT () |
uint32_t | getKeep () |
bool | getSA () |
bool | getSC () |
bool | getST () |
const std::string & | getTopic () |
JloDisplayBase (const std::string &name, rviz::VisualizationManager *manager) | |
virtual void | processMessage ()=0 |
virtual void | reset () |
void | setAL (double axis_length) |
void | setAT (double axis_thick) |
void | setCL (double cov_length) |
void | setCT (double cov_thick) |
void | setKeep (uint32_t keep) |
void | setSA (bool show_axis) |
void | setSC (bool show_cov) |
void | setST (bool show_text) |
virtual void | setTopic (const std::string &topic) |
virtual void | targetFrameChanged () |
virtual void | update (float wall_dt, float ros_dt) |
virtual | ~JloDisplayBase () |
Protected Member Functions | |
void | clear () |
bool | GetJlo (unsigned long id, unsigned long parent_id, vision_msgs::partial_lo &lo) |
unsigned long | NameQueryJlo (std::string name) |
virtual void | onDisable () |
virtual void | onEnable () |
void | popJloSet () |
template<typename T > | |
void | setSceneNodePose (Ogre::SceneNode *scene_node, T mat, Ogre::Quaternion &orientation) |
Protected Attributes | |
double | axis_length_ |
rviz::FloatPropertyWPtr | axis_length_p_ |
double | axis_thickness_ |
rviz::FloatPropertyWPtr | axis_thickness_p_ |
double | cov_length_ |
rviz::FloatPropertyWPtr | cov_length_p_ |
double | cov_thickness_ |
rviz::FloatPropertyWPtr | cov_thickness_p_ |
rviz::CategoryPropertyWPtr | extended_props_p_ |
bool | inited_jlo |
ros::ServiceClient | jlo_client |
std::list< std::list < std::pair< Ogre::SceneNode *, vision_msgs::partial_lo > > > | jlo_nodes_ |
uint32_t | keep_ |
rviz::IntPropertyWPtr | keep_property_ |
bool | m_binited |
Ogre::SceneNode * | scene_node_ |
bool | show_axis_ |
rviz::BoolPropertyWPtr | show_axis_p_ |
bool | show_cov_ |
rviz::BoolPropertyWPtr | show_cov_p_ |
bool | show_text_ |
rviz::BoolPropertyWPtr | show_text_p_ |
std::string | topic_ |
rviz::ROSTopicStringPropertyWPtr | topic_property_ |
Displays a set of jlo objects.
Definition at line 65 of file jlo_display_base.h.
rviz_shows_cop::JloDisplayBase::JloDisplayBase | ( | const std::string & | name, |
rviz::VisualizationManager * | manager | ||
) |
Definition at line 44 of file jlo_display_base.cpp.
rviz_shows_cop::JloDisplayBase::~JloDisplayBase | ( | ) | [virtual] |
Definition at line 60 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::clear | ( | void | ) | [protected] |
Definition at line 66 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::createProperties | ( | ) | [virtual] |
Reimplemented in rviz_shows_cop::CopAnswerDisplay, and rviz_shows_cop::JloTopicDisplay.
Definition at line 238 of file jlo_display_base.cpp.
std::list< std::pair< Ogre::SceneNode *, vision_msgs::partial_lo > > & rviz_shows_cop::JloDisplayBase::displayJloSet | ( | itT | start, |
itT | end, | ||
bool | render = true |
||
) |
1 := /map
Position is relative but always in ogre coordinates
Definition at line 154 of file jlo_display_base.h.
void rviz_shows_cop::JloDisplayBase::fixedFrameChanged | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 108 of file jlo_display_base.cpp.
double rviz_shows_cop::JloDisplayBase::getAL | ( | ) | [inline] |
Definition at line 93 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::getAT | ( | ) | [inline] |
Definition at line 95 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::getCL | ( | ) | [inline] |
Definition at line 97 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::getCT | ( | ) | [inline] |
Definition at line 99 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::GetJlo | ( | unsigned long | id, |
unsigned long | parent_id, | ||
vision_msgs::partial_lo & | lo | ||
) | [protected] |
Definition at line 129 of file jlo_display_base.cpp.
uint32_t rviz_shows_cop::JloDisplayBase::getKeep | ( | ) | [inline] |
Definition at line 84 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::getSA | ( | ) | [inline] |
Definition at line 89 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::getSC | ( | ) | [inline] |
Definition at line 91 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::getST | ( | ) | [inline] |
Definition at line 87 of file jlo_display_base.h.
const std::string& rviz_shows_cop::JloDisplayBase::getTopic | ( | ) | [inline] |
Definition at line 78 of file jlo_display_base.h.
unsigned long rviz_shows_cop::JloDisplayBase::NameQueryJlo | ( | std::string | name | ) | [protected] |
Definition at line 155 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::onDisable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 101 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::onEnable | ( | ) | [protected, virtual] |
Reimplemented from rviz::Display.
Definition at line 96 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::popJloSet | ( | ) | [protected] |
Definition at line 118 of file jlo_display_base.cpp.
virtual void rviz_shows_cop::JloDisplayBase::processMessage | ( | ) | [pure virtual] |
Implemented in rviz_shows_cop::CopAnswerDisplay, and rviz_shows_cop::JloTopicDisplay.
void rviz_shows_cop::JloDisplayBase::reset | ( | ) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 183 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setAL | ( | double | axis_length | ) |
Definition at line 213 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setAT | ( | double | axis_thick | ) |
Definition at line 219 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setCL | ( | double | cov_length | ) |
Definition at line 225 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setCT | ( | double | cov_thick | ) |
Definition at line 231 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setKeep | ( | uint32_t | keep | ) |
Definition at line 87 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setSA | ( | bool | show_axis | ) |
Definition at line 200 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setSC | ( | bool | show_cov | ) |
Definition at line 207 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setSceneNodePose | ( | Ogre::SceneNode * | scene_node, |
T | mat, | ||
Ogre::Quaternion & | orientation | ||
) | [protected] |
Definition at line 254 of file jlo_display_base.h.
void rviz_shows_cop::JloDisplayBase::setST | ( | bool | show_text | ) |
Definition at line 193 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::setTopic | ( | const std::string & | topic | ) | [virtual] |
Reimplemented in rviz_shows_cop::JloTopicDisplay, and rviz_shows_cop::CopAnswerDisplay.
Definition at line 75 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::targetFrameChanged | ( | ) | [virtual] |
Definition at line 189 of file jlo_display_base.cpp.
void rviz_shows_cop::JloDisplayBase::update | ( | float | wall_dt, |
float | ros_dt | ||
) | [virtual] |
Reimplemented from rviz::Display.
Definition at line 114 of file jlo_display_base.cpp.
double rviz_shows_cop::JloDisplayBase::axis_length_ [protected] |
Definition at line 125 of file jlo_display_base.h.
rviz::FloatPropertyWPtr rviz_shows_cop::JloDisplayBase::axis_length_p_ [protected] |
Definition at line 140 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::axis_thickness_ [protected] |
Definition at line 126 of file jlo_display_base.h.
rviz::FloatPropertyWPtr rviz_shows_cop::JloDisplayBase::axis_thickness_p_ [protected] |
Definition at line 139 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::cov_length_ [protected] |
Definition at line 127 of file jlo_display_base.h.
rviz::FloatPropertyWPtr rviz_shows_cop::JloDisplayBase::cov_length_p_ [protected] |
Definition at line 141 of file jlo_display_base.h.
double rviz_shows_cop::JloDisplayBase::cov_thickness_ [protected] |
Definition at line 128 of file jlo_display_base.h.
rviz::FloatPropertyWPtr rviz_shows_cop::JloDisplayBase::cov_thickness_p_ [protected] |
Definition at line 142 of file jlo_display_base.h.
rviz::CategoryPropertyWPtr rviz_shows_cop::JloDisplayBase::extended_props_p_ [protected] |
Definition at line 135 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::inited_jlo [protected] |
Definition at line 144 of file jlo_display_base.h.
Definition at line 145 of file jlo_display_base.h.
std::list< std::list< std::pair< Ogre::SceneNode *, vision_msgs::partial_lo> > > rviz_shows_cop::JloDisplayBase::jlo_nodes_ [protected] |
Definition at line 130 of file jlo_display_base.h.
uint32_t rviz_shows_cop::JloDisplayBase::keep_ [protected] |
Definition at line 121 of file jlo_display_base.h.
rviz::IntPropertyWPtr rviz_shows_cop::JloDisplayBase::keep_property_ [protected] |
Definition at line 134 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::m_binited [protected] |
Definition at line 129 of file jlo_display_base.h.
Ogre::SceneNode* rviz_shows_cop::JloDisplayBase::scene_node_ [protected] |
Reimplemented from rviz::Display.
Definition at line 131 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::show_axis_ [protected] |
Definition at line 123 of file jlo_display_base.h.
rviz::BoolPropertyWPtr rviz_shows_cop::JloDisplayBase::show_axis_p_ [protected] |
Definition at line 137 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::show_cov_ [protected] |
Definition at line 124 of file jlo_display_base.h.
rviz::BoolPropertyWPtr rviz_shows_cop::JloDisplayBase::show_cov_p_ [protected] |
Definition at line 136 of file jlo_display_base.h.
bool rviz_shows_cop::JloDisplayBase::show_text_ [protected] |
Definition at line 122 of file jlo_display_base.h.
rviz::BoolPropertyWPtr rviz_shows_cop::JloDisplayBase::show_text_p_ [protected] |
Definition at line 138 of file jlo_display_base.h.
std::string rviz_shows_cop::JloDisplayBase::topic_ [protected] |
Definition at line 120 of file jlo_display_base.h.
rviz::ROSTopicStringPropertyWPtr rviz_shows_cop::JloDisplayBase::topic_property_ [protected] |
Definition at line 133 of file jlo_display_base.h.