Package org.robwork.sdurw_sensor
Class Scanner25DModel
- java.lang.Object
-
- org.robwork.sdurw_kinematics.Stateless
-
- org.robwork.sdurw_sensor.SensorModel
-
- org.robwork.sdurw_sensor.Scanner25DModel
-
public class Scanner25DModel extends SensorModel
Model of a 25D (2D with depth information) scanner. The images are
essentially point clouds.
-
-
Constructor Summary
Constructors Constructor Description Scanner25DModel(long cPtr, boolean cMemoryOwn)
Scanner25DModel(java.lang.String name, int width, int height, FramePtr frame)
constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(Scanner25DModel obj)
int
getHeight()
height of images taken with 25 sensorpair_d_d
getRange()
get the min and maximum depth of this scanner in metersPointCloud
getScan(State state)
get handle to point cloud data in state.int
getWidth()
width of images taken with 25 sensorvoid
setRange(double min, double max)
set the min and maximum depth of this scanner in metersvoid
setRange(pair_d_d range)
set the min and maximum depth of this scanner in metersvoid
setScan(PointCloud data, State state)
set point cloud data in state-
Methods inherited from class org.robwork.sdurw_sensor.SensorModel
attachTo, getCPtr, getDescription, getFrame, getName, getPropertyMap, setDescription, setName
-
Methods inherited from class org.robwork.sdurw_kinematics.Stateless
getCPtr, getStateStructure, isRegistered, registerIn, registerIn, unregister
-
-
-
-
Constructor Detail
-
Scanner25DModel
public Scanner25DModel(long cPtr, boolean cMemoryOwn)
-
Scanner25DModel
public Scanner25DModel(java.lang.String name, int width, int height, FramePtr frame)
constructor- Parameters:
frame
- [in] the frame that the scanner is attached toname
- [in] name of scanner sensorwidth
-height
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(Scanner25DModel obj)
-
delete
public void delete()
- Overrides:
delete
in classSensorModel
-
getScan
public PointCloud getScan(State state)
get handle to point cloud data in state.- Parameters:
state
- [in] the state with point cloud data
-
setScan
public void setScan(PointCloud data, State state)
set point cloud data in state- Parameters:
data
- [in] point cloud data to setstate
- [in] state in which to set the point cloud
-
getWidth
public int getWidth()
width of images taken with 25 sensor
-
getHeight
public int getHeight()
height of images taken with 25 sensor
-
getRange
public pair_d_d getRange()
get the min and maximum depth of this scanner in meters
-
setRange
public void setRange(double min, double max)
set the min and maximum depth of this scanner in meters
-
setRange
public void setRange(pair_d_d range)
set the min and maximum depth of this scanner in meters
-
-