Class PCDSaver
Inheritance
System.Object
PCDSaver
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Marus.Utils
Assembly: cs.temp.dll.dll
Syntax
public static class PCDSaver
Methods
TransposeArrayInPlace(Single*, Int32, Int32)
Non-square matrix transpose of matrix of size r x c and base address A
Declaration
public static void TransposeArrayInPlace(float *A, int r, int c)
Parameters
Type | Name | Description |
---|---|---|
System.Single* | A | Pointer to flattened matrix |
System.Int32 | r | Row count |
System.Int32 | c | Column count |
WriteToPcdFile(String, NativeArray<Vector3>, String)
Write pointcloud to .pcd file.
Declaration
public static void WriteToPcdFile(string filePath, NativeArray<Vector3> pointcloud, string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | Location for saving pcd file |
NativeArray<Vector3> | pointcloud | Points data |
System.String | format | Either ascii, binary or binary_compressed |
WriteToPcdFileWithIntensity(String, List<Vector3>, List<LidarReading>)
Write pointcloud with intensity field
Declaration
public static void WriteToPcdFileWithIntensity(string filePath, List<Vector3> pointcloud, List<LidarReading> lidarReadings)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | |
List<Vector3> | pointcloud | |
List<LidarReading> | lidarReadings |