Class UpdateProxyScene#
Defined in File UpdateProxyScene.h
Inheritance Relationships#
Base Type#
public Karana::Models::KModel< UpdateProxyScene >(Template Class KModel)
Class Documentation#
-
class UpdateProxyScene : public Karana::Models::KModel<UpdateProxyScene>#
The UpdateProxyScene model updates the visualization at each postHop.
Public Functions
-
UpdateProxyScene(std::string_view name, const kc::ks_ptr<kd::StatePropagator> &sp, const kc::ks_ptr<ks::ProxyScene> &scene)#
Constructor.
- Parameters:
name – The name of the model.
sp – The StatePropagator to register this model with.
scene – The ProxyScene to call update on.
-
~UpdateProxyScene()#
Destructor for UpdateProxyScene.
-
void postHop(const km::Ktime &t, const km::Vec &x)#
Update the ProxyScene.
- Parameters:
t – Current time. Not used.
x – Current state. Not used.
Public Static Functions
-
static kc::ks_ptr<UpdateProxyScene> create(std::string_view name, const kc::ks_ptr<kd::StatePropagator> &sp, const kc::ks_ptr<ks::ProxyScene> &scene)#
Constructor.
- Parameters:
name – The name of the model.
sp – The StatePropagator to register this model with.
scene – The ProxyScene to call update on.
- Returns:
A ks_ptr to the newly created instance of the UpdateProxyScene model.
-
UpdateProxyScene(std::string_view name, const kc::ks_ptr<kd::StatePropagator> &sp, const kc::ks_ptr<ks::ProxyScene> &scene)#