C# Класс ROS_ImageWPF.MapControl

A WPF Control used for displaying of maps (occupancy grids) When added to a XAML file, the width of the map control needs to be set to the desired width, height will be set automatically to keep map aspect ratio
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
TopicProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
MapControl ( ) : System

Приватные методы

Метод Описание
DrawMap ( ) : void
MatchAspectRatio ( ) : void

Changes the Height of the control, so that it matches the aspect ratio of the map

SubscribeToMap ( string topic ) : void
createRGBA ( sbyte map ) : byte[]
waitThenSubscribe ( ) : void

Описание методов

MapControl() публичный Метод

public MapControl ( ) : System
Результат System

Описание свойств

TopicProperty публичное статическое свойство

public static DependencyProperty,System.Windows TopicProperty
Результат System.Windows.DependencyProperty