ply-loader-0.5.0: PLY file loader.

Safe HaskellSafe
LanguageHaskell2010

PLY.Conf

Description

Parse Stanford 3D Scanning Repository ".conf" files that place individual PLY models into a consistent coordinate frame.

Synopsis

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.

data Conf a Source #

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.

Constructors

Conf 

Instances

Show a => Show (Conf a) Source # 

Methods

showsPrec :: Int -> Conf a -> ShowS #

show :: Conf a -> String #

showList :: [Conf a] -> ShowS #