Esempio n. 1
0
 private ImageMarkerMsg(MessageDeserializer deserializer)
 {
     this.header = Std.HeaderMsg.Deserialize(deserializer);
     deserializer.Read(out this.ns);
     deserializer.Read(out this.id);
     deserializer.Read(out this.type);
     deserializer.Read(out this.action);
     this.position = Geometry.PointMsg.Deserialize(deserializer);
     deserializer.Read(out this.scale);
     this.outline_color = Std.ColorRGBAMsg.Deserialize(deserializer);
     deserializer.Read(out this.filled);
     this.fill_color = Std.ColorRGBAMsg.Deserialize(deserializer);
     this.lifetime   = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
     deserializer.Read(out this.points, Geometry.PointMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.outline_colors, Std.ColorRGBAMsg.Deserialize, deserializer.ReadLength());
 }
Esempio n. 2
0
 public ImageMarkerMsg(Std.HeaderMsg header, string ns, int id, int type, int action, Geometry.PointMsg position, float scale, Std.ColorRGBAMsg outline_color, byte filled, Std.ColorRGBAMsg fill_color, BuiltinInterfaces.DurationMsg lifetime, Geometry.PointMsg[] points, Std.ColorRGBAMsg[] outline_colors)
 {
     this.header         = header;
     this.ns             = ns;
     this.id             = id;
     this.type           = type;
     this.action         = action;
     this.position       = position;
     this.scale          = scale;
     this.outline_color  = outline_color;
     this.filled         = filled;
     this.fill_color     = fill_color;
     this.lifetime       = lifetime;
     this.points         = points;
     this.outline_colors = outline_colors;
 }
Esempio n. 3
0
 public ImageMarkerMsg()
 {
     this.header         = new Std.HeaderMsg();
     this.ns             = "";
     this.id             = 0;
     this.type           = 0;
     this.action         = 0;
     this.position       = new Geometry.PointMsg();
     this.scale          = 0.0f;
     this.outline_color  = new Std.ColorRGBAMsg();
     this.filled         = 0;
     this.fill_color     = new Std.ColorRGBAMsg();
     this.lifetime       = new BuiltinInterfaces.DurationMsg();
     this.points         = new Geometry.PointMsg[0];
     this.outline_colors = new Std.ColorRGBAMsg[0];
 }
Esempio n. 4
0
 public MarkerMsg(Std.HeaderMsg header, string ns, int id, int type, int action, Geometry.PoseMsg pose, Geometry.Vector3Msg scale, Std.ColorRGBAMsg color, BuiltinInterfaces.DurationMsg lifetime, bool frame_locked, Geometry.PointMsg[] points, Std.ColorRGBAMsg[] colors, string text, string mesh_resource, bool mesh_use_embedded_materials)
 {
     this.header        = header;
     this.ns            = ns;
     this.id            = id;
     this.type          = type;
     this.action        = action;
     this.pose          = pose;
     this.scale         = scale;
     this.color         = color;
     this.lifetime      = lifetime;
     this.frame_locked  = frame_locked;
     this.points        = points;
     this.colors        = colors;
     this.text          = text;
     this.mesh_resource = mesh_resource;
     this.mesh_use_embedded_materials = mesh_use_embedded_materials;
 }
Esempio n. 5
0
 public MarkerMsg()
 {
     this.header        = new Std.HeaderMsg();
     this.ns            = "";
     this.id            = 0;
     this.type          = 0;
     this.action        = 0;
     this.pose          = new Geometry.PoseMsg();
     this.scale         = new Geometry.Vector3Msg();
     this.color         = new Std.ColorRGBAMsg();
     this.lifetime      = new BuiltinInterfaces.DurationMsg();
     this.frame_locked  = false;
     this.points        = new Geometry.PointMsg[0];
     this.colors        = new Std.ColorRGBAMsg[0];
     this.text          = "";
     this.mesh_resource = "";
     this.mesh_use_embedded_materials = false;
 }
Esempio n. 6
0
 private MarkerMsg(MessageDeserializer deserializer)
 {
     this.header = Std.HeaderMsg.Deserialize(deserializer);
     deserializer.Read(out this.ns);
     deserializer.Read(out this.id);
     deserializer.Read(out this.type);
     deserializer.Read(out this.action);
     this.pose     = Geometry.PoseMsg.Deserialize(deserializer);
     this.scale    = Geometry.Vector3Msg.Deserialize(deserializer);
     this.color    = Std.ColorRGBAMsg.Deserialize(deserializer);
     this.lifetime = BuiltinInterfaces.DurationMsg.Deserialize(deserializer);
     deserializer.Read(out this.frame_locked);
     deserializer.Read(out this.points, Geometry.PointMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.colors, Std.ColorRGBAMsg.Deserialize, deserializer.ReadLength());
     deserializer.Read(out this.text);
     deserializer.Read(out this.mesh_resource);
     deserializer.Read(out this.mesh_use_embedded_materials);
 }