#include <PhaseSpace.h>
Public Member Functions | |
PhaseSpace (unsigned int reserve=0) | |
PhaseSpace (const float *values, unsigned int size) | |
void | clear (unsigned int reserve=0) |
void | reset () |
void | skip (unsigned int positions) |
float | getNext () |
float | getValue (unsigned int i) const |
vector< float > & | getVector () |
unsigned int | getSize () const |
void | setValue (unsigned int i, float value) |
void | setValues (const float *values, unsigned int size) |
bool | isEmpty () const |
void | concat (const PhaseSpace &p) |
void | concatZeros (unsigned int positions) |
void | concat (float value) |
void | concat (const Vector3 &v) |
void | concat (const Quaternion &q) |
float | operator[] (unsigned int i) const |
float & | operator[] (unsigned int i) |
void | operator+= (const PhaseSpace &p) |
PhaseSpace | operator+ (const PhaseSpace &p) |
PhaseSpace | operator * (float value) |
void | add (const PhaseSpace &p, float scale=1.0f) |
< | |
Protected Attributes | |
vector< float > | m_values |
unsigned int | m_position |
Friends | |
PhaseSpace | operator * (float value, const PhaseSpace &p) |
Definition at line 32 of file PhaseSpace.h.
|
This constructor reserves space in the values vector, for faster operations.
|
|
<
Referenced by OpenCAL::RungeKutta4Solver::solve(), OpenCAL::MidpointSolver::solve(), and OpenCAL::EulerSolver::solve(). |
|
References OpenCAL::Utils::Vector3::getX(), OpenCAL::Utils::Vector3::getY(), and OpenCAL::Utils::Vector3::getZ(). Here is the call graph for this function: ![]() |
|
References getSize(), and m_values. Referenced by OpenCAL::RigidBody::addToDerivative(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 128 of file PhaseSpace.cpp. |
|
Definition at line 120 of file PhaseSpace.cpp. |