Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions
jsk_rviz_plugins::TorusArrayDisplay Class Reference

#include <torus_array_display.h>

Inheritance diagram for jsk_rviz_plugins::TorusArrayDisplay:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::shared_ptr
< rviz::Arrow > 
ArrowPtr
typedef std::shared_ptr
< rviz::MeshShape
ShapePtr

Public Member Functions

 TorusArrayDisplay ()
virtual ~TorusArrayDisplay ()

Protected Member Functions

void allocateShapes (const jsk_recognition_msgs::TorusArray::ConstPtr &msg)
void allocateShapes (const size_t num)
QColor getColor (size_t index)
virtual void onInitialize ()
virtual void reset ()

Protected Attributes

double alpha_
rviz::FloatPropertyalpha_property_
std::vector< Ogre::SceneNode * > arrow_nodes_
std::vector< ArrowPtrarrow_objects_
bool auto_color_
rviz::BoolPropertyauto_color_property_
QColor color_
rviz::ColorPropertycolor_property_
double normal_length_
rviz::FloatPropertynormal_length_property_
std::vector< ShapePtrshapes_
bool show_normal_
rviz::BoolPropertyshow_normal_property_
int uv_dimension_
rviz::IntPropertyuv_property_

Private Slots

void calcurateTriangleMesh (int large_dimension, int small_dimension, float large_radius, float small_radius, Ogre::Vector3 pos, Ogre::Quaternion q, std::vector< Triangle > &triangles, std::vector< Ogre::Vector3 > &vertices, std::vector< Ogre::Vector3 > &normals)
void updateAlpha ()
void updateAutoColor ()
void updateColor ()
void updateNormalLength ()
void updateShowNormal ()
void updateUVdimension ()

Private Member Functions

void processMessage (const jsk_recognition_msgs::TorusArray::ConstPtr &msg)

Detailed Description

Definition at line 59 of file torus_array_display.h.


Member Typedef Documentation

typedef std::shared_ptr<rviz::Arrow> jsk_rviz_plugins::TorusArrayDisplay::ArrowPtr

Definition at line 63 of file torus_array_display.h.

Definition at line 64 of file torus_array_display.h.


Constructor & Destructor Documentation

Definition at line 42 of file torus_array_display.cpp.

Definition at line 66 of file torus_array_display.cpp.


Member Function Documentation

void jsk_rviz_plugins::TorusArrayDisplay::allocateShapes ( const jsk_recognition_msgs::TorusArray::ConstPtr &  msg) [protected]

Definition at line 159 of file torus_array_display.cpp.

void jsk_rviz_plugins::TorusArrayDisplay::allocateShapes ( const size_t  num) [protected]

Definition at line 129 of file torus_array_display.cpp.

void jsk_rviz_plugins::TorusArrayDisplay::calcurateTriangleMesh ( int  large_dimension,
int  small_dimension,
float  large_radius,
float  small_radius,
Ogre::Vector3  pos,
Ogre::Quaternion  q,
std::vector< Triangle > &  triangles,
std::vector< Ogre::Vector3 > &  vertices,
std::vector< Ogre::Vector3 > &  normals 
) [private, slot]

Definition at line 171 of file torus_array_display.cpp.

QColor jsk_rviz_plugins::TorusArrayDisplay::getColor ( size_t  index) [protected]

Definition at line 76 of file torus_array_display.cpp.

void jsk_rviz_plugins::TorusArrayDisplay::processMessage ( const jsk_recognition_msgs::TorusArray::ConstPtr &  msg) [private]

Definition at line 252 of file torus_array_display.cpp.

void jsk_rviz_plugins::TorusArrayDisplay::reset ( ) [protected, virtual]

Definition at line 108 of file torus_array_display.cpp.

Definition at line 118 of file torus_array_display.cpp.

Definition at line 103 of file torus_array_display.cpp.

Definition at line 246 of file torus_array_display.cpp.

Definition at line 232 of file torus_array_display.cpp.

Definition at line 113 of file torus_array_display.cpp.


Member Data Documentation

Definition at line 80 of file torus_array_display.h.

Definition at line 74 of file torus_array_display.h.

std::vector<Ogre::SceneNode*> jsk_rviz_plugins::TorusArrayDisplay::arrow_nodes_ [protected]

Definition at line 85 of file torus_array_display.h.

Definition at line 86 of file torus_array_display.h.

Definition at line 81 of file torus_array_display.h.

Definition at line 76 of file torus_array_display.h.

Definition at line 79 of file torus_array_display.h.

Definition at line 73 of file torus_array_display.h.

Definition at line 83 of file torus_array_display.h.

Definition at line 78 of file torus_array_display.h.

Definition at line 87 of file torus_array_display.h.

Definition at line 82 of file torus_array_display.h.

Definition at line 77 of file torus_array_display.h.

Definition at line 84 of file torus_array_display.h.

Definition at line 75 of file torus_array_display.h.


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


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Wed May 1 2019 02:40:22