/// <summary> Constructor for empty message. </summary> public Detection3D() { Results = System.Array.Empty <ObjectHypothesisWithPose>(); Bbox = new BoundingBox3D(); SourceCloud = new SensorMsgs.PointCloud2(); TrackingId = string.Empty; }
/// <summary> Constructor with buffer. </summary> internal ObjectInformation(ref Buffer b) { Name = b.DeserializeString(); GroundTruthMesh = new ShapeMsgs.Mesh(ref b); GroundTruthPointCloud = new SensorMsgs.PointCloud2(ref b); }
/// <summary> Constructor for empty message. </summary> public ObjectInformation() { Name = string.Empty; GroundTruthMesh = new ShapeMsgs.Mesh(); GroundTruthPointCloud = new SensorMsgs.PointCloud2(); }
/// <summary> Explicit constructor. </summary> public ObjectInformation(string Name, ShapeMsgs.Mesh GroundTruthMesh, SensorMsgs.PointCloud2 GroundTruthPointCloud) { this.Name = Name; this.GroundTruthMesh = GroundTruthMesh; this.GroundTruthPointCloud = GroundTruthPointCloud; }
/// <summary> Constructor for empty message. </summary> public Classification3D() { Results = System.Array.Empty <ObjectHypothesis>(); SourceCloud = new SensorMsgs.PointCloud2(); }