|
Biorbd Release_1.13.0
|
Reader for bioMod files. More...
#include <ModelReader.h>
Static Public Member Functions | |
| static Model | readModelFile (const utils::Path &path) |
| Create a biorbd model from a bioMod file. | |
| static void | readModelFile (const utils::Path &path, Model *model) |
| Create a biorbd model from a bioMod file. | |
| static std::vector< std::vector< utils::Vector3d > > | readMarkerDataFile (const utils::Path &path) |
| Read a bioMark file, containing markers data. | |
| static std::vector< rigidbody::GeneralizedCoordinates > | readQDataFile (const utils::Path &path) |
| Read a bioKin file, containing kinematics data. | |
| static std::vector< utils::Vector > | readActivationDataFile (const utils::Path &path) |
| Read a bioMus fine, containing muscle activations data. | |
| static std::vector< utils::Vector > | readTorqueDataFile (const utils::Path &path) |
| Read a bioTorque file containing generalized torques data. | |
| static std::vector< utils::Vector > | readGroundReactionForceDataFile (const utils::Path &path) |
| Read a bioGRF file containing ground reaction force (GRF) data. | |
| static void | readViconForceFile (const utils::Path &path, std::vector< std::vector< size_t > > &frame, std::vector< size_t > &frequency, std::vector< std::vector< utils::Vector3d > > &force, std::vector< std::vector< utils::Vector3d > > &moment, std::vector< std::vector< utils::Vector3d > > &cop) |
| Read a Vicon ASCII force file. | |
| static std::vector< std::vector< utils::SpatialVector > > | readViconForceFile (const utils::String &path) |
| Read a Vicon ASCII force file. | |
| static std::vector< std::vector< utils::Vector3d > > | readViconMarkerFile (const utils::Path &path, int nFramesToGet=-1) |
| Read a Vicon ASCII marker file (CSV formated). | |
| static std::vector< std::vector< utils::Vector3d > > | readViconMarkerFile (const utils::Path &path, std::vector< utils::String > &markOrder, int nFramesToGet=-1) |
| Read a Vicon ASCII marker file (CSV formated). | |
| static rigidbody::Mesh | readMeshFileBiorbdSegments (const utils::Path &path) |
| Read a bioMesh file containing the meshing of a segment. | |
| static rigidbody::Mesh | readMeshFilePly (const utils::Path &path) |
| Read a PLY file containing the meshing of a segment. | |
| static rigidbody::Mesh | readMeshFileObj (const utils::Path &path) |
| Read a OBJ file containing the meshing of a segment. | |
| static rigidbody::Mesh | readMeshFileStl (const utils::Path &path) |
| Read a STL file containing the meshing of a segment. | |
Static Protected Member Functions | |
| static void | readVector3d (utils::IfStream &file, const std::map< utils::Equation, double > &variable, utils::Vector3d &vector) |
| Read a Vector 3d. | |
| static void | readMatrix33 (utils::IfStream &file, const std::map< utils::Equation, double > &variable, utils::Matrix3d &matrix) |
| Read a Matrix 3x3. | |
| static void | readRtMatrix (utils::IfStream &file, const std::map< utils::Equation, double > &variable, bool RTinMatrix, utils::RotoTrans &RT) |
| Read a RT matrix either in 4x4 format or Rot1233 seq Trans123 format. | |
Reader for bioMod files.
Definition at line 33 of file ModelReader.h.
|
static |
Read a bioMus fine, containing muscle activations data.
| path | The path of the file |
Definition at line 1685 of file ModelReader.cpp.
|
static |
Read a bioGRF file containing ground reaction force (GRF) data.
| path | The path of the file |
Definition at line 1796 of file ModelReader.cpp.
|
static |
Read a bioMark file, containing markers data.
| path | The path of the file |
Definition at line 1574 of file ModelReader.cpp.
|
staticprotected |
Read a Matrix 3x3.
| file | A reference to the current file being read pointing to the RT |
| variable | The variable set |
| matrix | The matrix to fill |
Definition at line 2482 of file ModelReader.cpp.
|
static |
Read a bioMesh file containing the meshing of a segment.
| path | The path of the file |
Definition at line 2131 of file ModelReader.cpp.
|
static |
Read a OBJ file containing the meshing of a segment.
| path | The path of the file |
Definition at line 2355 of file ModelReader.cpp.
|
static |
Read a PLY file containing the meshing of a segment.
| path | The path of the file |
Definition at line 2188 of file ModelReader.cpp.
|
static |
Read a STL file containing the meshing of a segment.
| path | The path of the file |
Definition at line 2524 of file ModelReader.cpp.
|
static |
Create a biorbd model from a bioMod file.
| path | The path of the file |
Definition at line 73 of file ModelReader.cpp.
|
static |
Create a biorbd model from a bioMod file.
| path | The path of the file |
| model | The model to fill |
Definition at line 80 of file ModelReader.cpp.
|
static |
Read a bioKin file, containing kinematics data.
| path | The path of the file |
Definition at line 1631 of file ModelReader.cpp.
|
staticprotected |
Read a RT matrix either in 4x4 format or Rot1233 seq Trans123 format.
| file | A reference to the current file being read pointing to the RT |
| variable | The variable set |
| RTinMatrix | If the RT is in matrix or in Euler format |
| RT | The RotoTrans matrix to fill |
Definition at line 2493 of file ModelReader.cpp.
|
static |
Read a bioTorque file containing generalized torques data.
| path | The path of the file |
Definition at line 1740 of file ModelReader.cpp.
|
staticprotected |
Read a Vector 3d.
| file | A reference to the current file being read pointing to the RT |
| variable | The variable set |
| vector | The vector to fill |
Definition at line 2473 of file ModelReader.cpp.
|
static |
Read a Vicon ASCII force file.
| path | The path of the file |
| frame | The fame vector (output) |
| frequency | The acquisition frequency (output) |
| force | The linear forces (x,y,z) (output) |
| moment | The moments (x,y,z) (output) |
| cop | The center of pressure (x,y,z) (output) |
Definition at line 1852 of file ModelReader.cpp.
|
static |
Read a Vicon ASCII force file.
| path | The path of the file |
Definition at line 1954 of file ModelReader.cpp.
|
static |
Read a Vicon ASCII marker file (CSV formated).
| path | The path of the file |
| nFramesToGet | The number of frames |
If the number of frame asked is less than the total number of frames, frames are evenly skip while reading. To get all frames, nFramesToGet should be set to -1.
Definition at line 2603 of file ModelReader.cpp.
|
static |
Read a Vicon ASCII marker file (CSV formated).
| path | The path of the file |
| markOrder | The markers to keep |
| nFramesToGet | The number of frames |
markOrder can be used for both changing the order of the marker to read and to skip some markers
If the number of frame asked is less than the total number of frames, frames are evenly skip while reading. To get all frames, nFramesToGet should be set to -1.
Definition at line 1978 of file ModelReader.cpp.