ObjLoader Class

(Qt3D::ObjLoader)

Public Functions

ObjLoader()
QGeometry * geometry() const
bool hasNormals() const
bool hasTangents() const
bool hasTextureCoordinates() const
QVector<unsigned int> indices() const
bool isLoadTextureCoordinatesEnabled() const
bool isMeshCenteringEnabled() const
bool isTangentGenerationEnabled() const
bool load(const QString & fileName)
QVector<QVector3D> normals() const
void setLoadTextureCoordinatesEnabled(bool b)
void setMeshCenteringEnabled(bool b)
void setTangentGenerationEnabled(bool b)
QVector<QVector4D> tangents() const
QVector<QVector2D> textureCoordinates() const
QVector<QVector3D> vertices() const

Member Function Documentation

ObjLoader::ObjLoader()

QGeometry * ObjLoader::geometry() const

bool ObjLoader::hasNormals() const

bool ObjLoader::hasTangents() const

bool ObjLoader::hasTextureCoordinates() const

QVector<unsigned int> ObjLoader::indices() const

bool ObjLoader::isLoadTextureCoordinatesEnabled() const

bool ObjLoader::isMeshCenteringEnabled() const

bool ObjLoader::isTangentGenerationEnabled() const

bool ObjLoader::load(const QString & fileName)

QVector<QVector3D> ObjLoader::normals() const

void ObjLoader::setLoadTextureCoordinatesEnabled(bool b)

See also isLoadTextureCoordinatesEnabled().

void ObjLoader::setMeshCenteringEnabled(bool b)

See also isMeshCenteringEnabled().

void ObjLoader::setTangentGenerationEnabled(bool b)

See also isTangentGenerationEnabled().

QVector<QVector4D> ObjLoader::tangents() const

QVector<QVector2D> ObjLoader::textureCoordinates() const

QVector<QVector3D> ObjLoader::vertices() const

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.