Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data VisObject a
- = VisObjects [VisObject a]
- | Trans (V3 a) (VisObject a)
- | RotQuat (Quaternion a) (VisObject a)
- | RotDcm (M33 a) (VisObject a)
- | RotEulerRad (Euler a) (VisObject a)
- | RotEulerDeg (Euler a) (VisObject a)
- | Scale (a, a, a) (VisObject a)
- | Cylinder (a, a) Color
- | Box (a, a, a) Flavour Color
- | Cube a Flavour Color
- | Sphere a Flavour Color
- | Ellipsoid (a, a, a) Flavour Color
- | Line (Maybe a) [V3 a] Color
- | Line' (Maybe a) [(V3 a, Color)]
- | Arrow (a, a) (V3 a) Color
- | Axes (a, a)
- | Plane (V3 a) Color Color
- | Triangle (V3 a) (V3 a) (V3 a) Color
- | Quad (V3 a) (V3 a) (V3 a) (V3 a) Color
- | Text3d String (V3 a) BitmapFont Color
- | Text2d String (a, a) BitmapFont Color
- | Points [V3 a] (Maybe GLfloat) Color
- | ObjModel LoadedObjModel Color
- drawObjects :: VisObject GLdouble -> IO ()
- data LoadedObjModel = LoadedObjModel (Vector Double) (Vector Double) Int
- loadObjModel :: Foldable f => f (V3 Double, V3 Double) -> LoadedObjModel
- setPerspectiveMode :: IO ()
Documentation
VisObjects [VisObject a] | |
Trans (V3 a) (VisObject a) | |
RotQuat (Quaternion a) (VisObject a) | |
RotDcm (M33 a) (VisObject a) | |
RotEulerRad (Euler a) (VisObject a) | |
RotEulerDeg (Euler a) (VisObject a) | |
Scale (a, a, a) (VisObject a) | |
Cylinder (a, a) Color | |
Box (a, a, a) Flavour Color | |
Cube a Flavour Color | |
Sphere a Flavour Color | |
Ellipsoid (a, a, a) Flavour Color | |
Line (Maybe a) [V3 a] Color | |
Line' (Maybe a) [(V3 a, Color)] | |
Arrow (a, a) (V3 a) Color | |
Axes (a, a) | |
Plane (V3 a) Color Color | |
Triangle (V3 a) (V3 a) (V3 a) Color | |
Quad (V3 a) (V3 a) (V3 a) (V3 a) Color | |
Text3d String (V3 a) BitmapFont Color | |
Text2d String (a, a) BitmapFont Color | |
Points [V3 a] (Maybe GLfloat) Color | |
ObjModel LoadedObjModel Color |
Instances
data LoadedObjModel Source #
Instances
Generic LoadedObjModel Source # | |
Defined in Vis.VisObject type Rep LoadedObjModel :: Type -> Type # from :: LoadedObjModel -> Rep LoadedObjModel x # to :: Rep LoadedObjModel x -> LoadedObjModel # | |
Binary LoadedObjModel Source # | |
Defined in Vis.VisObject | |
type Rep LoadedObjModel Source # | |
Defined in Vis.VisObject type Rep LoadedObjModel = D1 ('MetaData "LoadedObjModel" "Vis.VisObject" "Vis-0.7.7.0-3RwQo3iQS6zU3FxhDjpx5" 'False) (C1 ('MetaCons "LoadedObjModel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Double)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Double)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) |
loadObjModel :: Foldable f => f (V3 Double, V3 Double) -> LoadedObjModel Source #
turn a list of vertexnormal tuples into vertexnormal arrays
setPerspectiveMode :: IO () Source #