opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
data_series_annotation.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <string>
6#include <vector>
7
8namespace OpenSim { class Storage; }
9namespace SimTK { template<class, class> class Array_; }
10namespace SimTK { class DecorativeGeometry; }
11
12namespace opyn
13{
14 // A single data annotation that describes some kind of substructure (series) in
15 // columnar data.
21
22 // Returns the elements associated with one datapoint (e.g. [x, y, z])
23 std::vector<double> extractDataPoint(
24 double time,
25 const OpenSim::Storage&,
27 );
28
30 double time,
31 const OpenSim::Storage&,
34 );
35}
Definition data_series_annotation.h:9
Definition static_component_registries.h:3
Definition custom_decoration_generator.h:6
Definition component_registry.h:14
void generateDecorations(double time, const OpenSim::Storage &, const DataSeriesAnnotation &, SimTK::Array_< SimTK::DecorativeGeometry, unsigned > &out)
std::vector< double > extractDataPoint(double time, const OpenSim::Storage &, const DataSeriesAnnotation &)
DataPointType
Definition data_point_type.h:12
Definition data_series_annotation.h:16
std::string label
Definition data_series_annotation.h:18
int dataColumnOffset
Definition data_series_annotation.h:17
DataPointType dataType
Definition data_series_annotation.h:19