Class PoseArrayDefaultVisualizer
Default visualizer for geometry_msgs/PoseArray messages. Draws coordinate-axis vectors for every pose in the array.
Inheritance
Inherited Members
Namespace: Unity.SimulationPro.Foundation.Visualizations
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
public class PoseArrayDefaultVisualizer : DrawingVisualizer<PoseArrayMsg>, IVisualFactory, IPriority
Methods
CreateGUI(PoseArrayMsg, MessageMetadata)
Creates a GUI callback that renders an Inspector panel for the message data.
Declaration
public override Action CreateGUI(PoseArrayMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| PoseArrayMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
Returns
| Type | Description |
|---|---|
| Action | An action that draws the GUI. |
Overrides
Draw(Drawing3d, PoseArrayMsg, MessageMetadata)
Draws a 3D visualization of the message data.
Declaration
public override void Draw(Drawing3d drawing, PoseArrayMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| Drawing3d | drawing | The 3D drawing context to render into. |
| PoseArrayMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
Overrides
Draw<C>(PoseArrayMsg, Drawing3d, float, bool)
Draws coordinate-axis vectors for each pose in the PoseArrayMsg.
Declaration
public static void Draw<C>(PoseArrayMsg message, Drawing3d drawing, float size = 0.1, bool drawUnityAxes = false) where C : ICoordinateSpace, new()
Parameters
| Type | Name | Description |
|---|---|---|
| PoseArrayMsg | message | The message data to visualize. |
| Drawing3d | drawing | The Drawing3d to draw into. |
| float | size | Number of elements along this dimension. |
| bool | drawUnityAxes | If |
Type Parameters
| Name | Description |
|---|---|
| C | The coordinate space of the message data. |