#include <util_dae.h>
Classes | |
class | MyPolygon |
class | PolygonalMesh |
struct | WedgeAttribute |
Public Types | |
enum | DAEError { E_NOERROR, E_CANTOPEN, E_NOGEOMETRYLIBRARY, E_NOMESH, E_NOVERTEXPOSITION, E_NO3DVERTEXPOSITION, E_NO3DSCENE, E_INCOMPATIBLECOLLADA141FORMAT, E_UNREFERENCEBLEDCOLLADAATTRIBUTE, E_NOPOLYGONALMESH, E_CANTSAVE } |
Static Public Member Functions | |
static const char * | ErrorMsg (int error) |
Static Protected Member Functions | |
static QDomNode | attributeSourcePerSimplex (const QDomNode n, const QDomDocument startpoint, const QString &sem) |
static QDomNode | findNodeBySpecificAttributeValue (const QDomDocument n, const QString &tag, const QString &attrname, const QString &attrvalue) |
static QDomNode | findNodeBySpecificAttributeValue (const QDomNode n, const QString &tag, const QString &attrname, const QString &attrvalue) |
static QDomNode | findNodeBySpecificAttributeValue (const QDomNodeList &ndl, const QString &attrname, const QString &attrvalue) |
static int | findOffSetForASingleSimplex (QDomNode node) |
static int | findStringListAttribute (QStringList &list, const QDomNode node, const QDomNode poly, const QDomDocument startpoint, const char *token) |
static int | indexTextureByImgNode (const QDomDocument doc, const QDomNode node) |
static bool | isThereTag (const QDomDocument n, const QString &tagname) |
static bool | isThereTag (const QDomNode n, const QString &tagname) |
static bool | isThereTag (const QDomNodeList &list) |
static void | ParseMatrixNode (vcg::Matrix44f &m, const QDomNode t) |
static void | ParseRotationMatrix (vcg::Matrix44f &m, const std::vector< QDomNode > &t) |
static void | ParseTranslation (vcg::Matrix44f &m, const QDomNode t) |
static void | referenceToANodeAttribute (const QDomNode n, const QString &attr, QString &url_st) |
static bool | removeChildNode (QDomNode node, const QString &tag="", const QString &attribname="", const QString &attribvalue="") |
static bool | removeChildNodeList (QDomNodeList &nodelst, const QString &tag="", const QString &attribname="", const QString &attribvalue="") |
static QDomNode | textureFinder (QString &boundMaterialName, QString &textureFileName, const QDomDocument doc) |
static void | TransfMatrix (const QDomNode parentnode, const QDomNode presentnode, vcg::Matrix44f &m) |
static void | valueStringList (QStringList &res, const QDomNode srcnode, const QString &tag) |
Definition at line 68 of file util_dae.h.
E_NOERROR | |
E_CANTOPEN | |
E_NOGEOMETRYLIBRARY | |
E_NOMESH | |
E_NOVERTEXPOSITION | |
E_NO3DVERTEXPOSITION | |
E_NO3DSCENE | |
E_INCOMPATIBLECOLLADA141FORMAT | |
E_UNREFERENCEBLEDCOLLADAATTRIBUTE | |
E_NOPOLYGONALMESH | |
E_CANTSAVE |
Definition at line 71 of file util_dae.h.
static QDomNode vcg::tri::io::UtilDAE::attributeSourcePerSimplex | ( | const QDomNode | n, | |
const QDomDocument | startpoint, | |||
const QString & | sem | |||
) | [inline, static, protected] |
Definition at line 287 of file util_dae.h.
static const char* vcg::tri::io::UtilDAE::ErrorMsg | ( | int | error | ) | [inline, static] |
Definition at line 213 of file util_dae.h.
static QDomNode vcg::tri::io::UtilDAE::findNodeBySpecificAttributeValue | ( | const QDomDocument | n, | |
const QString & | tag, | |||
const QString & | attrname, | |||
const QString & | attrvalue | |||
) | [inline, static, protected] |
Definition at line 266 of file util_dae.h.
static QDomNode vcg::tri::io::UtilDAE::findNodeBySpecificAttributeValue | ( | const QDomNode | n, | |
const QString & | tag, | |||
const QString & | attrname, | |||
const QString & | attrvalue | |||
) | [inline, static, protected] |
Definition at line 261 of file util_dae.h.
static QDomNode vcg::tri::io::UtilDAE::findNodeBySpecificAttributeValue | ( | const QDomNodeList & | ndl, | |
const QString & | attrname, | |||
const QString & | attrvalue | |||
) | [inline, static, protected] |
Definition at line 247 of file util_dae.h.
static int vcg::tri::io::UtilDAE::findOffSetForASingleSimplex | ( | QDomNode | node | ) | [inline, static, protected] |
Definition at line 444 of file util_dae.h.
static int vcg::tri::io::UtilDAE::findStringListAttribute | ( | QStringList & | list, | |
const QDomNode | node, | |||
const QDomNode | poly, | |||
const QDomDocument | startpoint, | |||
const char * | token | |||
) | [inline, static, protected] |
Definition at line 460 of file util_dae.h.
static int vcg::tri::io::UtilDAE::indexTextureByImgNode | ( | const QDomDocument | doc, | |
const QDomNode | node | |||
) | [inline, static, protected] |
Definition at line 526 of file util_dae.h.
static bool vcg::tri::io::UtilDAE::isThereTag | ( | const QDomDocument | n, | |
const QString & | tagname | |||
) | [inline, static, protected] |
Definition at line 281 of file util_dae.h.
static bool vcg::tri::io::UtilDAE::isThereTag | ( | const QDomNode | n, | |
const QString & | tagname | |||
) | [inline, static, protected] |
Definition at line 276 of file util_dae.h.
static bool vcg::tri::io::UtilDAE::isThereTag | ( | const QDomNodeList & | list | ) | [inline, static, protected] |
Definition at line 271 of file util_dae.h.
static void vcg::tri::io::UtilDAE::ParseMatrixNode | ( | vcg::Matrix44f & | m, | |
const QDomNode | t | |||
) | [inline, static, protected] |
Definition at line 399 of file util_dae.h.
static void vcg::tri::io::UtilDAE::ParseRotationMatrix | ( | vcg::Matrix44f & | m, | |
const std::vector< QDomNode > & | t | |||
) | [inline, static, protected] |
Definition at line 363 of file util_dae.h.
static void vcg::tri::io::UtilDAE::ParseTranslation | ( | vcg::Matrix44f & | m, | |
const QDomNode | t | |||
) | [inline, static, protected] |
Definition at line 381 of file util_dae.h.
static void vcg::tri::io::UtilDAE::referenceToANodeAttribute | ( | const QDomNode | n, | |
const QString & | attr, | |||
QString & | url_st | |||
) | [inline, static, protected] |
Definition at line 239 of file util_dae.h.
static bool vcg::tri::io::UtilDAE::removeChildNode | ( | QDomNode | node, | |
const QString & | tag = "" , |
|||
const QString & | attribname = "" , |
|||
const QString & | attribvalue = "" | |||
) | [inline, static, protected] |
Definition at line 336 of file util_dae.h.
static bool vcg::tri::io::UtilDAE::removeChildNodeList | ( | QDomNodeList & | nodelst, | |
const QString & | tag = "" , |
|||
const QString & | attribname = "" , |
|||
const QString & | attribvalue = "" | |||
) | [inline, static, protected] |
Definition at line 326 of file util_dae.h.
static QDomNode vcg::tri::io::UtilDAE::textureFinder | ( | QString & | boundMaterialName, | |
QString & | textureFileName, | |||
const QDomDocument | doc | |||
) | [inline, static, protected] |
Definition at line 481 of file util_dae.h.
static void vcg::tri::io::UtilDAE::TransfMatrix | ( | const QDomNode | parentnode, | |
const QDomNode | presentnode, | |||
vcg::Matrix44f & | m | |||
) | [inline, static, protected] |
Definition at line 418 of file util_dae.h.
static void vcg::tri::io::UtilDAE::valueStringList | ( | QStringList & | res, | |
const QDomNode | srcnode, | |||
const QString & | tag | |||
) | [inline, static, protected] |
Definition at line 303 of file util_dae.h.