public class CtmFileReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OCTM |
| Constructor and Description |
|---|
CtmFileReader(InputStream source) |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
decode() |
Mesh |
decodeWithoutValidation() |
String |
getFileComment()
before calling this method the first time, the decode method has to be
called.
|
static int |
getTagInt(String tag) |
static String |
unpack(int tag) |
public CtmFileReader(InputStream source)
public Mesh decode() throws IOException, BadFormatException, InvalidDataException
public Mesh decodeWithoutValidation() throws IOException, BadFormatException, InvalidDataException
public static String unpack(int tag)
public String getFileComment()
RuntimeException - if the file wasn't decoded before.public static int getTagInt(String tag)
Copyright © 2017. All rights reserved.