pcd-loader- PCD file loader.

Safe HaskellNone




readPoints :: Vector v a => Header -> Handle -> Parser a -> IO (v a)Source

Read point data using a user-supplied ASCII point parser.

readPointsDefault :: Header -> Handle -> IO (Vector (Vector FieldType))Source

Load points of arbitrary dimension into a boxed vector with a Vector of FieldType as the point representation.

readXYZ :: Fractional a => Parser (V3 a)Source

Parse 3D points serialized in ASCII.

readXYZW :: Fractional a => Parser (V4 a)Source

Parse 4D points serialized to ASCII. This is useful for points with X,Y,Z, and RGB fields each represented by a single float.