public class PointCloud
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
PointCloud.Point |
static class |
PointCloud.Points |
static class |
PointCloud.Projection |
static class |
PointCloud.Projections |
static class |
PointCloud.Track |
static class |
PointCloud.Tracks |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
PointCloud() |
protected |
PointCloud(long cPtr,
boolean cMemoryOwn) |
|
PointCloud(PointCloud point_cloud) |
| 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(PointCloud obj) |
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Point cloud meta data.
|
java.lang.String |
getPath()
Path to point cloud file.
|
java.util.Optional<PointCloud.Points> |
getPoints()
List of points, may be null.
|
java.util.Optional<PointCloud.Projections> |
getProjections(int camera)
Point projections for the camera, may be null.
|
java.util.Optional<PointCloud.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 point cloud preview image.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Point cloud meta data.
|
void |
setPoints(java.util.Optional<PointCloud.Points> points)
List of points, may be null.
|
void |
setProjections(int camera,
java.util.Optional<PointCloud.Projections> projections)
Point projections for the camera, may be null.
|
void |
setTracks(java.util.Optional<PointCloud.Tracks> tracks)
List of tracks, may be null.
|
protected PointCloud(long cPtr,
boolean cMemoryOwn)
public PointCloud()
public PointCloud(PointCloud point_cloud)
protected static long getCPtr(PointCloud obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void close()
close in interface java.lang.AutoCloseablepublic 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(java.util.Optional<PointCloud.Tracks> tracks)
public java.util.Optional<PointCloud.Tracks> getTracks()
public void setPoints(java.util.Optional<PointCloud.Points> points)
public java.util.Optional<PointCloud.Points> getPoints()
public void setProjections(int camera,
java.util.Optional<PointCloud.Projections> projections)
public java.util.Optional<PointCloud.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.