Om  1.0.0
A universal framework for multimedia simulation
Classes | Functions
om::physics::base Namespace Reference

A namespace that contains physics base classes. More...

Classes

class  ConvexHull
 A class that represents a convex polyhedron with triangular faces. More...
 
class  MassState
 A class that represents the mass information of a 3D object. More...
 
class  ObjectFlags
 A class that encapsulates the different boolean flags that a physics object can have. More...
 
class  ObjectState
 A class that represents a 3D object with transformation, velocity, and mass. More...
 
class  PhysicsIntegrator
 A class that specifies how a simulation state is numerically integrated forward in time. More...
 
class  PhysicsMaterial
 A class that describes the physical and simulated properties of a type of material. More...
 
class  TransformState
 A class that represents the transformation of a 3D object in space. More...
 
class  VelocityState
 A class that represents the velocity information of a 3D object. More...
 

Functions

template<typename T >
math::MatrixND< T, 3, 3 > transformInertiaTensor (const math::MatrixND< T, 3, 3 > &I, T mass, const math::VectorND< T, 3 > &translation)
 Transform an inertia tensor for an object with a given mass by the specified translation. More...
 
template<typename T >
math::MatrixND< T, 3, 3 > transformInertiaTensor (const math::MatrixND< T, 3, 3 > &I, const math::MatrixND< T, 3, 3 > &orientation)
 Transform an inertia tensor by the specified rotation matrix. More...
 
template<typename T >
math::MatrixND< T, 3, 3 > transformInertiaTensor (const math::MatrixND< T, 3, 3 > &I, T mass, const math::MatrixND< T, 3, 3 > &orientation, const math::VectorND< T, 3 > &translation)
 Transform an inertia tensor for an object with a given mass by the specified orientation and translation. More...
 

Detailed Description

A namespace that contains physics base classes.

Function Documentation

template<typename T >
math::MatrixND<T,3,3> om::physics::base::transformInertiaTensor ( const math::MatrixND< T, 3, 3 > &  I,
mass,
const math::VectorND< T, 3 > &  translation 
)
inline

Transform an inertia tensor for an object with a given mass by the specified translation.

template<typename T >
math::MatrixND<T,3,3> om::physics::base::transformInertiaTensor ( const math::MatrixND< T, 3, 3 > &  I,
const math::MatrixND< T, 3, 3 > &  orientation 
)
inline

Transform an inertia tensor by the specified rotation matrix.

template<typename T >
math::MatrixND<T,3,3> om::physics::base::transformInertiaTensor ( const math::MatrixND< T, 3, 3 > &  I,
mass,
const math::MatrixND< T, 3, 3 > &  orientation,
const math::VectorND< T, 3 > &  translation 
)
inline

Transform an inertia tensor for an object with a given mass by the specified orientation and translation.