visualization_msgs/ImageMarker Message

File: visualization_msgs/ImageMarker.msg

byte CIRCLE=0
byte LINE_STRIP=1
byte LINE_LIST=2
byte POLYGON=3
byte POINTS=4

byte ADD=0
byte REMOVE=1

Header header
string ns # namespace, used with id to form a unique id
int32 id           # unique id within the namespace
int32 type         # CIRCLE/LINE_STRIP/etc.
int32 action       # ADD/REMOVE
geometry_msgs/Point position # 2D, in pixel-coords
float32 scale   # the diameter for a circle, etc.
std_msgs/ColorRGBA outline_color
byte filled # whether to fill in the shape with color
std_msgs/ColorRGBA fill_color # color [0.0-1.0]
duration lifetime       # How long the object should last before being automatically deleted.  0 means forever


geometry_msgs/Point[] points # used for LINE_STRIP/LINE_LIST/POINTS/etc., 2D in pixel coords
std_msgs/ColorRGBA[] outline_colors # a color for each line, point, etc.

Expanded Definition

byte CIRCLE=0
byte LINE_STRIP=1
byte LINE_LIST=2
byte POLYGON=3
byte POINTS=4
byte ADD=0
byte REMOVE=1
Header header
    uint32 seq
    time stamp
    string frame_id
string ns
int32 id
int32 type
int32 action
geometry_msgs/Point position
    float64 x
    float64 y
    float64 z
float32 scale
std_msgs/ColorRGBA outline_color
    float32 r
    float32 g
    float32 b
    float32 a
byte filled
std_msgs/ColorRGBA fill_color
    float32 r
    float32 g
    float32 b
    float32 a
duration lifetime
geometry_msgs/Point[] points
    float64 x
    float64 y
    float64 z
std_msgs/ColorRGBA[] outline_colors
    float32 r
    float32 g
    float32 b
    float32 a