|
|
|
|
|
|
internal void InternalCleanup() => Cleanup(); |
|
|
|
internal void InternalVisualize() => OnVisualize(); |
|
|
|
|
|
|
|
bool m_ShowVisualizations; |
|
|
|
bool m_ShowVisualizationsForLabeler; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Turns on/off the labeler's realtime visualization capability. If a labeler does not support realtime
|
|
|
|
|
|
|
if (!supportsVisualization) |
|
|
|
return false; |
|
|
|
|
|
|
|
return perceptionCamera && perceptionCamera.showVisualizations; |
|
|
|
return perceptionCamera && perceptionCamera.showVisualizations && m_ShowVisualizationsForLabeler; |
|
|
|
if (value != m_ShowVisualizations) |
|
|
|
if (value != m_ShowVisualizationsForLabeler) |
|
|
|
m_ShowVisualizations = value; |
|
|
|
m_ShowVisualizationsForLabeler = value; |
|
|
|
OnVisualizerEnabledChanged(m_ShowVisualizations); |
|
|
|
OnVisualizerEnabledChanged(m_ShowVisualizationsForLabeler); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|