ThreeDPlotWidget
ThreeDPlotWidget
Main widget for 3D plot visualization.
#include <3DPlotWidget.hpp>
Inherits from QWidget
Public Signals
| Name | |
|---|---|
| void | timePositionSelected(TimePosition position) Emitted when a time position is selected in the view. |
Public Functions
| Name | |
|---|---|
| ThreeDPlotWidget(std::shared_ptr< DataManager > data_manager, QWidget * parent =[nullptr]) Construct a ThreeDPlotWidget. |
|
| ~ThreeDPlotWidget() override | |
| void | setState(std::shared_ptr< ThreeDPlotState > state) Set the ThreeDPlotState for this widget. |
| std::shared_ptr< ThreeDPlotState > | state() const Get the current ThreeDPlotState (const). |
| ThreeDPlotState * | state() Get mutable state access. |
| void | _onTimeChanged(const TimePosition & position) Handle time changes from EditorRegistry. |
Protected Functions
| Name | |
|---|---|
| void | resizeEvent(QResizeEvent * event) override |
Public Signals Documentation
signal timePositionSelected
void timePositionSelected(
TimePosition position
)Emitted when a time position is selected in the view.
Parameters:
- position TimePosition to navigate to
Public Functions Documentation
function ThreeDPlotWidget
ThreeDPlotWidget(
std::shared_ptr< DataManager > data_manager,
QWidget * parent =nullptr
)Construct a ThreeDPlotWidget.
Parameters:
- data_manager Shared DataManager for data access
- parent Parent widget
function ~ThreeDPlotWidget
~ThreeDPlotWidget() overridefunction setState
void setState(
std::shared_ptr< ThreeDPlotState > state
)Set the ThreeDPlotState for this widget.
Parameters:
- state Shared pointer to the state object
The state manages all serializable settings. This widget shares the state with the properties widget.
function state
inline std::shared_ptr< ThreeDPlotState > state() constGet the current ThreeDPlotState (const).
Return: Shared pointer to the state object
function state
ThreeDPlotState * state()Get mutable state access.
Return: Raw pointer to state for modification
function _onTimeChanged
void _onTimeChanged(
const TimePosition & position
)Handle time changes from EditorRegistry.
Parameters:
- position The new TimePosition
Updates the plot when time changes come from other sources (e.g., user scrubs through time via TimeScrollBar).
Protected Functions Documentation
function resizeEvent
void resizeEvent(
QResizeEvent * event
) overrideUpdated on 2026-11-13 at 20:25:39 +0000