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 boost::shared_ptr
< rviz::Arrow > 
ArrowPtr
typedef boost::shared_ptr
< rviz::MeshShape
ShapePtr

Public Member Functions

 TorusArrayDisplay ()
virtual ~TorusArrayDisplay ()

Protected Member Functions

void allocateShapes (int 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 57 of file torus_array_display.h.


Member Typedef Documentation

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

Definition at line 61 of file torus_array_display.h.

Definition at line 62 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

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 158 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 239 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 233 of file torus_array_display.cpp.

Definition at line 219 of file torus_array_display.cpp.

Definition at line 113 of file torus_array_display.cpp.


Member Data Documentation

Definition at line 77 of file torus_array_display.h.

Definition at line 71 of file torus_array_display.h.

Definition at line 82 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 73 of file torus_array_display.h.

Definition at line 76 of file torus_array_display.h.

Definition at line 70 of file torus_array_display.h.

Definition at line 80 of file torus_array_display.h.

Definition at line 75 of file torus_array_display.h.

Definition at line 84 of file torus_array_display.h.

Definition at line 79 of file torus_array_display.h.

Definition at line 74 of file torus_array_display.h.

Definition at line 81 of file torus_array_display.h.

Definition at line 72 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 Sun Sep 13 2015 22:29:04