| 86 | } |
| 87 | |
| 88 | XnStatus xnXmlReadVecotr3D(const TiXmlElement* pOpcode, XnVector3D* pVector) |
| 89 | { |
| 90 | XnStatus nRetVal = XN_STATUS_OK; |
| 91 | |
| 92 | XnDouble dValue; |
| 93 | nRetVal = xnXmlReadRealAttribute(pOpcode, "x", &dValue); |
| 94 | XN_IS_STATUS_OK(nRetVal); |
| 95 | pVector->X = (XnFloat)dValue; |
| 96 | |
| 97 | nRetVal = xnXmlReadRealAttribute(pOpcode, "y", &dValue); |
| 98 | XN_IS_STATUS_OK(nRetVal); |
| 99 | pVector->Y = (XnFloat)dValue; |
| 100 | |
| 101 | nRetVal = xnXmlReadRealAttribute(pOpcode, "z", &dValue); |
| 102 | XN_IS_STATUS_OK(nRetVal); |
| 103 | pVector->Z = (XnFloat)dValue; |
| 104 | |
| 105 | return (XN_STATUS_OK); |
| 106 | } |
| 107 | |
| 108 | XnStatus xnXmlReadBoundingBox3D(const TiXmlElement* pElem, XnBoundingBox3D* pBox) |
| 109 | { |
no test coverage detected