Struct SampleStamp
Used to store sampling request internally.
Namespace: Mechatronics.SensorSDK
Syntax
public struct SampleStamp
Constructors
SampleStamp(Transform, Transform, Int32)
Construct and initialize a sample stamp.
Declaration
public SampleStamp(Transform sensorToWorldTransform, Transform referenceToWorldTransform, int _count)
Parameters
Type | Name | Description |
---|---|---|
Transform | sensorToWorldTransform | Transform of the photosensor (rotating part) |
Transform | referenceToWorldTransform | Transform of the reference frame used for outputs (fixed part) |
Int32 | _count | Number of sample to take |
Fields
count
Number of sample to take
Declaration
public int count
Field Value
Type | Description |
---|---|
Int32 |
referenceToWorldRotation
Orientation of the sensor's reference frame in world space.
Declaration
public Vector4 referenceToWorldRotation
Field Value
Type | Description |
---|---|
Vector4 |
referenceToWorldTranslation
Position of the sensor's reference frame in world space.
Declaration
public Vector3 referenceToWorldTranslation
Field Value
Type | Description |
---|---|
Vector3 |
sensorToWorldRotation
Orientation of the photosensor in world space.
Declaration
public Vector4 sensorToWorldRotation
Field Value
Type | Description |
---|---|
Vector4 |
sensorToWorldTranslation
Position of the photosensor in world space.
Declaration
public Vector3 sensorToWorldTranslation
Field Value
Type | Description |
---|---|
Vector3 |