Class MultiEchoLaserScanDefaultVisualizer
Default visualizer for sensor_msgs/MultiEchoLaserScan messages. Uses settings from MultiEchoLaserScanVisualizerSettings to render multiple echo returns as a point cloud.
Inheritance
Inherited Members
Namespace: Global Namespace
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
public class MultiEchoLaserScanDefaultVisualizer : DrawingVisualizerWithSettings<MultiEchoLaserScanMsg, MultiEchoLaserScanVisualizerSettings>, IVisualFactory, IPriority
Properties
DefaultScriptableObjectPath
The DefaultScriptableObjectPath.
Declaration
public override string DefaultScriptableObjectPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Draw(Drawing3d, MultiEchoLaserScanMsg, MessageMetadata)
Draws a 3D visualization of the message data.
Declaration
public override void Draw(Drawing3d drawing, MultiEchoLaserScanMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| Drawing3d | drawing | The 3D drawing context to render into. |
| MultiEchoLaserScanMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
Overrides
Draw<C>(MultiEchoLaserScanMsg, Drawing3d, MultiEchoLaserScanVisualizerSettings)
Draws all echo returns as a point cloud added to the given Drawing3d.
Declaration
public static void Draw<C>(MultiEchoLaserScanMsg message, Drawing3d drawing, MultiEchoLaserScanVisualizerSettings settings) where C : ICoordinateSpace, new()
Parameters
| Type | Name | Description |
|---|---|---|
| MultiEchoLaserScanMsg | message | The multi-echo laser scan message to visualize. |
| Drawing3d | drawing | The Drawing3d to draw into. |
| MultiEchoLaserScanVisualizerSettings | settings | The settings that control point size and intensity-based sizing. |
Type Parameters
| Name | Description |
|---|---|
| C | The coordinate space of the scan data. |
Draw<C>(MultiEchoLaserScanMsg, PointCloudDrawing, MultiEchoLaserScanVisualizerSettings)
Populates an existing PointCloudDrawing with all echo returns from the scan message.
Declaration
public static void Draw<C>(MultiEchoLaserScanMsg message, PointCloudDrawing pointCloud, MultiEchoLaserScanVisualizerSettings settings) where C : ICoordinateSpace, new()
Parameters
| Type | Name | Description |
|---|---|---|
| MultiEchoLaserScanMsg | message | The multi-echo laser scan message to visualize. |
| PointCloudDrawing | pointCloud | The PointCloudDrawing to add points to. |
| MultiEchoLaserScanVisualizerSettings | settings | The settings that control point size and intensity-based sizing. |
Type Parameters
| Name | Description |
|---|---|
| C | The coordinate space of the scan data. |