Beispiel #1
0
        public override void Draw(Drawing3d drawing, TwistWithCovarianceStampedMsg message, MessageMetadata meta)
        {
            drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
            var orig = origin == null ? Vector3.zero : origin.transform.position;

            TwistWithCovarianceDefaultVisualizer.Draw <FLU>(message.twist, drawing, SelectColor(m_Color, meta), orig, lengthScale, sphereRadius, thickness);
        }
 public override void Draw(Drawing3d drawing, Vector3StampedMsg message, MessageMetadata meta)
 {
     drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
     Vector3DefaultVisualizer.Draw <FLU>(message.vector, drawing, SelectColor(m_Color, meta), SelectLabel(m_Label, meta), m_Radius);
 }
 public override void Draw(Drawing3d drawing, WrenchStampedMsg message, MessageMetadata meta)
 {
     drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
     WrenchDefaultVisualizer.Draw <FLU>(message.wrench, drawing, SelectColor(m_Color, meta), origin.transform.position, lengthScale, sphereRadius, thickness);
 }
 public override void Draw(Drawing3d drawing, TransformStampedMsg message, MessageMetadata meta)
 {
     drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
     TransformDefaultVisualizer.Draw <FLU>(message.transform, drawing, m_Size, m_DrawUnityAxes);
     drawing.DrawLabel(SelectLabel(m_Label, meta), message.transform.translation.From <FLU>(), SelectColor(m_Color, meta), m_Size);
 }
 public override void Draw(Drawing3d drawing, QuaternionStampedMsg message, MessageMetadata meta)
 {
     drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
     QuaternionDefaultVisualizer.Draw <FLU>(message.quaternion, drawing, m_DrawAtPosition, m_Size, m_DrawUnityAxes);
     drawing.DrawLabel(SelectLabel(m_Label, meta), transform.position, SelectColor(m_Color, meta), m_Size);
 }
Beispiel #6
0
 public override void Draw(Drawing3d drawing, PolygonStampedMsg message, MessageMetadata meta)
 {
     drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
     PolygonDefaultVisualizer.Draw <FLU>(message.polygon, drawing, SelectColor(m_Color, meta), m_Thickness);
 }