Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OSGBaseFunctions.inl File Reference

#include <unistd.h>
#include <time.h>

Go to the source code of this file.

Namespaces

namespace  osg

sqrt

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgsqrt (const FloatTypeT rValue)

cos

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgcos (const FloatTypeT rValue)

sin

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgsin (const FloatTypeT rValue)

tan

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgtan (const FloatTypeT rValue)

acos

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgacos (const FloatTypeT rValue)

asin

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgasin (const FloatTypeT rValue)

atan

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgatan (const FloatTypeT rValue)

atan2

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgatan2 (const FloatTypeT rValue1, const FloatTypeT rValue2)

abs

template<class TypeT>
*TypeT osg::osgabs (const TypeT rValue)

pow

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgpow (const FloatTypeT rValue, const FloatTypeT rExp)

log

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osglog (const FloatTypeT rValue)

exp

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgexp (const FloatTypeT rValue)

floor

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgfloor (const FloatTypeT rValue)

ceil

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::osgceil (const FloatTypeT rValue)

finite

template<class FloatTypeT>
UInt32 osg::osgfinite (const FloatTypeT rValue)

min / max

template<class TypeT>
TypeT osg::osgMin (const TypeT lVal, const TypeT rValue)
template<class TypeT>
TypeT osg::osgMax (const TypeT lVal, const TypeT rValue)
template<class TypeT>
TypeT osg::osgClamp (const TypeT minVal, const TypeT val, const TypeT maxVal)

sgn

template<class TypeT>
Int8 osg::osgSgn (TypeT val)

swap

template<class TypeT>
void osg::osgSwap (TypeT &lVal, TypeT &rValue)

degree2rad

*Real32 osg::osgdegree2rad (const Real32 rValue)

rad2degree

*Real32 osg::osgrad2degree (const Real32 rValue)

deg2rad / rad2deg

template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::deg2rad (const FloatTypeT rValue)
template<class FloatTypeT>
TypeTraits< FloatTypeT
>::RealReturnType 
osg::rad2deg (const FloatTypeT rValue)

ispower2

*bool osg::osgispower2 (UInt32 rValue)

nextpower2

*UInt32 osg::osgnextpower2 (UInt32 rValue)
template<>
UInt64 osg::osgnextpower2< UInt64 > (UInt64 rValue)

Defines

#define OSGBASEFUNCTIONS_INLINE_CVSID   "@(#)$Id: $"

Functions

void osg::stringDup (const Char8 *szInput, Char8 *&szOutput)
Int32 osg::stringncmp (const Char8 *string1, const Char8 *string2, size_t count)
Int32 osg::stringlen (const Char8 *string1)
Int32 osg::stringcmp (const Char8 *string1, const Char8 *string2)
Int32 osg::stringcasecmp (const Char8 *string1, const Char8 *string2)
template<class VecPntT>
UInt32 osg::getMaxIndexAbs3 (const VecPntT &v)
Int32 osg::putenv (Char8 *string)
void osg::osgsleep (UInt32 millisecs)
Real32 osg::osgrand (void)
bool osg::osgIsBigEndian (void)
UInt16 osg::osghtons (UInt16 src)
UInt32 osg::osghtonl (UInt32 src)
UInt64 osg::osghtonll (UInt64 src)
Real32 osg::osghtonf (Real32 src)
Real64 osg::osghtond (Real64 src)
Real128 osg::osghtondd (Real128 src)
UInt16 osg::osgntohs (UInt16 src)
UInt32 osg::osgntohl (UInt32 src)
UInt64 osg::osgntohll (UInt64 src)
Real32 osg::osgntohf (Real32 src)
Real64 osg::osgntohd (Real64 src)
Real128 osg::osgntohdd (Real128 src)
template<class T>
void osg::setRefP (T *&pObject, T *&pNewObject)
template<class T>
void osg::addRefP (T *&pObject)
template<class T>
void osg::subRefP (T *&pObject)
template<class T>
void osg::clearRefP (T *&pObject)
template<class T>
void osg::clearRefPVector (std::vector< T * > &vVector)
template<class T>
void osg::clearRefPVectorP (std::vector< T * > *pVector)


Define Documentation

#define OSGBASEFUNCTIONS_INLINE_CVSID   "@(#)$Id: $"
 

Definition at line 1722 of file OSGBaseFunctions.inl.


Generated on Thu Aug 25 04:12:20 2005 for OpenSG by  doxygen 1.4.3