public class PlyReader extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FORMAT_ASCII
constant representing ply format
|
static int |
FORMAT_BINARY_BIG_ENDIAN |
static int |
FORMAT_BINARY_LITTLE_ENDIAN |
static int |
FORMAT_NON_FORMAT |
| 构造器和说明 |
|---|
PlyReader() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
read(File file,
Class<T> clazz) |
<T> void |
read(File file,
T pointCloud,
ReadListener listener)
read a 3d point cloud from a ply file.
|
PlyHeader |
readHeader(FileReader reader) |
PlyHeader |
readHeaderThenCloseFile(File file) |
static PlyPropertyType |
recognizeType(String type) |
public static final int FORMAT_ASCII
public static final int FORMAT_BINARY_BIG_ENDIAN
public static final int FORMAT_BINARY_LITTLE_ENDIAN
public static final int FORMAT_NON_FORMAT
public PlyHeader readHeaderThenCloseFile(File file) throws IOException
IOExceptionpublic PlyHeader readHeader(FileReader reader) throws IOException
IOExceptionpublic static PlyPropertyType recognizeType(String type)
public <T> void read(File file, T pointCloud, ReadListener listener)
file - The point cloud file(ply)pointCloud - The point cloud object (with annotation ReadFromPly)Copyright © 2019. All rights reserved.