Class CameraInfoDefaultVisualizer
Default visualizer for sensor_msgs/CameraInfo messages. Displays camera intrinsic matrices and, when a region of interest is active, renders a cropped texture from a companion image topic.
Inheritance
CameraInfoDefaultVisualizer
Inherited Members
Object.GetEntityId()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.SimulationPro.Foundation.Visualizations
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
public class CameraInfoDefaultVisualizer : TextureVisualizer<CameraInfoMsg>, IVisualFactory, IPriority
Fields
ImageTopic
The ImageTopic.
Declaration
[SerializeField]
public string ImageTopic
Field Value
| Type | Description |
|---|---|
| string |
Methods
CreateGUI(CameraInfoMsg, MessageMetadata, Texture2D)
Creates a GUI callback that renders an Inspector panel for the message data.
Declaration
public override Action CreateGUI(CameraInfoMsg message, MessageMetadata meta, Texture2D tex)
Parameters
| Type | Name | Description |
|---|---|---|
| CameraInfoMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
| Texture2D | tex | The tex. |
Returns
| Type | Description |
|---|---|
| Action | An action that draws the GUI. |
Overrides
CreateTexture(CameraInfoMsg)
CreateTexture method.
Declaration
public override Texture2D CreateTexture(CameraInfoMsg message)
Parameters
| Type | Name | Description |
|---|---|---|
| CameraInfoMsg | message | The message data to visualize. |
Returns
| Type | Description |
|---|---|
| Texture2D | The result. |