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

OSGBaseFunctions.h File Reference

#include <math.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <errno.h>
#include <iostream>
#include <OSGConfig.h>
#include <OSGBase.h>
#include <OSGBaseTypes.h>
#include <vector>
#include <string>
#include <iterator>
#include <algorithm>
#include "OSGBaseFunctions.inl"

Go to the source code of this file.

Namespaces

namespace  osg

Classes

struct  osg::osgStaticMax< uiValue1, uiValue2 >
struct  osg::TrueType
struct  osg::FalseType
struct  osg::osgTypeIF< IConditionV, IThenT, IElseT >
struct  osg::osgTypeIF< FalseType, IThenT, IElseT >
struct  osg::osgIF< IConditionV, IThenT, IElseT >
struct  osg::osgIF< false, IThenT, IElseT >
struct  osg::LTString
struct  osg::EQString
struct  osg::string_token_iterator
class  osg::indirector< ContentT, IndexT >
struct  osg::InitFuncWrapper
struct  osg::StaticInitFuncWrapper

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)

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)

swap

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

sgn

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

degree2rad

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

rad2degree

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)

add init functions

*void osg::addInitFunction (InitFuncF initFunc)
void osg::addPreMPInitFunction (InitFuncF initFunc)

add exit function

*void osg::addSystemExitFunction (ExitFuncF exitFunc)
void osg::addPostMPExitFunction (ExitFuncF exitFunc)

init / exit

*void osg::preloadSharedObject (const Char8 *szName)
bool osg::osgInit (Int32, Char8 **)
bool osg::osgExit (void)

Defines

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

Typedefs

typedef bool(* osg::InitFuncF )(void)
typedef bool(* osg::ExitFuncF )(void)

Enumerations

enum  osg::SystemState { osg::Startup = 0x01, osg::Running = 0x02, osg::Shutdown = 0x03 }

Functions

template<class FloatTypeT>
FloatTypeT osg::osgabs (const FloatTypeT rValue)
template<class TypeT>
bool osg::osgispower2 (TypeT rValue)
template<class TypeT>
TypeT osg::osgnextpower2 (TypeT rValue)
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)
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_HEADER_CVSID   "@(#)$Id: $"
 

Definition at line 716 of file OSGBaseFunctions.h.


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