OSGBaseFunctions.inl File Reference

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

Go to the source code of this file.

Namespaces

namespace  osg

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)
sqrt


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgsqrt (const FloatTypeT rValue)
Real32 osg::osgsqrt (const Real32 rValue)
Real64 osg::osgsqrt (const Real64 rValue)
Real128 osg::osgsqrt (const Real128 rValue)
cos


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgcos (const FloatTypeT rValue)
Real32 osg::osgcos (const Real32 rValue)
Real64 osg::osgcos (const Real64 rValue)
Real128 osg::osgcos (const Real128 rValue)
sin


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgsin (const FloatTypeT rValue)
Real32 osg::osgsin (const Real32 rValue)
Real64 osg::osgsin (const Real64 rValue)
Real128 osg::osgsin (const Real128 rValue)
tan


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgtan (const FloatTypeT rValue)
Real32 osg::osgtan (const Real32 rValue)
Real64 osg::osgtan (const Real64 rValue)
Real128 osg::osgtan (const Real128 rValue)
acos


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgacos (const FloatTypeT rValue)
Real32 osg::osgacos (const Real32 rValue)
Real64 osg::osgacos (const Real64 rValue)
Real128 osg::osgacos (const Real128 rValue)
asin


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgasin (const FloatTypeT rValue)
Real32 osg::osgasin (const Real32 rValue)
Real64 osg::osgasin (const Real64 rValue)
Real128 osg::osgasin (const Real128 rValue)
atan


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgatan (const FloatTypeT rValue)
Real32 osg::osgatan (const Real32 rValue)
Real64 osg::osgatan (const Real64 rValue)
Real128 osg::osgatan (const Real128 rValue)
atan2


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


template<class TypeT>
TypeT osg::osgabs (const TypeT rValue)
Real32 osg::osgabs (const Real32 rValue)
Real64 osg::osgabs (const Real64 rValue)
Real128 osg::osgabs (const Real128 rValue)
pow


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


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osglog (const FloatTypeT rValue)
Real32 osg::osglog (const Real32 rValue)
Real64 osg::osglog (const Real64 rValue)
Real128 osg::osglog (const Real128 rValue)
exp


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgexp (const FloatTypeT rValue)
Real32 osg::osgexp (const Real32 rValue)
Real64 osg::osgexp (const Real64 rValue)
Real128 osg::osgexp (const Real128 rValue)
floor


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgfloor (const FloatTypeT rValue)
Real32 osg::osgfloor (const Real32 rValue)
Real64 osg::osgfloor (const Real64 rValue)
Real128 osg::osgfloor (const Real128 rValue)
ceil


template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgceil (const FloatTypeT rValue)
Real32 osg::osgceil (const Real32 rValue)
Real64 osg::osgceil (const Real64 rValue)
Real128 osg::osgceil (const Real128 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)
Real64 osg::osgdegree2rad (const Real64 rValue)
template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgdegree2rad (const FloatTypeT rValue)
rad2degree


Real32 osg::osgrad2degree (const Real32 rValue)
Real64 osg::osgrad2degree (const Real64 rValue)
template<class FloatTypeT>
TypeTraits< FloatTypeT >
::RealReturnType 
osg::osgrad2degree (const FloatTypeT 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)
bool osg::osgispower2 (Int32 rValue)
nextpower2


UInt32 osg::osgnextpower2 (UInt32 rValue)
Int32 osg::osgnextpower2 (Int32 rValue)
Int64 osg::osgnextpower2 (Int64 rValue)
template<>
UInt64 osg::osgnextpower2< UInt64 > (UInt64 rValue)


Define Documentation

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

Definition at line 1722 of file OSGBaseFunctions.inl.


Generated on Mon Mar 17 12:02:33 2008 for OpenSG by  doxygen 1.5.5