public class PointCloud
extends java.lang.Object
| 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 |
| Constructor and Description |
|---|
PointCloud() |
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 |
delete() |
protected void |
finalize() |
int[] |
getCameraKeys() |
Chunk |
getChunk()
Chunk container, may be null.
|
static long |
getCPtr(PointCloud obj) |
MetaData |
getMeta()
Point cloud meta data.
|
java.lang.String |
getPath()
Path to point cloud file.
|
PointCloud.Points |
getPoints()
List of points, may be null.
|
PointCloud.Projections |
getProjections(int camera)
Point projections for the camera, may be null.
|
PointCloud.Tracks |
getTracks()
List of tracks, may be null.
|
Vector3d |
pickPoint(Vector3d origin,
Vector3d target)
Returns ray intersection with the sparse point cloud.
|
Image |
renderPreview(long width,
long height,
Matrix4x4d transform,
int point_size,
Progress progress)
Generate point cloud preview image.
|
void |
setMeta(MetaData meta)
Point cloud meta data.
|
void |
setPoints(PointCloud.Points points)
List of points, may be null.
|
void |
setProjections(int camera,
PointCloud.Projections projections)
Point projections for the camera, may be null.
|
void |
setTracks(PointCloud.Tracks tracks)
List of tracks, may be null.
|
public PointCloud(long cPtr,
boolean cMemoryOwn)
public PointCloud()
public PointCloud(PointCloud point_cloud)
public static long getCPtr(PointCloud obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public Chunk getChunk()
public java.lang.String getPath()
public void setMeta(MetaData meta)
public MetaData getMeta()
public void setTracks(PointCloud.Tracks tracks)
public PointCloud.Tracks getTracks()
public void setPoints(PointCloud.Points points)
public PointCloud.Points getPoints()
public void setProjections(int camera,
PointCloud.Projections projections)
public PointCloud.Projections getProjections(int camera)
public int[] getCameraKeys()
public void cleanup(Progress progress)
progress - Progress callback.public Vector3d pickPoint(Vector3d origin, Vector3d target)
origin - Ray origin.target - Point on the ray.public Image renderPreview(long width, long height, Matrix4x4d transform, int point_size, Progress progress)
width - Preview image width.height - Preview image height.transform - 4x4 viewpoint transformation matrix.point_size - Point size.