public class TiledModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
TiledModel() |
TiledModel(long cPtr,
boolean cMemoryOwn) |
TiledModel(TiledModel tiled_model) |
| Modifier and Type | Method and Description |
|---|---|
static long[] |
cArrayUnwrap(TiledModel[] arrayWrapper) |
static TiledModel[] |
cArrayWrap(long[] cArray,
boolean cMemoryOwn) |
void |
delete() |
protected void |
finalize() |
Chunk |
getChunk()
Chunk container, may be null.
|
CoordinateSystem |
getCoordinateSystem()
Reference coordinate system, may be null.
|
static long |
getCPtr(TiledModel obj) |
int |
getKey()
Tiled model identifier.
|
java.lang.String |
getLabel()
Tiled model label.
|
MetaData |
getMeta()
Tiled model meta data.
|
java.lang.String |
getPath()
Path to tiled model file.
|
Matrix4x4d |
getTransform()
4x4 tiled model transformation matrix.
|
Vector3d |
pickPoint(Vector3d origin,
Vector3d target)
Returns ray intersection with the tiled model.
|
Image |
renderPreview(long width,
long height,
Matrix4x4d transform,
Progress progress)
Generate tiled model preview image.
|
void |
setCoordinateSystem(CoordinateSystem crs)
Reference coordinate system, may be null.
|
void |
setLabel(java.lang.String label)
Tiled model label.
|
void |
setMeta(MetaData meta)
Tiled model meta data.
|
void |
setTransform(Matrix4x4d transform)
4x4 tiled model transformation matrix.
|
public TiledModel(long cPtr,
boolean cMemoryOwn)
public TiledModel()
public TiledModel(TiledModel tiled_model)
public static long getCPtr(TiledModel obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public static long[] cArrayUnwrap(TiledModel[] arrayWrapper)
public static TiledModel[] cArrayWrap(long[] cArray, boolean cMemoryOwn)
public int getKey()
public Chunk getChunk()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public java.lang.String getPath()
public void setMeta(MetaData meta)
public MetaData getMeta()
public void setTransform(Matrix4x4d transform)
public Matrix4x4d getTransform()
public void setCoordinateSystem(CoordinateSystem crs)
public CoordinateSystem getCoordinateSystem()
public Vector3d pickPoint(Vector3d origin, Vector3d target)
origin - Ray origin.target - Point on the ray.public Image renderPreview(long width, long height, Matrix4x4d transform, Progress progress)
width - Preview image width.height - Preview image height.transform - 4x4 viewpoint transformation matrix.