@ServiceProvider(value=MeshDecoder.class) public class MG2Decoder extends MG1Decoder
| Modifier and Type | Field and Description |
|---|---|
static int |
GIDX |
static int |
MG2_HEADER_TAG |
static int |
MG2_Tag |
MG1_TAGFORMAT_VERSION, RAW_TAG| Constructor and Description |
|---|
MG2Decoder() |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
decode(MeshInfo minfo,
CtmInputStream in) |
boolean |
isFormatSupported(int tag,
int version) |
readFloatArray, readIntArray, restoreIndicescheckTagpublic static final int MG2_Tag
public static final int MG2_HEADER_TAG
public static final int GIDX
public boolean isFormatSupported(int tag,
int version)
isFormatSupported in interface MeshDecoderisFormatSupported in class MG1Decoderpublic Mesh decode(MeshInfo minfo, CtmInputStream in) throws IOException, BadFormatException, InvalidDataException
decode in interface MeshDecoderdecode in class MG1DecoderIOExceptionBadFormatExceptionInvalidDataExceptionCopyright © 2017. All rights reserved.