Qt 5.11 | Qt 3D | C++ Classes | PlyGeometryLoader

Qt 5.11.3 Reference Documentation

# PlyGeometryLoader Class

(Qt3DRender::PlyGeometryLoader)

- List of all members, including inherited members

## Public Types

class | Element
class | Property
enum | DataType { Int8, Uint8, Int16, Uint16, ..., TypeUnknown }
enum | ElementType { ElementVertex, ElementFace, ElementUnknown }
enum | Format { FormatAscii, FormatBinaryLittleEndian, FormatBinaryBigEndian, FormatUnknown }
enum | PropertyType { PropertyVertexIndex, PropertyX, PropertyY, PropertyZ, ..., PropertyUnknown }

## Reimplemented Protected Functions

virtual bool | doLoad(QIODevice *ioDev, const QString &subMesh)

## Member Type Documentation

### enum PlyGeometryLoader::DataType

Specifies the data type specified in the parsed file.

Constant | Value
--- | ---
`Qt3DRender::PlyGeometryLoader::Int8` | `0`
`Qt3DRender::PlyGeometryLoader::Uint8` | `1`
`Qt3DRender::PlyGeometryLoader::Int16` | `2`
`Qt3DRender::PlyGeometryLoader::Uint16` | `3`
`Qt3DRender::PlyGeometryLoader::Int32` | `4`
`Qt3DRender::PlyGeometryLoader::Uint32` | `5`
`Qt3DRender::PlyGeometryLoader::Float32` | `6`
`Qt3DRender::PlyGeometryLoader::Float64` | `7`
`Qt3DRender::PlyGeometryLoader::TypeList` | `8`
`Qt3DRender::PlyGeometryLoader::TypeUnknown` | `9`

### enum PlyGeometryLoader::ElementType

Specifies the element type mentioned in the header of the file.

Constant | Value
--- | ---
`Qt3DRender::PlyGeometryLoader::ElementVertex` | `0`
`Qt3DRender::PlyGeometryLoader::ElementFace` | `1`
`Qt3DRender::PlyGeometryLoader::ElementUnknown` | `2`

### enum PlyGeometryLoader::Format

Specifies the format mentioned in the header of the parsed file.

Constant | Value
--- | ---
`Qt3DRender::PlyGeometryLoader::FormatAscii` | `0`
`Qt3DRender::PlyGeometryLoader::FormatBinaryLittleEndian` | `1`
`Qt3DRender::PlyGeometryLoader::FormatBinaryBigEndian` | `2`
`Qt3DRender::PlyGeometryLoader::FormatUnknown` | `3`

### enum PlyGeometryLoader::PropertyType

Specifies the property type from the PLY format file that has been loaded.

Constant | Value | Description
--- | --- | ---
`Qt3DRender::PlyGeometryLoader::PropertyVertexIndex` | `0` | Property name in header is `vertex_index`
`Qt3DRender::PlyGeometryLoader::PropertyX` | `1` | Property name in header is `X`
`Qt3DRender::PlyGeometryLoader::PropertyY` | `2` | Property name in header is `Y`
`Qt3DRender::PlyGeometryLoader::PropertyZ` | `3` | Property name in header is `Z`
`Qt3DRender::PlyGeometryLoader::PropertyNormalX` | `4` | Property name in header is `NormalX`
`Qt3DRender::PlyGeometryLoader::PropertyNormalY` | `5` | Property name in header is `NormalY`
`Qt3DRender::PlyGeometryLoader::PropertyNormalZ` | `6` | Property name in header is `NormalZ`
`Qt3DRender::PlyGeometryLoader::PropertyTextureU` | `7` | Property name in header is `TextureU`
`Qt3DRender::PlyGeometryLoader::PropertyTextureV` | `8` | Property name in header is `TextureV`
`Qt3DRender::PlyGeometryLoader::PropertyUnknown` | `9` | Property name in header is unknown

## Member Function Documentation

### `[virtual protected]` bool PlyGeometryLoader::doLoad(QIODevice *ioDev, const QString &subMesh)