/
ImportPoints.java
168 lines (142 loc) · 3.37 KB
/
ImportPoints.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
package com.agisoft.metashape.tasks;
import com.agisoft.metashape.*;
/**
* Task class containing processing parameters.
*/
public class ImportPoints extends Task {
public ImportPoints() {
super("ImportPoints");
}
/**
* Calculate point normals.
*/
public void setCalculateNormals(boolean value) {
setParameter("calculate_normals", (Object) value);
}
/**
* Calculate point normals.
*/
public boolean getCalculateNormals() {
return (boolean) getParameter("calculate_normals");
}
/**
* Point cloud coordinate system.
*/
public void setCRS(CoordinateSystem value) {
setParameter("crs", (Object) value);
}
/**
* Point cloud coordinate system.
*/
public CoordinateSystem getCRS() {
return (CoordinateSystem) getParameter("crs");
}
/**
* Point cloud format. Default: PointsFormat.PointsFormatNone
*/
public void setFormat(PointsFormat value) {
setParameter("format", (Object) value);
}
/**
* Point cloud format. Default: PointsFormat.PointsFormatNone
*/
public PointsFormat getFormat() {
return (PointsFormat) getParameter("format");
}
/**
* Path to point cloud.
*/
public void setPath(String value) {
setParameter("path", (Object) value);
}
/**
* Path to point cloud.
*/
public String getPath() {
return (String) getParameter("path");
}
/**
* Number of point neighbors to use for normal estimation. Default: 28
*/
public void setPointNeighbors(int value) {
setParameter("point_neighbors", (Object) value);
}
/**
* Number of point neighbors to use for normal estimation. Default: 28
*/
public int getPointNeighbors() {
return (int) getParameter("point_neighbors");
}
/**
* Optional shift to be applied to point coordinates.
*/
public void setShift(Vector value) {
setParameter("shift", (Object) value);
}
/**
* Optional shift to be applied to point coordinates.
*/
public Vector getShift() {
return (Vector) getParameter("shift");
}
/**
* Trajectory file column order (t - time, x/y/z - coordinates, 0 - skip column).
*/
public void setTrajColumns(String value) {
setParameter("traj_columns", (Object) value);
}
/**
* Trajectory file column order (t - time, x/y/z - coordinates, 0 - skip column).
*/
public String getTrajColumns() {
return (String) getParameter("traj_columns");
}
/**
* Trajectory file delimiter.
*/
public void setTrajDelimiter(String value) {
setParameter("traj_delimiter", (Object) value);
}
/**
* Trajectory file delimiter.
*/
public String getTrajDelimiter() {
return (String) getParameter("traj_delimiter");
}
/**
* Trajectory file path.
*/
public void setTrajPath(String value) {
setParameter("traj_path", (Object) value);
}
/**
* Trajectory file path.
*/
public String getTrajPath() {
return (String) getParameter("traj_path");
}
/**
* Trajectory file number of rows to skip. Default: 0
*/
public void setTrajSkipRows(int value) {
setParameter("traj_skip_rows", (Object) value);
}
/**
* Trajectory file number of rows to skip. Default: 0
*/
public int getTrajSkipRows() {
return (int) getParameter("traj_skip_rows");
}
/**
* Use trajectory file or origin.
*/
public void setUseTrajectory(boolean value) {
setParameter("use_trajectory", (Object) value);
}
/**
* Use trajectory file or origin.
*/
public boolean getUseTrajectory() {
return (boolean) getParameter("use_trajectory");
}
}