Classes | |
class | AABB3 |
AABB3 provides an axis aligned three dimensional bounding box. More... | |
class | AABB2 |
AABB2 provides an axis aligned two dimensional bounding box. More... | |
class | BoundingSphere |
BoundingSphere provides a three dimensional sphere. More... | |
class | RFile |
RFile defines an interface and some basic support functions for classes providing read only file services. More... | |
class | MemFile |
Memfile implements the RFile interface using an inmemory buffer. More... | |
class | WFile |
WFile extends the RFile interface with methods for writing to a file and related support funtions. More... | |
class | StdFile |
StdFile implements the WFile interface using the standard file system. More... | |
class | Frustum |
This class implements a frustum, which is an arbitrary volume in space (possibly infinite) defined by a set of planes. More... | |
class | Matrix |
Matrix provides a 4x4 float Matrix along with methods to set up and manipulate it. More... | |
class | Path |
This class serves as a helper for path strings within the object hierarchy. More... | |
class | Plane |
A mathematical plane is modeled by this class. More... | |
class | RandomEngine |
A wrapper to a boost random number generator. More... | |
class | UniformRNG |
This random number generator should be used to produce uniformly distributed random numbers. More... | |
class | NormalRNG |
A random number generator producing normally distributed numbers. More... | |
class | ExponentialRNG |
A random number generator with an exponential distribution. More... | |
class | Rect |
this class provides rectangle in two dimensional space More... | |
class | SharedLibrary |
SharedLibrary defines a commmon interface for the usage of shared libraries. More... | |
class | TVector |
TVector is a template class for vector implementations. More... | |
class | TVector2 |
TVector2 is a two dimensional version of TVector. More... | |
class | TVector3 |
TVector3 is a two dimensional version of TVector. More... | |
class | Vector2f |
class | Vector3f |
Enumerations | |
enum | EPlaneSide { PLANESIDE_BACK = 0, PLANESIDE_ONPLANE = 1, PLANESIDE_FRONT = 2, PLANESIDE_SPLIT = 3, PLANESIDE_FORCE_32BIT = 0xffffffff } |
defines possible sides on the plane More... | |
enum | EPlane { PLANE_XY = 0, PLANE_XZ = 1, PLANE_YZ = 2, PLANE_FORCE_32BIT = 0xffffffff } |
defines possible dominant plane values More... | |
Functions | |
template<typename TYPE> | |
f_inline TYPE | gSqrt (const TYPE &v) |
template<class TYPE> | |
f_inline TYPE | gClamp (TYPE &val, TYPE min, TYPE max) |
template<class TYPE> | |
f_inline TYPE | gMin (TYPE a, TYPE b) |
template<class TYPE> | |
f_inline TYPE | gMax (TYPE a, TYPE b) |
template<class TYPE> | |
f_inline TYPE | gFloor (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gCeil (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gAbs (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gNeg (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gCos (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gSin (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gArcCos (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gArcSin (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gArcTan (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gArcTan2 (TYPE a, TYPE b) |
template<class TYPE> | |
f_inline TYPE | gPow (TYPE a, TYPE b) |
template<class TYPE> | |
f_inline void | gSwap (TYPE &a, TYPE &b) |
template<class TYPE> | |
f_inline int | gSign (TYPE a) |
template<class TYPE> | |
f_inline TYPE | gDegToRad (TYPE deg) |
template<class TYPE> | |
f_inline TYPE | gRadToDeg (TYPE rad) |
template<class TYPE> | |
f_inline bool | gInRange (const TYPE &val, const TYPE &low, const TYPE &high) |
template<class TYPE> | |
f_inline double | gNormalizeDeg (TYPE angle) |
template<class TYPE> | |
f_inline double | gNormalizeRad (TYPE angle) |
template<typename DATATYPE, int ELEMENTS, typename TYPE> | |
std::ostream & | operator<< (std::ostream &ost, const TVector< DATATYPE, ELEMENTS, TYPE > &v) |
template<typename DATATYPE, int ELEMENTS, class TYPE> | |
f_inline const TYPE | operator * (const DATATYPE &f, const TVector< DATATYPE, ELEMENTS, TYPE > &vec) |
Variables | |
static const double | gPI = M_PI |
static const double | g2PI = 2*M_PI |
static const double | gHalfPI = M_PI_2 |
|
defines possible dominant plane values
|
|
defines possible sides on the plane
|
|
|
Definition at line 108 of file gmath.h. Referenced by salt::Vector2f::GetAngleRad(), VisionPerceptor::StaticAxisPercept(), and RestrictedVisionPerceptor::StaticAxisPercept(). |
|
|
|
|
|
Definition at line 126 of file gmath.h. Referenced by KickEffector::Realize(), VisionPerceptor::StaticAxisPercept(), and RestrictedVisionPerceptor::StaticAxisPercept(). |
|
|
|
Definition at line 54 of file gmath.h. Referenced by oxygen::ContactJointHandler::SetContactSoftERP(), and oxygen::Camera::UpdateHierarchyInternal(). |
|
Definition at line 96 of file gmath.h. Referenced by KickEffector::Realize(), salt::Matrix::RotateX(), salt::Matrix::RotateY(), salt::Matrix::RotateZ(), salt::Matrix::RotationX(), salt::Matrix::RotationY(), salt::Matrix::RotationZ(), and oxygen::StdMeshImporter::UnitCCylinder(). |
|
|
|
|
Definition at line 165 of file gmath.h. Referenced by salt::AABB2::Contains(), and salt::AABB3::Contains(). |
|
Definition at line 66 of file gmath.h. Referenced by salt::AABB2::Encapsulate(), salt::AABB3::Encapsulate(), kerosin::Font::Init(), and KickEffector::Realize(). |
|
Definition at line 60 of file gmath.h. Referenced by salt::AABB2::Encapsulate(), salt::AABB3::Encapsulate(), and KickEffector::Realize(). |
|
|
|
Definition at line 171 of file gmath.h. Referenced by gClampAngleDeg(), RestrictedVisionPerceptor::SetPanRange(), RestrictedVisionPerceptor::SetPanTilt(), RestrictedVisionPerceptor::SetTiltRange(), and RestrictedVisionPerceptor::StaticAxisPercept(). |
|
Definition at line 187 of file gmath.h. Referenced by VisionPerceptor::DynamicAxisPercept(), and RestrictedVisionPerceptor::DynamicAxisPercept(). |
|
|
|
|
Definition at line 146 of file gmath.h. Referenced by PanTiltEffector::Realize(). |
|
Definition at line 102 of file gmath.h. Referenced by KickEffector::Realize(), salt::Matrix::RotateX(), salt::Matrix::RotateY(), salt::Matrix::RotateZ(), salt::Matrix::RotationX(), salt::Matrix::RotationY(), salt::Matrix::RotationZ(), and oxygen::StdMeshImporter::UnitCCylinder(). |
|
Definition at line 48 of file gmath.h. Referenced by salt::BoundingSphere::EncapsulateFast(), and salt::TVector< float, 3, Vector3f >::Length(). |
|
Definition at line 138 of file gmath.h. Referenced by salt::Matrix::InvertRotationMatrix(), and salt::Rect::Normalize(). |
|
|
|
|
|
Definition at line 44 of file gmath.h. Referenced by KickEffector::Realize(), and oxygen::StdMeshImporter::UnitCCylinder(). |
|
|
|
|