Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
mapviz_plugins::MultiresImagePlugin Class Reference

#include <multires_image_plugin.h>

Inheritance diagram for mapviz_plugins::MultiresImagePlugin:
Inheritance graph
[legend]

Public Member Functions

void Draw (double x, double y, double scale)
 
QWidget * GetConfigWidget (QWidget *parent)
 
bool Initialize (QGLWidget *canvas)
 
void LoadConfig (const YAML::Node &node, const std::string &path)
 
 MultiresImagePlugin ()
 
void SaveConfig (YAML::Emitter &emitter, const std::string &path)
 
void Shutdown ()
 
void Transform ()
 
virtual ~MultiresImagePlugin ()
 
- Public Member Functions inherited from mapviz::MapvizPlugin
virtual void ClearHistory ()
 
int DrawOrder () const
 
void DrawPlugin (double x, double y, double scale)
 
bool GetTransform (const ros::Time &stamp, swri_transform_util::Transform &transform, bool use_latest_transforms=true)
 
bool GetTransform (const std::string &source, const ros::Time &stamp, swri_transform_util::Transform &transform)
 
virtual bool Initialize (boost::shared_ptr< tf::TransformListener > tf_listener, swri_transform_util::TransformManagerPtr tf_manager, QGLWidget *canvas)
 
std::string Name () const
 
virtual void Paint (QPainter *painter, double x, double y, double scale)
 
void PaintPlugin (QPainter *painter, double x, double y, double scale)
 
void PrintMeasurements ()
 
void SetDrawOrder (int order)
 
void SetIcon (IconWidget *icon)
 
void SetName (const std::string &name)
 
virtual void SetNode (const ros::NodeHandle &node)
 
void SetTargetFrame (std::string frame_id)
 
void SetType (const std::string &type)
 
void SetUseLatestTransforms (bool value)
 
void SetVisible (bool visible)
 
std::string Type () const
 
bool Visible () const
 
virtual ~MapvizPlugin ()
 

Protected Slots

void AcceptConfiguration ()
 
void SelectFile ()
 
void SetXOffset (double long_offset)
 
void SetYOffset (double latitude_offset)
 

Protected Member Functions

void PrintError (const std::string &message)
 
void PrintInfo (const std::string &message)
 
void PrintWarning (const std::string &message)
 
- Protected Member Functions inherited from mapviz::MapvizPlugin
 MapvizPlugin ()
 

Private Member Functions

void GetCenterPoint (double x, double y)
 
boost::filesystem::path MakePathRelative (boost::filesystem::path path, boost::filesystem::path base)
 

Private Attributes

double center_x_
 
double center_y_
 
QWidget * config_widget_
 
swri_transform_util::Transform inverse_transform_
 
bool loaded_
 
double offset_x_
 
double offset_y_
 
multires_image::TileSettile_set_
 
MultiresViewtile_view_
 
swri_transform_util::Transform transform_
 
bool transformed_
 
Ui::multires_config ui_
 

Additional Inherited Members

- Public Slots inherited from mapviz::MapvizPlugin
virtual void DrawIcon ()
 
virtual bool SupportsPainting ()
 
- Signals inherited from mapviz::MapvizPlugin
void DrawOrderChanged (int draw_order)
 
void SizeChanged ()
 
void TargetFrameChanged (const std::string &target_frame)
 
void UseLatestTransformsChanged (bool use_latest_transforms)
 
void VisibleChanged (bool visible)
 
- Static Public Member Functions inherited from mapviz::MapvizPlugin
static void PrintErrorHelper (QLabel *status_label, const std::string &message, double throttle=0.0)
 
static void PrintInfoHelper (QLabel *status_label, const std::string &message, double throttle=0.0)
 
static void PrintWarningHelper (QLabel *status_label, const std::string &message, double throttle=0.0)
 
- Protected Attributes inherited from mapviz::MapvizPlugin
QGLWidget * canvas_
 
int draw_order_
 
IconWidgeticon_
 
bool initialized_
 
std::string name_
 
ros::NodeHandle node_
 
std::string source_frame_
 
std::string target_frame_
 
boost::shared_ptr< tf::TransformListenertf_
 
swri_transform_util::TransformManagerPtr tf_manager_
 
std::string type_
 
bool use_latest_transforms_
 
bool visible_
 

Detailed Description

Definition at line 56 of file multires_image_plugin.h.

Constructor & Destructor Documentation

mapviz_plugins::MultiresImagePlugin::MultiresImagePlugin ( )

Definition at line 50 of file multires_image_plugin.cpp.

mapviz_plugins::MultiresImagePlugin::~MultiresImagePlugin ( )
virtual

Definition at line 79 of file multires_image_plugin.cpp.

Member Function Documentation

void mapviz_plugins::MultiresImagePlugin::AcceptConfiguration ( )
protectedslot

Definition at line 121 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::Draw ( double  x,
double  y,
double  scale 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 213 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::GetCenterPoint ( double  x,
double  y 
)
private

Definition at line 205 of file multires_image_plugin.cpp.

QWidget * mapviz_plugins::MultiresImagePlugin::GetConfigWidget ( QWidget *  parent)
virtual

Reimplemented from mapviz::MapvizPlugin.

Definition at line 191 of file multires_image_plugin.cpp.

bool mapviz_plugins::MultiresImagePlugin::Initialize ( QGLWidget *  canvas)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 198 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::LoadConfig ( const YAML::Node &  node,
const std::string &  path 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 316 of file multires_image_plugin.cpp.

boost::filesystem::path mapviz_plugins::MultiresImagePlugin::MakePathRelative ( boost::filesystem::path  path,
boost::filesystem::path  base 
)
private

Definition at line 269 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::PrintError ( const std::string &  message)
protectedvirtual

Implements mapviz::MapvizPlugin.

Definition at line 85 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::PrintInfo ( const std::string &  message)
protectedvirtual

Implements mapviz::MapvizPlugin.

Definition at line 97 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::PrintWarning ( const std::string &  message)
protectedvirtual

Implements mapviz::MapvizPlugin.

Definition at line 109 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::SaveConfig ( YAML::Emitter &  emitter,
const std::string &  path 
)
virtual

Implements mapviz::MapvizPlugin.

Definition at line 348 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::SelectFile ( )
protectedslot

Definition at line 165 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::SetXOffset ( double  long_offset)
protectedslot

Definition at line 181 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::SetYOffset ( double  latitude_offset)
protectedslot

Definition at line 186 of file multires_image_plugin.cpp.

void mapviz_plugins::MultiresImagePlugin::Shutdown ( )
inlinevirtual

Implements mapviz::MapvizPlugin.

Definition at line 65 of file multires_image_plugin.h.

void mapviz_plugins::MultiresImagePlugin::Transform ( )
virtual

Implements mapviz::MapvizPlugin.

Definition at line 226 of file multires_image_plugin.cpp.

Member Data Documentation

double mapviz_plugins::MultiresImagePlugin::center_x_
private

Definition at line 89 of file multires_image_plugin.h.

double mapviz_plugins::MultiresImagePlugin::center_y_
private

Definition at line 90 of file multires_image_plugin.h.

QWidget* mapviz_plugins::MultiresImagePlugin::config_widget_
private

Definition at line 98 of file multires_image_plugin.h.

swri_transform_util::Transform mapviz_plugins::MultiresImagePlugin::inverse_transform_
private

Definition at line 101 of file multires_image_plugin.h.

bool mapviz_plugins::MultiresImagePlugin::loaded_
private

Definition at line 88 of file multires_image_plugin.h.

double mapviz_plugins::MultiresImagePlugin::offset_x_
private

Definition at line 91 of file multires_image_plugin.h.

double mapviz_plugins::MultiresImagePlugin::offset_y_
private

Definition at line 92 of file multires_image_plugin.h.

multires_image::TileSet* mapviz_plugins::MultiresImagePlugin::tile_set_
private

Definition at line 94 of file multires_image_plugin.h.

MultiresView* mapviz_plugins::MultiresImagePlugin::tile_view_
private

Definition at line 95 of file multires_image_plugin.h.

swri_transform_util::Transform mapviz_plugins::MultiresImagePlugin::transform_
private

Definition at line 100 of file multires_image_plugin.h.

bool mapviz_plugins::MultiresImagePlugin::transformed_
private

Definition at line 103 of file multires_image_plugin.h.

Ui::multires_config mapviz_plugins::MultiresImagePlugin::ui_
private

Definition at line 97 of file multires_image_plugin.h.


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


multires_image
Author(s): Marc Alban
autogenerated on Fri Mar 19 2021 02:44:42