#include <OSGMathFieldDataType.h>
Inheritance diagram for osg::FieldDataTraits< Matrix >:

Public Types | |
| enum | { StringConvertable } |
| typedef osgIF< uiTest==1, const Matrix, const Matrix & >::_IRet | ArgumentType |
Static Public Member Functions | |
| static DataType & | getType (void) |
| static Char8 * | getSName (void) |
| static Char8 * | getMName (void) |
| static Matrix | getDefault (void) |
| static bool | getFromString (Matrix &outVal, const Char8 *&inVal) |
| static void | putToString (const Matrix &inVal, std::string &outStr) |
| static UInt32 | getBinSize (const Matrix &) |
| static UInt32 | getBinSize (const Matrix *, UInt32 uiNumObjects) |
| static void | copyToBin (BinaryDataHandler &pMem, const Matrix &oObject) |
| static void | copyFromBin (BinaryDataHandler &pMem, Matrix &oObject) |
| static void | copyToBin (BinaryDataHandler &pMem, const Matrix *pObjectStore, UInt32 uiNumObjects) |
| static void | copyFromBin (BinaryDataHandler &pMem, Matrix *pObjectStore, UInt32 uiNumObjects) |
| static bool | getFromString (Matrix &outVal, const Char8 *inVal) |
| static const Char8 * | getPName (void) |
Static Public Attributes | |
| static DataType | _type |
| static const UInt32 | uiTest |
Definition at line 68 of file OSGMathFieldDataType.h.
|
|
Definition at line 122 of file OSGFieldDataType.h. |
|
|
Reimplemented from osg::FieldTraits. Definition at line 73 of file OSGMathFieldDataType.h. 00073 { StringConvertable = ToStringConvertable | 00074 FromStringConvertable };
|
|
|
Definition at line 76 of file OSGMathFieldDataType.h. 00076 { return _type; }
|
|
|
Definition at line 78 of file OSGMathFieldDataType.h.
|
|
|
Definition at line 79 of file OSGMathFieldDataType.h.
|
|
|
Definition at line 81 of file OSGMathFieldDataType.h. 00081 { return Matrix(); }
|
|
||||||||||||
|
Definition at line 83 of file OSGMathFieldDataType.h. References osg::TransformationMatrix< ValueTypeT >::setValue().
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 90 of file OSGMathFieldDataType.h. References osg::TransformationMatrix< ValueTypeT >::getValues(). 00092 { 00093 typedef TypeTraits<Matrix::ValueType> TypeTrait; 00094 00095 outStr.assign(TypeTrait::putToString((inVal.getValues())[0])); 00096 outStr.append(" "); 00097 outStr.append(TypeTrait::putToString((inVal.getValues())[4])); 00098 outStr.append(" "); 00099 outStr.append(TypeTrait::putToString((inVal.getValues())[8])); 00100 outStr.append(" "); 00101 outStr.append(TypeTrait::putToString((inVal.getValues())[12])); 00102 00103 outStr.append(" "); 00104 outStr.append(TypeTrait::putToString((inVal.getValues())[1])); 00105 outStr.append(" "); 00106 outStr.append(TypeTrait::putToString((inVal.getValues())[5])); 00107 outStr.append(" "); 00108 outStr.append(TypeTrait::putToString((inVal.getValues())[9])); 00109 outStr.append(" "); 00110 outStr.append(TypeTrait::putToString((inVal.getValues())[13])); 00111 00112 outStr.append(" "); 00113 outStr.append(TypeTrait::putToString((inVal.getValues())[2])); 00114 outStr.append(" "); 00115 outStr.append(TypeTrait::putToString((inVal.getValues())[6])); 00116 outStr.append(" "); 00117 outStr.append(TypeTrait::putToString((inVal.getValues())[10])); 00118 outStr.append(" "); 00119 outStr.append(TypeTrait::putToString((inVal.getValues())[14])); 00120 00121 outStr.append(" "); 00122 outStr.append(TypeTrait::putToString((inVal.getValues())[3])); 00123 outStr.append(" "); 00124 outStr.append(TypeTrait::putToString((inVal.getValues())[7])); 00125 outStr.append(" "); 00126 outStr.append(TypeTrait::putToString((inVal.getValues())[11])); 00127 outStr.append(" "); 00128 outStr.append(TypeTrait::putToString((inVal.getValues())[15])); 00129 }
|
|
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 131 of file OSGMathFieldDataType.h. 00132 { 00133 return sizeof(Real32) * 16; 00134 }
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 136 of file OSGMathFieldDataType.h. 00138 { 00139 return sizeof(Real32) * 16 * uiNumObjects; 00140 }
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 142 of file OSGMathFieldDataType.h. References osg::BinaryDataHandler::putValues().
|
|
||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 149 of file OSGMathFieldDataType.h. References osg::BinaryDataHandler::getValues().
|
|
||||||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 155 of file OSGMathFieldDataType.h. References osg::BinaryDataHandler::putValues().
|
|
||||||||||||||||
|
Reimplemented from osg::FieldTraitsRecurseBase< Matrix >. Definition at line 162 of file OSGMathFieldDataType.h. References osg::BinaryDataHandler::getValues().
|
|
||||||||||||
|
Definition at line 209 of file OSGFieldDataType.h. 00211 { 00212 typedef FieldDataTraits<FieldTypeT> MappedTrait; 00213 00214 return MappedTrait::getFromString(outVal, inVal); 00215 }
|
|
|
Definition at line 75 of file OSGFieldDataType.h.
|
|
|
|
|
|
Definition at line 117 of file OSGFieldDataType.h. |
1.4.3