示例#1
0
 public ImageMarker(Header header, string ns, int id, int type, int action, Geometry.Point position, float scale, Std.ColorRGBA outline_color, byte filled, Std.ColorRGBA fill_color, Duration lifetime, Geometry.Point[] points, Std.ColorRGBA[] 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;
 }
示例#2
0
        //  a color for each line, point, etc.

        public ImageMarker()
        {
            this.header         = new Header();
            this.ns             = "";
            this.id             = 0;
            this.type           = 0;
            this.action         = 0;
            this.position       = new Geometry.Point();
            this.scale          = 0.0f;
            this.outline_color  = new Std.ColorRGBA();
            this.filled         = 0;
            this.fill_color     = new Std.ColorRGBA();
            this.lifetime       = new Duration();
            this.points         = new Geometry.Point[0];
            this.outline_colors = new Std.ColorRGBA[0];
        }
示例#3
0
 public Marker(Header header, string ns, int id, int type, int action, Geometry.Pose pose, Geometry.Vector3 scale, Std.ColorRGBA color, Duration lifetime, bool frame_locked, Geometry.Point[] points, Std.ColorRGBA[] 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;
 }
示例#4
0
 public Marker()
 {
     this.header        = new Header();
     this.ns            = "";
     this.id            = 0;
     this.type          = 0;
     this.action        = 0;
     this.pose          = new Geometry.Pose();
     this.scale         = new Geometry.Vector3();
     this.color         = new Std.ColorRGBA();
     this.lifetime      = new Duration();
     this.frame_locked  = false;
     this.points        = new Geometry.Point[0];
     this.colors        = new Std.ColorRGBA[0];
     this.text          = "";
     this.mesh_resource = "";
     this.mesh_use_embedded_materials = false;
 }