Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Parse Stanford 3D Scanning Repository ".conf
" files that place
individual PLY models into a consistent coordinate frame.
- parseConf :: Fractional a => ByteString -> Either String (Conf a)
- type Transformation a = (V3 a, Quaternion a)
- data Conf a = Conf {
- camera :: Transformation a
- meshes :: [(ByteString, Transformation a)]
Documentation
parseConf :: Fractional a => ByteString -> Either String (Conf a) Source #
Parse a Stanford .conf file.
type Transformation a = (V3 a, Quaternion a) Source #
A 3D transformation represented as a translation vector and a rotation.
A .conf
file includes a base transformation matrix, and a
list of meshes identified by their file name and a Transformation
to place geometry in a consistent coordinate frame.
Conf | |
|