public class ModelLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ModelLoader.Callback |
Constructor and Description |
---|
ModelLoader(java.io.File file,
java.lang.String subModel,
ModelProjection projection,
ModelLoader.Callback cb) |
ModelLoader(RubberModelData data,
ModelLoader.Callback cb) |
Modifier and Type | Method and Description |
---|---|
void |
errorOccurred(java.lang.String msg,
java.lang.Throwable t) |
int |
getProbeLimit() |
boolean |
isCanceled() |
boolean |
isProbeOnly() |
boolean |
load() |
void |
progress(int progress) |
void |
setProbeMatch(boolean match) |
void |
setTransform(Matrix transformMat)
Set the transform matrix to be applied to the model after center alignment
with the ground
|
public ModelLoader(java.io.File file, java.lang.String subModel, ModelProjection projection, ModelLoader.Callback cb)
public ModelLoader(RubberModelData data, ModelLoader.Callback cb)
public void setTransform(Matrix transformMat)
transformMat
- Transform matrixpublic boolean load()
public boolean isCanceled()
public boolean isProbeOnly()
public int getProbeLimit()
public void setProbeMatch(boolean match)
public void errorOccurred(java.lang.String msg, java.lang.Throwable t)
public void progress(int progress)