Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
cartographer_rviz::DrawableSubmap Class Reference

#include <drawable_submap.h>

List of all members.

Signals

void RequestSucceeded ()

Public Member Functions

 DrawableSubmap (const ::cartographer::mapping::SubmapId &submap_id,::rviz::DisplayContext *display_context, Ogre::SceneNode *map_node,::rviz::Property *submap_category, bool visible, const bool pose_axes_visible, float pose_axes_length, float pose_axes_radius)
 DrawableSubmap (const DrawableSubmap &)
::cartographer::mapping::SubmapId id () const
bool MaybeFetchTexture (ros::ServiceClient *client)
DrawableSubmapoperator= (const DrawableSubmap &)
bool QueryInProgress ()
void set_pose_markers_visibility (const bool visibility)
void set_visibility (const bool visibility)
void SetAlpha (double current_tracking_z, float fade_out_distance_in_meters)
void SetSliceVisibility (size_t slice_index, bool visible)
void Update (const ::std_msgs::Header &header, const ::cartographer_ros_msgs::SubmapEntry &metadata)
int version () const
bool visibility () const
 ~DrawableSubmap () override

Private Slots

void TogglePoseMarkerVisibility ()
void ToggleVisibility ()
void UpdateSceneNode ()

Private Member Functions

::cartographer::transform::Rigid3d
pose_ 
GUARDED_BY (mutex_)
std::chrono::milliseconds
last_query_timestamp_ 
GUARDED_BY (mutex_)
bool query_in_progress_ GUARDED_BY (mutex_)
int metadata_version_ GUARDED_BY (mutex_)
std::unique_ptr
<::cartographer::io::SubmapTextures >
submap_textures_ 
GUARDED_BY (mutex_)

Private Attributes

float current_alpha_ = 0.f
::rviz::DisplayContext *const display_context_
const
::cartographer::mapping::SubmapId 
id_
absl::Mutex mutex_
std::vector< std::unique_ptr
< OgreSlice > > 
ogre_slices_
::rviz::Axes pose_axes_
bool pose_axes_visible_
std::future< void > rpc_request_future_
::rviz::MovableText submap_id_text_
Ogre::SceneNode *const submap_id_text_node_
Ogre::SceneNode *const submap_node_
std::unique_ptr
<::rviz::BoolProperty
visibility_

Detailed Description

Definition at line 46 of file drawable_submap.h.


Constructor & Destructor Documentation

cartographer_rviz::DrawableSubmap::DrawableSubmap ( const ::cartographer::mapping::SubmapId &  submap_id,
::rviz::DisplayContext display_context,
Ogre::SceneNode *  map_node,
::rviz::Property submap_category,
bool  visible,
const bool  pose_axes_visible,
float  pose_axes_length,
float  pose_axes_radius 
)

Definition at line 47 of file drawable_submap.cc.

Definition at line 88 of file drawable_submap.cc.


Member Function Documentation

::cartographer::transform::Rigid3d pose_ cartographer_rviz::DrawableSubmap::GUARDED_BY ( mutex_  ) [private]
std::chrono::milliseconds last_query_timestamp_ cartographer_rviz::DrawableSubmap::GUARDED_BY ( mutex_  ) [private]
bool query_in_progress_ cartographer_rviz::DrawableSubmap::GUARDED_BY ( mutex_  ) [private]
int metadata_version_ cartographer_rviz::DrawableSubmap::GUARDED_BY ( mutex_  ) [private]
std::unique_ptr<::cartographer::io::SubmapTextures> submap_textures_ cartographer_rviz::DrawableSubmap::GUARDED_BY ( mutex_  ) [private]
::cartographer::mapping::SubmapId cartographer_rviz::DrawableSubmap::id ( ) const [inline]

Definition at line 81 of file drawable_submap.h.

Definition at line 117 of file drawable_submap.cc.

DrawableSubmap& cartographer_rviz::DrawableSubmap::operator= ( const DrawableSubmap )

Definition at line 149 of file drawable_submap.cc.

void cartographer_rviz::DrawableSubmap::set_pose_markers_visibility ( const bool  visibility) [inline]

Definition at line 87 of file drawable_submap.h.

void cartographer_rviz::DrawableSubmap::set_visibility ( const bool  visibility) [inline]

Definition at line 84 of file drawable_submap.h.

void cartographer_rviz::DrawableSubmap::SetAlpha ( double  current_tracking_z,
float  fade_out_distance_in_meters 
)

Definition at line 154 of file drawable_submap.cc.

void cartographer_rviz::DrawableSubmap::SetSliceVisibility ( size_t  slice_index,
bool  visible 
)

Definition at line 175 of file drawable_submap.cc.

Definition at line 197 of file drawable_submap.cc.

Definition at line 190 of file drawable_submap.cc.

void cartographer_rviz::DrawableSubmap::Update ( const ::std_msgs::Header header,
const ::cartographer_ros_msgs::SubmapEntry &  metadata 
)

Definition at line 98 of file drawable_submap.cc.

Definition at line 180 of file drawable_submap.cc.

Definition at line 82 of file drawable_submap.h.

Definition at line 83 of file drawable_submap.h.


Member Data Documentation

Definition at line 120 of file drawable_submap.h.

Definition at line 106 of file drawable_submap.h.

const ::cartographer::mapping::SubmapId cartographer_rviz::DrawableSubmap::id_ [private]

Definition at line 103 of file drawable_submap.h.

Definition at line 105 of file drawable_submap.h.

std::vector<std::unique_ptr<OgreSlice> > cartographer_rviz::DrawableSubmap::ogre_slices_ [private]

Definition at line 109 of file drawable_submap.h.

Definition at line 111 of file drawable_submap.h.

Definition at line 112 of file drawable_submap.h.

Definition at line 117 of file drawable_submap.h.

Definition at line 113 of file drawable_submap.h.

Definition at line 108 of file drawable_submap.h.

Ogre::SceneNode* const cartographer_rviz::DrawableSubmap::submap_node_ [private]

Definition at line 107 of file drawable_submap.h.

Definition at line 121 of file drawable_submap.h.


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


cartographer_rviz
Author(s): The Cartographer Authors
autogenerated on Wed Jul 10 2019 04:10:34