Gazebo Math

API Reference

7.4.0
InMemoryTimeVaryingVolumetricGridFactory< T, V, P > Class Template Reference

Factory class for constructing an InMemoryTimeVaryingVolumetricGrid. More...

#include <TimeVaryingVolumetricGrid.hh>

Public Member Functions

void AddPoint (const T &_time, const Vector3< P > &_position, const V &_value)
 Adds a point at a given time and position. More...
 
InMemoryTimeVaryingVolumetricGrid< T, V, P > Build () const
 Builds the InMemoryTimeVaryingVolumetricGrid<T, V, P> object. More...
 

Detailed Description

template<typename T, typename V, typename P = double>
class gz::math::InMemoryTimeVaryingVolumetricGridFactory< T, V, P >

Factory class for constructing an InMemoryTimeVaryingVolumetricGrid.

Member Function Documentation

◆ AddPoint()

void AddPoint ( const T &  _time,
const Vector3< P > &  _position,
const V &  _value 
)
inline

Adds a point at a given time and position.

Parameters
[in]_time- Time
[in]_position- Position
[in]_value- Value of the point to be added to the field

◆ Build()

InMemoryTimeVaryingVolumetricGrid<T, V, P> Build ( ) const
inline

Builds the InMemoryTimeVaryingVolumetricGrid<T, V, P> object.

References vector< T >::push_back(), and vector< T >::size().


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