Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::physics::base::VelocityState Class Reference

A class that represents the velocity information of a 3D object. More...

#include <omPhysicsVelocityState.h>

Public Member Functions

 VelocityState ()
 Create a new velocity state with the default initial velocity (zero). More...
 
SIMDFloat4 getVelocityAtPoint (const SIMDFloat4 &r) const
 Return the linear velocity of this object at the specified point relative to its center of mass. More...
 
SIMDFloat4 getBiasVelocityAtPoint (const SIMDFloat4 &r) const
 Return the linear bias velocity of this object at the specified point relative to its center of mass. More...
 

Public Attributes

SIMDFloat4 dP
 The linear velocity of the object in world space. More...
 
SIMDFloat4 dR
 The angular velocity of the object around each rotation axis. More...
 
SIMDFloat4 dPb
 The bias linear velocity of the object in world space. More...
 
SIMDFloat4 dRb
 The bias angular velocity of the object around each rotation axis. More...
 
SIMDFloat4 maskP
 The linear velocity mask of the object along each axis. More...
 
SIMDFloat4 maskR
 The angular velocity mask of the object around each rotation axis. More...
 

Detailed Description

A class that represents the velocity information of a 3D object.

Constructor & Destructor Documentation

om::physics::base::VelocityState::VelocityState ( )
inline

Create a new velocity state with the default initial velocity (zero).

Member Function Documentation

SIMDFloat4 om::physics::base::VelocityState::getVelocityAtPoint ( const SIMDFloat4 &  r) const
inline

Return the linear velocity of this object at the specified point relative to its center of mass.

SIMDFloat4 om::physics::base::VelocityState::getBiasVelocityAtPoint ( const SIMDFloat4 &  r) const
inline

Return the linear bias velocity of this object at the specified point relative to its center of mass.

Member Data Documentation

SIMDFloat4 om::physics::base::VelocityState::dP

The linear velocity of the object in world space.

SIMDFloat4 om::physics::base::VelocityState::dR

The angular velocity of the object around each rotation axis.

SIMDFloat4 om::physics::base::VelocityState::dPb

The bias linear velocity of the object in world space.

SIMDFloat4 om::physics::base::VelocityState::dRb

The bias angular velocity of the object around each rotation axis.

SIMDFloat4 om::physics::base::VelocityState::maskP

The linear velocity mask of the object along each axis.

SIMDFloat4 om::physics::base::VelocityState::maskR

The angular velocity mask of the object around each rotation axis.


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