#include <OSGVecFieldDataType.h>
Inheritance diagram for osg::FieldDataTraits< Vec4ub >:

Public Types | |
| typedef FieldDataTraits< Vec4ub > | Self |
| enum | { StringConvertable } |
| enum | { bHasParent = 0x01 } |
| typedef osgIF< uiTest==1, const Vec4ub, const Vec4ub & >::_IRet | ArgumentType |
| enum | { ToStringConvertable = 0x01, FromStringConvertable = 0x02 } |
Static Public Member Functions | |
| static DataType & | getType (void) |
| static Char8 * | getSName (void) |
| static Char8 * | getMName (void) |
| static Vec4ub | getDefault (void) |
| static bool | getFromString (Vec4ub &outVal, const Char8 *&inVal) |
| static void | putToString (const Vec4ub &inVal, std::string &outStr) |
| static UInt32 | getBinSize (const Vec4ub &) |
| static UInt32 | getBinSize (const Vec4ub *, UInt32 uiNumObjects) |
| static void | copyToBin (BinaryDataHandler &pMem, const Vec4ub &oObject) |
| static void | copyToBin (BinaryDataHandler &pMem, const Vec4ub *pObjectStore, UInt32 uiNumObjects) |
| static void | copyFromBin (BinaryDataHandler &pMem, Vec4ub &oObject) |
| static void | copyFromBin (BinaryDataHandler &pMem, Vec4ub *pObjectStore, UInt32 uiNumObjects) |
| static const Char8 * | getPName (void) |
Static Public Attributes | |
| static DataType | _type |
| static const UInt32 | uiTest |
Definition at line 278 of file OSGVecFieldDataType.h.
|
|
Definition at line 282 of file OSGVecFieldDataType.h. |
|
|
Definition at line 78 of file OSGVecFieldDataType.h. |
|
|
Definition at line 285 of file OSGVecFieldDataType.h. 00285 { StringConvertable = Self::ToStringConvertable | 00286 Self::FromStringConvertable };
|
|
|
Definition at line 288 of file OSGVecFieldDataType.h. 00288 { bHasParent = 0x01 };
|
|
|
Definition at line 69 of file OSGFieldDataType.h. 00070 { 00071 ToStringConvertable = 0x01, 00072 FromStringConvertable = 0x02 00073 };
|
|
|
Definition at line 290 of file OSGVecFieldDataType.h. 00290 { return _type; }
|
|
|
Definition at line 292 of file OSGVecFieldDataType.h.
|
|
|
Definition at line 293 of file OSGVecFieldDataType.h.
|
|
|
Definition at line 295 of file OSGVecFieldDataType.h. 00295 { return Vec4ub(); }
|
|
||||||||||||
|
Definition at line 297 of file OSGVecFieldDataType.h. References osg::PointInterface< ValueTypeT, StorageInterfaceT >::setValueFromCString().
|
|
||||||||||||
|
Definition at line 305 of file OSGVecFieldDataType.h. References osg::PointInterface< ValueTypeT, StorageInterfaceT >::getValues(). 00307 { 00308 typedef TypeTraits<Vec4ub::ValueType> TypeTrait; 00309 00310 outStr.assign(TypeTrait::putToString((inVal.getValues())[0])); 00311 outStr.append(" "); 00312 outStr.append(TypeTrait::putToString((inVal.getValues())[1])); 00313 outStr.append(" "); 00314 outStr.append(TypeTrait::putToString((inVal.getValues())[2])); 00315 outStr.append(" "); 00316 outStr.append(TypeTrait::putToString((inVal.getValues())[3])); 00317 }
|
|
|
Definition at line 86 of file OSGVecFieldDataType.h.
|
|
||||||||||||
|
Definition at line 91 of file OSGVecFieldDataType.h.
|
|
||||||||||||
|
Definition at line 97 of file OSGVecFieldDataType.h.
|
|
||||||||||||||||
|
Definition at line 103 of file OSGVecFieldDataType.h.
|
|
||||||||||||
|
Definition at line 110 of file OSGVecFieldDataType.h.
|
|
||||||||||||||||
|
Definition at line 116 of file OSGVecFieldDataType.h.
|
|
|
Definition at line 75 of file OSGFieldDataType.h.
|
|
|
|
|
|
Definition at line 73 of file OSGVecFieldDataType.h. |
1.4.3