Rumba C++ SDK
maquina::ExportHelper Class Reference

Helper class to export animations. More...

#include <ExportHelper.h>

Public Member Functions

void track_plug (const Plug &plug)
 First, register the plugs to export. More...
 
void evaluate ()
 Evaluate the plug values. More...
 
const Valuevalue (const Plug &plug, size_t index) const
 Get a baked plug value. More...
 
const std::vector< Value > & values (const Plug &plug) const
 Get all the baked plug values. More...
 

Detailed Description

Helper class to export animations.

This class is used to track and evaluate efficiently a set of plugs and then retrieve their animated values at once

Member Function Documentation

◆ evaluate()

void maquina::ExportHelper::evaluate ( )

Evaluate the plug values.

◆ track_plug()

void maquina::ExportHelper::track_plug ( const Plug plug)

First, register the plugs to export.

◆ value()

const Value& maquina::ExportHelper::value ( const Plug plug,
size_t  index 
) const

Get a baked plug value.

◆ values()

const std::vector<Value>& maquina::ExportHelper::values ( const Plug plug) const

Get all the baked plug values.


The documentation for this class was generated from the following file: