Safe Haskell | None |
---|
Parse Stanford 3D Scanning Repository .conf files that place individual PLY models into a consistent coordinate frame.
- parseConf :: ByteString -> Either String Conf
- type Transformation a = (V3 a, Quaternion a)
- data Conf = Conf {
- camera :: Transformation Double
- meshes :: [(ByteString, Transformation Double)]
Documentation
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 | |
|