public class TiePoints
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
TiePoints.Point |
static class |
TiePoints.Points |
static class |
TiePoints.Projection |
static class |
TiePoints.Projections |
static class |
TiePoints.Track |
static class |
TiePoints.Tracks |
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
TiePoints() |
protected |
TiePoints(long cPtr,
boolean cMemoryOwn) |
|
TiePoints(TiePoints tie_points) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup(Progress progress)
Remove points with insufficient number of projections.
|
void |
close() |
void |
delete() |
protected void |
finalize() |
int[] |
getCameraKeys() |
java.util.Optional<Chunk> |
getChunk()
Chunk container, may be null.
|
protected static long |
getCPtr(TiePoints obj) |
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Tie points meta data.
|
java.lang.String |
getPath()
Path to tie points file.
|
java.util.Optional<TiePoints.Points> |
getPoints()
List of points, may be null.
|
java.util.Optional<TiePoints.Projections> |
getProjections(int camera)
Point projections for the camera, may be null.
|
java.util.Optional<TiePoints.Tracks> |
getTracks()
List of tracks, may be null.
|
java.util.Optional<Vector> |
pickPoint(Vector origin,
Vector target)
Returns ray intersection with the tie point cloud.
|
Image |
renderPreview(long width,
long height,
Matrix transform,
int point_size,
Progress progress)
Generate tie points preview image.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Tie points meta data.
|
void |
setPoints(TiePoints.Points points)
List of points, may be null.
|
void |
setProjections(int camera,
TiePoints.Projections projections)
Point projections for the camera, may be null.
|
void |
setTracks(TiePoints.Tracks tracks)
List of tracks, may be null.
|
protected TiePoints(long cPtr, boolean cMemoryOwn)
public TiePoints()
public TiePoints(TiePoints tie_points)
protected static long getCPtr(TiePoints obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public java.util.Optional<Chunk> getChunk()
public java.lang.String getPath()
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Map<java.lang.String,java.lang.String> getMeta()
public void setTracks(TiePoints.Tracks tracks)
public java.util.Optional<TiePoints.Tracks> getTracks()
public void setPoints(TiePoints.Points points)
public java.util.Optional<TiePoints.Points> getPoints()
public void setProjections(int camera, TiePoints.Projections projections)
public java.util.Optional<TiePoints.Projections> getProjections(int camera)
public int[] getCameraKeys()
public void cleanup(Progress progress)
progress
- Progress callback.public java.util.Optional<Vector> pickPoint(Vector origin, Vector target)
origin
- Ray origin.target
- Point on the ray.public Image renderPreview(long width, long height, Matrix transform, int point_size, Progress progress)
width
- Preview image width.height
- Preview image height.transform
- 4x4 viewpoint transformation matrix.point_size
- Point size.