rsagl-0.2.1: The RogueStar Animation and Graphics Library
Source code
Contents
Index
RSAGL.Model
Documentation
type
Model
attr = [ModeledSurface attr]
Source
type
Modeling
attr =
ModelingM
attr ()
Source
data
ModelingM
attr a
Source
Instances
MonadMaterial
ModelingM
Monad
(
ModelingM
attr)
MonadAffine
(
ModelingM
attr)
MonadState
([] (ModeledSurface attr)) (
ModelingM
attr)
AffineTransformable
(
ModelingM
attr ())
data
MaterialM
attr a
Source
Instances
MonadMaterial
MaterialM
Monad
(
MaterialM
attr)
MonadAffine
(
MaterialM
attr)
MonadState
([] Quasimaterial) (
MaterialM
attr)
AffineTransformable
(
MaterialM
attr ())
data
IntermediateModel
Source
Instances
NFData
IntermediateModel
Bound3D
IntermediateModel
parIntermediateModel
::
Strategy
IntermediateModel
Source
generalSurface
::
Monoid
attr =>
Either
(
Surface
Point3D
) (
Surface
(
Point3D
,
Vector3D
)) ->
Modeling
attr
Source
extractModel
::
Modeling
attr ->
Model
attr
Source
toIntermediateModel
::
Integer
->
Modeling
attr ->
IntermediateModel
Source
intermediateModelToOpenGL
::
IntermediateModel
->
IO
()
Source
intermediateModelToVertexCloud
::
IntermediateModel
-> [
SurfaceVertex3D
]
Source
splitOpaques
::
IntermediateModel
-> (
IntermediateModel
, [
IntermediateModel
])
Source
modelingToOpenGL
::
Integer
->
Modeling
attr ->
IO
()
Source
sphere
::
Monoid
attr =>
Point3D
->
Double
->
Modeling
attr
Source
torus
::
Monoid
attr =>
Double
->
Double
->
Modeling
attr
Source
openCone
::
Monoid
attr => (
Point3D
,
Double
) -> (
Point3D
,
Double
) ->
Modeling
attr
Source
closedCone
::
Monoid
attr => (
Point3D
,
Double
) -> (
Point3D
,
Double
) ->
Modeling
attr
Source
openDisc
::
Monoid
attr =>
Double
->
Double
->
Modeling
attr
Source
closedDisc
::
Monoid
attr =>
Point3D
->
Vector3D
->
Double
->
Modeling
attr
Source
quadralateral
::
Monoid
attr =>
Point3D
->
Point3D
->
Point3D
->
Point3D
->
Modeling
attr
Source
triangle
::
Monoid
attr =>
Point3D
->
Point3D
->
Point3D
->
Modeling
attr
Source
box
::
Monoid
attr =>
Point3D
->
Point3D
->
Modeling
attr
Source
sor
::
Monoid
attr =>
Curve
Point3D
->
Modeling
attr
Source
tube
::
Monoid
attr =>
Curve
(
Double
,
Point3D
) ->
Modeling
attr
Source
prism
::
Monoid
attr =>
Vector3D
-> (
Point3D
,
Double
) -> (
Point3D
,
Double
) ->
Curve
Point3D
->
Modeling
attr
Source
adaptive
::
Modeling
attr
Source
fixed
:: (
Integer
,
Integer
) ->
Modeling
attr
Source
tesselationHintComplexity
::
Monoid
attr =>
Integer
->
Modeling
attr
Source
twoSided
::
Monoid
attr =>
Bool
->
Modeling
attr
Source
attribute
::
Monoid
attr => attr ->
Modeling
attr
Source
withAttribute
:: (attr ->
Bool
) ->
Modeling
attr ->
Modeling
attr
Source
model
::
Modeling
attr ->
Modeling
attr
Source
type
RGBFunction
=
ApplicativeWrapper
((->)
SurfaceVertex3D
)
RGB
Source
type
RGBAFunction
=
ApplicativeWrapper
((->)
SurfaceVertex3D
)
RGBA
Source
material
:: MonadMaterial m =>
MaterialM
attr () -> m attr ()
Source
pigment
::
RGBFunction
->
MaterialM
attr ()
Source
specular
::
GLfloat
->
RGBFunction
->
MaterialM
attr ()
Source
emissive
::
RGBFunction
->
MaterialM
attr ()
Source
transparent
::
RGBAFunction
->
MaterialM
attr ()
Source
class
MonadAffine
m
where
Source
Methods
affine
::
AffineTransformation
-> m ()
Source
Instances
MonadAffine
(
MaterialM
attr)
MonadAffine
(
ModelingM
attr)
turbulence
:: (
SurfaceVertex3D
->
SurfaceVertex3D
) ->
MaterialM
attr ()
Source
deform
::
DeformationClass
dc => dc ->
Modeling
attr
Source
sphericalCoordinates
:: ((
Angle
,
Angle
) -> a) ->
Surface
a
Source
cylindricalCoordinates
:: ((
Angle
,
Double
) -> a) ->
Surface
a
Source
toroidalCoordinates
:: ((
Angle
,
Angle
) -> a) ->
Surface
a
Source
planarCoordinates
::
Point3D
->
Vector3D
-> ((
Double
,
Double
) -> (
Double
,
Double
)) ->
Surface
(
Point3D
,
Vector3D
)
Source
transformUnitCubeToUnitSphere
::
Point3D
->
Point3D
Source
transformUnitSquareToUnitCircle
:: (
Double
,
Double
) -> (
Double
,
Double
)
Source
Produced by
Haddock
version 2.1.0