Package com.agisoft.metashape
Class TiledModel
java.lang.Object
com.agisoft.metashape.TiledModel
- All Implemented Interfaces:
AutoCloseable
Tiled model.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTiledModel(long cPtr, boolean cMemoryOwn) TiledModel(TiledModel tiled_model) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddelete()protected voidfinalize()getChunk()Chunk container, may be null.Reference coordinate system, may be null.protected 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, Matrix transform, Progress progress) Generate tiled model preview image.voidReference coordinate system, may be null.voidTiled model label.voidTiled model meta data.voidsetTransform(Matrix transform) 4x4 tiled model transformation matrix.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
TiledModel
protected TiledModel(long cPtr, boolean cMemoryOwn) -
TiledModel
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
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.
-