#include <OSGBaseTypeTraits.h>
Inheritance diagram for osg::TypeTraits< Real64 >:

Public Types | |
| typedef Real64 | RealReturnType |
Static Public Member Functions | |
| static Real64 | getZeroElement (void) |
| static Real64 | getOneElement (void) |
| static Real64 | getMax (void) |
| static Real64 | getMin (void) |
| static Real64 | getFraction (Real64 rVal) |
| static Real64 | getPortion (Real64 rVal) |
| static Real64 | getFromString (const Char8 *szString) |
| static std::string | putToString (const Real64 val) |
Static Public Attributes | |
| static const bool | IsPOD = true |
| static const MathTypeProperties | MathProp = RealValue |
Definition at line 890 of file OSGBaseTypeTraits.h.
|
|
Definition at line 892 of file OSGBaseTypeTraits.h. |
|
|
Definition at line 898 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 903 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 908 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 913 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 919 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 920 of file OSGBaseTypeTraits.h.
|
|
|
Definition at line 923 of file OSGBaseTypeTraits.h. 00924 { 00925 if(szString != NULL) 00926 { 00927 return Real64(strtod(szString, NULL)); 00928 } 00929 else 00930 { 00931 return getZeroElement(); 00932 } 00933 }
|
|
|
Definition at line 935 of file OSGBaseTypeTraits.h. 00936 { 00937 Char8 buffer[25]; 00938 00939 sprintf(buffer, "%e", val); 00940 00941 return std::string(buffer); 00942 }
|
|
|
Definition at line 895 of file OSGBaseTypeTraits.h. |
|
|
Definition at line 896 of file OSGBaseTypeTraits.h. |
1.4.3