|
Graphics.FieldTrip.Geometry3 | Stability | experimental | Maintainer | conal@conal.net, andygill@ku.edu |
|
|
|
|
|
Description |
3D geometry
|
|
Synopsis |
|
data Geometry3 | | onMaterialG :: MaterialTrans -> Filter3 | | materialG :: Material -> Filter3 | | rendererG :: Renderer -> Geometry3 | | renderableG :: Renderable a => a -> Geometry3 | | flatG :: Geometry2 -> Geometry3 | | renderWith3 :: GContext -> Geometry3 -> IO () | | render3 :: Geometry3 -> IO () | | normalArrowG :: Col -> Filter3 | | cube :: Geometry3 | | box3 :: (MatrixComponent s, Real s, Floating s) => s -> s -> s -> Geometry3 | | sphere :: R -> Geometry3 | | usphere :: Geometry3 | | frustrum :: R -> R -> R -> Geometry3 | | cone :: R -> R -> Geometry3 | | cylinder :: R -> R -> Geometry3 | | torus :: R -> R -> Geometry3 | | surfG :: Surf (Vector2 R :> R) -> Geometry3 | | surfG' :: (Floating s, InnerSpace s, Scalar s ~ s, HasBasis s, HasTrie (Basis s), Basis s ~ (), VertexComponent s, NormalComponent s, Color c) => Surf (Vector2 s :> s) -> ((s, s) -> c) -> Geometry3 | | type Filter3 = Geometry3 -> Geometry3 | | move3 :: (MatrixComponent s, Real s, Floating s) => s -> s -> s -> Filter3 | | move3Y :: (MatrixComponent s, Real s, Floating s) => s -> Filter3 | | pivot3 :: (MatrixComponent s, Floating s, Real s) => Vector3 s -> Filter3 | | andFlip3 :: (MatrixComponent s, Floating s, Real s) => Vector3 s -> Filter3 | | pivot3Y :: Filter3 | | vsurf :: (InnerSpace s, Floating s, Scalar s ~ s, HasBasis s, HasTrie (Basis s), Basis s ~ ()) => Surf (Vector2 s :> s) -> Vector2 s -> VN3 s |
|
|
Documentation |
|
|
3D geometry
| Instances | |
|
|
|
Modify the material in a geometry. See also materialG.
|
|
|
Replace the material of a geometry. More generally, see onMaterialG.
|
|
|
Make a geometry from a rendering action. The action must leave graphics
state as it found it.
|
|
|
|
|
Flat geometry
|
|
|
Render the geometry, given a graphics context. Leaves graphics state unchanged.
|
|
|
Render the geometry with default graphics context. See also renderWith3.
|
|
|
|
|
|
|
|
|
Sphere with given radius
|
|
|
Unit sphere
|
|
|
Frustrum of a cone, with given base radius, top radius, and height,
centered at origin.
|
|
|
Cone with given base radius and height, and height,
centered at origin..
|
|
|
Cylinder with given radius and height, centered at origin, and height,
centered at origin..
|
|
|
Torus with given radii for the sweep and the swept circle
|
|
|
Parametric surface without texture
|
|
|
Parametric surface with texture
surfG' :: Surf (Vector2 R :> R) -> ImageC -> Geometry3
|
|
Geometry filters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |