normal_visual.h
Go to the documentation of this file.
1 // -*- mode:c++ -*-
2 #ifndef NORMAL_VISUAL_H
3 #define NORMAL_VISUAL_H
4 
5 #include <OGRE/OgreVector3.h>
6 #include <OGRE/OgreSceneNode.h>
7 #include <OGRE/OgreSceneManager.h>
8 
10 #include <geometry_msgs/Vector3.h>
11 #include <sensor_msgs/PointCloud2.h>
12 #include <ros/ros.h>
13 
14 namespace jsk_rviz_plugins
15 {
16 
18  {
19  public:
20  NormalVisual( Ogre::SceneManager* scene_manager, Ogre::SceneNode* parent_node );
21 
22  virtual ~NormalVisual();
23 
24  void setValues( float x, float y, float z, float normal_x, float normal_y, float normal_z);
25  void setFramePosition( const Ogre::Vector3& position );
26  void setFrameOrientation( const Ogre::Quaternion& orientation );
27  void setColor( float r, float g, float b, float a );
28  void setScale( float scale );
29 
30  private:
31 #if ROS_VERSION_MINIMUM(1,12,0)
32  std::shared_ptr<rviz::Arrow> normal_arrow_;
33 #else
35 #endif
36  Ogre::SceneNode* frame_node_;
37  Ogre::SceneManager* scene_manager_;
38  };
39 }
40 #endif
jsk_rviz_plugins::NormalVisual::scene_manager_
Ogre::SceneManager * scene_manager_
Definition: normal_visual.h:37
contact_state_marker.scale
scale
Definition: contact_state_marker.py:91
boost::shared_ptr< rviz::Arrow >
ros.h
bounding_box_sample.z
z
Definition: bounding_box_sample.py:28
jsk_rviz_plugins::NormalVisual::frame_node_
Ogre::SceneNode * frame_node_
Definition: normal_visual.h:36
jsk_rviz_plugins::NormalVisual::~NormalVisual
virtual ~NormalVisual()
Definition: normal_visual.cpp:14
jsk_rviz_plugins::NormalVisual::NormalVisual
NormalVisual(Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node)
Definition: normal_visual.cpp:7
jsk_rviz_plugins::NormalVisual::setColor
void setColor(float r, float g, float b, float a)
Definition: normal_visual.cpp:43
jsk_rviz_plugins::NormalVisual::setScale
void setScale(float scale)
Definition: normal_visual.cpp:48
jsk_rviz_plugins::NormalVisual
Definition: normal_visual.h:17
overlay_menu_sample.b
b
Definition: overlay_menu_sample.py:20
jsk_rviz_plugins::NormalVisual::setFrameOrientation
void setFrameOrientation(const Ogre::Quaternion &orientation)
Definition: normal_visual.cpp:38
bounding_box_sample.x
x
Definition: bounding_box_sample.py:26
bounding_box_sample.r
r
Definition: bounding_box_sample.py:10
arrow.h
bounding_box_sample.y
y
Definition: bounding_box_sample.py:27
overlay_menu_sample.g
g
Definition: overlay_menu_sample.py:19
jsk_rviz_plugins::NormalVisual::setValues
void setValues(float x, float y, float z, float normal_x, float normal_y, float normal_z)
Definition: normal_visual.cpp:19
jsk_rviz_plugins::NormalVisual::setFramePosition
void setFramePosition(const Ogre::Vector3 &position)
Definition: normal_visual.cpp:33
jsk_rviz_plugins::NormalVisual::normal_arrow_
boost::shared_ptr< rviz::Arrow > normal_arrow_
Definition: normal_visual.h:34
jsk_rviz_plugins
Definition: __init__.py:1


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Fri Aug 2 2024 08:50:14