Titan
v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
|
#include <object.h>
Public Member Functions | |
~Beam () | |
Beam (const Vec ¢er, const Vec &dims, int nx=10, int ny=10, int nz=10) | |
Public Member Functions inherited from titan::Container | |
virtual | ~Container () |
void | translate (const Vec &displ) |
void | rotate (const Vec &axis, double angle) |
void | setMassValues (double m) |
void | setSpringConstants (double k) |
void | setRestLengths (double len) |
void | fix () |
void | add (Mass *m) |
void | add (Spring *s) |
void | add (Container *c) |
Public Attributes | |
int | nx |
int | ny |
int | nz |
Vec | _center |
Vec | _dims |
Public Attributes inherited from titan::Container | |
std::vector< Mass * > | masses |
std::vector< Spring * > | springs |
|
inline |
Vec titan::Beam::_center |
Vec titan::Beam::_dims |
int titan::Beam::nx |
int titan::Beam::ny |
int titan::Beam::nz |