Package com.agisoft.metashape
Class TiledModel
java.lang.Object
com.agisoft.metashape.TiledModel
Tiled model.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTiledModel(long cPtr, boolean cMemoryOwn) TiledModel(TiledModel tiled_model) -
Method Summary
Modifier and TypeMethodDescriptionstatic long[]cArrayUnwrap(TiledModel[] arrayWrapper) static TiledModel[]cArrayWrap(long[] cArray, boolean cMemoryOwn) voiddelete()protected voidfinalize()getChunk()Chunk container, may be null.Reference coordinate system, may be null.static longgetCPtr(TiledModel obj) intgetKey()Tiled model identifier.getLabel()Tiled model label.getMeta()Tiled model meta data.getPath()Path to tiled model file.4x4 tiled model transformation matrix.Returns ray intersection with the tiled model.renderPreview(long width, long height, Matrix4x4d transform, Progress progress) Generate tiled model preview image.voidReference coordinate system, may be null.voidTiled model label.voidTiled model meta data.voidsetTransform(Matrix4x4d transform) 4x4 tiled model transformation matrix.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
TiledModel
public TiledModel(long cPtr, boolean cMemoryOwn) -
TiledModel
public TiledModel() -
TiledModel
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
cArrayUnwrap
-
cArrayWrap
-
getKey
public int getKey()Tiled model identifier. -
getChunk
Chunk container, may be null. -
setLabel
Tiled model label. -
getLabel
Tiled model label. -
getPath
Path to tiled model file. -
setMeta
Tiled model meta data. -
getMeta
Tiled model meta data. -
setTransform
4x4 tiled model transformation matrix. -
getTransform
4x4 tiled model transformation matrix. -
setCoordinateSystem
Reference coordinate system, may be null. -
getCoordinateSystem
Reference coordinate system, may be null. -
pickPoint
Returns ray intersection with the tiled model.- Parameters:
origin- Ray origin.target- Point on the ray.- Returns:
- Coordinates of the intersection point, may be null.
-
renderPreview
Generate tiled model preview image.- Parameters:
width- Preview image width.height- Preview image height.transform- 4x4 viewpoint transformation matrix.- Returns:
- Preview image.
-