47 #ifndef _MIRA_VISUALIZATIONTEXTJSON_H_ 48 #define _MIRA_VISUALIZATIONTEXTJSON_H_ 72 this->
mItem->template setStamped<T>(*data);
92 #define MIRA_TEXT_VISUALIZATION(className, type, channel, name, description, category) \ 93 class className : public VisualizationTextBase<type> \ 95 MIRA_META_OBJECT(className, \ 97 ("Description", description) \ 98 ("Category", category)) \ 101 VisualizationTextBase<type>(channel) \ 128 #define MIRA_JSON_VISUALIZATION(className, type, channel, name, description, category) \ 129 class className : public VisualizationTextJSONBase<type> \ 131 MIRA_META_OBJECT(className, \ 133 ("Description", description) \ 134 ("Category", category)) \ 137 VisualizationTextJSONBase<type>(channel) \ virtual void dataChanged(ChannelRead< T > data)
Definition: VisualizationTextJSON.h:69
Definition: VisualizationTextJSON.h:108
Definition: VisualizationTextBasic.h:60
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Contains toString and fromString functions for converting data types to strings and the other way rou...
An object that allows read access to data of a channel.
Definition: ChannelReadWrite.h:440
IVisualizationTextItem * mItem
Definition: VisualizationTextBasic.h:189
std::string toString(const T &value, int precision=-1)
Converts any data type to string (the data type must support the stream << operator).
Definition: ToString.h:256
virtual std::string defaultText()
Definition: VisualizationTextJSON.h:75
Definition: VisualizationTextView.h:192
virtual void setText(const std::string &text)=0
TypedDefaultTextVisualizationBase< T > Base
Definition: VisualizationTextJSON.h:111
VisualizationTextJSONBase(const std::string &channelName)
Definition: VisualizationTextJSON.h:113
uint mPrecision
Definition: VisualizationText.h:168
View for text visualizations.
VisualizationTextBase(const std::string &channelName)
Definition: VisualizationTextJSON.h:65
Definition: VisualizationTextJSON.h:60
VisualizationTextBasic< T > Base
Definition: VisualizationTextJSON.h:63
The framework that holds all manager classes and provides startup and shutdown of all framework relat...