17#ifndef IGNITION_MATH_VECTOR3STATS_HH_
18#define IGNITION_MATH_VECTOR3STATS_HH_
24#include <ignition/math/config.hh>
30 inline namespace IGNITION_MATH_VERSION_NAMESPACE
33 class Vector3StatsPrivate;
Collection of statistics for a scalar signal.
Definition SignalStats.hh:189
Collection of statistics for a Vector3 signal.
Definition Vector3Stats.hh:38
Vector3Stats()
Constructor.
SignalStats & Z()
Get mutable reference to statistics for z component of signal.
void Reset()
Forget all previous data.
const SignalStats & Y() const
Get statistics for y component of signal.
~Vector3Stats()
Destructor.
const SignalStats & X() const
Get statistics for x component of signal.
bool InsertStatistics(const std::string &_names)
Add multiple statistics.
Vector3StatsPrivate * dataPtr
Pointer to private data.
Definition Vector3Stats.hh:105
SignalStats & Mag()
Get mutable reference to statistics for magnitude of signal.
bool InsertStatistic(const std::string &_name)
Add a new type of statistic.
SignalStats & Y()
Get mutable reference to statistics for y component of signal.
const SignalStats & Z() const
Get statistics for z component of signal.
const SignalStats & Mag() const
Get statistics for magnitude component of signal.
void InsertData(const Vector3d &_data)
Add a new sample to the statistical measures.
SignalStats & X()
Get mutable reference to statistics for x component of signal.
The Vector3 class represents the generic vector containing 3 elements.
Definition Vector3.hh:40