Classes | Public Member Functions | Protected Member Functions | Protected Attributes
rviz_shows_cop::JloDisplayBase Class Reference

Displays a set of jlo objects. More...

#include <jlo_display_base.h>

Inheritance diagram for rviz_shows_cop::JloDisplayBase:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Displays a set of jlo objects.

Definition at line 65 of file jlo_display_base.h.


Constructor & Destructor Documentation

rviz_shows_cop::JloDisplayBase::JloDisplayBase ( const std::string &  name,
rviz::VisualizationManager manager 
)

Definition at line 44 of file jlo_display_base.cpp.

Definition at line 60 of file jlo_display_base.cpp.


Member Function Documentation

void rviz_shows_cop::JloDisplayBase::clear ( void  ) [protected]

Definition at line 66 of file jlo_display_base.cpp.

template<typename itT >
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.

Reimplemented from rviz::Display.

Definition at line 108 of file jlo_display_base.cpp.

Definition at line 93 of file jlo_display_base.h.

Definition at line 95 of file jlo_display_base.h.

Definition at line 97 of file jlo_display_base.h.

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.

Definition at line 84 of file jlo_display_base.h.

Definition at line 89 of file jlo_display_base.h.

Definition at line 91 of file jlo_display_base.h.

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.

Definition at line 118 of file jlo_display_base.cpp.

virtual void rviz_shows_cop::JloDisplayBase::processMessage ( ) [pure 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.

Definition at line 200 of file jlo_display_base.cpp.

Definition at line 207 of file jlo_display_base.cpp.

template<typename T >
void rviz_shows_cop::JloDisplayBase::setSceneNodePose ( Ogre::SceneNode *  scene_node,
mat,
Ogre::Quaternion &  orientation 
) [protected]

Definition at line 254 of file jlo_display_base.h.

Definition at line 193 of file jlo_display_base.cpp.

void rviz_shows_cop::JloDisplayBase::setTopic ( const std::string &  topic) [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.


Member Data Documentation

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.


The documentation for this class was generated from the following files:


cop_rviz_plugin
Author(s): U. Klank, Josh Faust
autogenerated on Mon Oct 6 2014 08:22:39