The Robot Application Programming Interface Delegate Project
RAPID Logo

PointCloudSample Class Reference

PointSample describes the position and attributes of a point in the cloud. More...

Inheritance diagram for PointCloudSample:
Collaboration diagram for PointCloudSample:

List of all members.

Public Member Functions

 PointCloudSample ()
 PointCloudSample (PointCloudSample other)
boolean equals (Object o)
int hashCode ()
Object copy_from (Object src)
 This is the implementation of the Copyable interface.
String toString ()
String toString (String desc, int indent)

Static Public Member Functions

static Object create ()

Public Attributes

gov.nasa.rapid.idl.dds.rapid.Vec3d origin = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create()
 Origin of points (i.e., offset from frame 0,0,0 in meters).
gov.nasa.rapid.idl.dds.rapid.Vec3d xyzScale = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create()
 Per-element scale factor to convert point units to a meaningful value.
gov.nasa.rapid.idl.dds.rapid.PointSampleSequence points = (gov.nasa.rapid.idl.dds.rapid.PointSampleSequence) gov.nasa.rapid.idl.dds.rapid.PointSampleSequence.create()
 Sequence of points.
gov.nasa.rapid.idl.dds.rapid.ShortSequence rowLengths = (gov.nasa.rapid.idl.dds.rapid.ShortSequence) gov.nasa.rapid.idl.dds.rapid.ShortSequence.create()
 Descriptions of rows from the same scan-line.

Detailed Description

Note: Attributes are included in this struct because we get them for free on the wire due to word alignment. PointCloudSample message sends data in point cloud format.


Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

Object copy_from ( Object  src)

This method will perform a deep copy of src This method could be placed into PointCloudSampleTypeSupport rather than here by using the -noCopyable option to rtiddsgen.

Parameters:
srcThe Object which contains the data to be copied.
Returns:
Returns this.
Exceptions:
NullPointerExceptionIf src is null.
ClassCastExceptionIf src is not the same type as this.
See also:
com.rti.dds.infrastructure.Copyable.copy_from(java.lang.Object)

Reimplemented from Message.

Here is the call graph for this function:

static Object create ( ) [static]

Reimplemented from Message.

Here is the call graph for this function:

boolean equals ( Object  o)

Reimplemented from Message.

Here is the call graph for this function:

int hashCode ( )

Reimplemented from Message.

Here is the call graph for this function:

String toString ( String  desc,
int  indent 
)

Reimplemented from Message.

Here is the call graph for this function:

String toString ( )

Reimplemented from Message.


Member Data Documentation

gov.nasa.rapid.idl.dds.rapid.Vec3d origin = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create()

If all points belong to the same point cloud,

rowLengths.length() == 0 (or rowLengths.length()==1 && rowLengths[0] == samples.length() )

Otherwise,

SUM(rowLengths) == samples.length().

gov.nasa.rapid.idl.dds.rapid.Vec3d xyzScale = (gov.nasa.rapid.idl.dds.rapid.Vec3d) gov.nasa.rapid.idl.dds.rapid.Vec3d.create()

Following conversion, spatial coordinates should be in METERS and angular values should be in RADIANS.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines