OpenGL-2.2.1.1: A binding for the OpenGL graphics systemSource codeContentsIndex
Graphics.Rendering.OpenGL.GLU.NURBS
Portabilityportable
Stabilitystable
Maintainersven.panne@aedion.de
Description
This module corresponds to chapter 7 (NURBS) of the GLU specs.
Documentation
data NURBSObj Source
withNURBSObj :: a -> (NURBSObj -> IO a) -> IO aSource
type NURBSBeginCallback = PrimitiveMode -> IO ()Source
withNURBSBeginCallback :: NURBSObj -> NURBSBeginCallback -> IO a -> IO aSource
type NURBSVertexCallback = Vertex3 GLfloat -> IO ()Source
withNURBSVertexCallback :: NURBSObj -> NURBSVertexCallback -> IO a -> IO aSource
type NURBSNormalCallback = Normal3 GLfloat -> IO ()Source
withNURBSNormalCallback :: NURBSObj -> NURBSNormalCallback -> IO a -> IO aSource
type NURBSColorCallback = Color4 GLfloat -> IO ()Source
withNURBSColorCallback :: NURBSObj -> NURBSColorCallback -> IO a -> IO aSource
type NURBSEndCallback = IO ()Source
withNURBSEndCallback :: NURBSObj -> NURBSEndCallback -> IO a -> IO aSource
checkForNURBSError :: NURBSObj -> IO a -> IO aSource
nurbsBeginEndCurve :: NURBSObj -> IO a -> IO aSource
nurbsCurve :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO ()Source
nurbsBeginEndSurface :: NURBSObj -> IO a -> IO aSource
nurbsSurface :: ControlPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr GLfloat -> GLint -> GLint -> Ptr (c GLfloat) -> GLint -> GLint -> IO ()Source
class TrimmingPoint p Source
show/hide Instances
nurbsBeginEndTrim :: NURBSObj -> IO a -> IO aSource
pwlCurve :: TrimmingPoint p => NURBSObj -> GLint -> Ptr (p GLfloat) -> GLint -> IO ()Source
trimmingCurve :: TrimmingPoint c => NURBSObj -> GLint -> Ptr GLfloat -> GLint -> Ptr (c GLfloat) -> GLint -> IO ()Source
data NURBSMode Source
Constructors
NURBSTessellator
NURBSRenderer
show/hide Instances
setNURBSMode :: NURBSObj -> NURBSMode -> IO ()Source
setNURBSCulling :: NURBSObj -> Capability -> IO ()Source
data SamplingMethod Source
Constructors
PathLength GLfloat
ParametricError GLfloat
DomainDistance GLfloat GLfloat
ObjectPathLength GLfloat
ObjectParametricError GLfloat
show/hide Instances
setSamplingMethod :: NURBSObj -> SamplingMethod -> IO ()Source
loadSamplingMatrices :: (Matrix m1, Matrix m2) => NURBSObj -> Maybe (m1 GLfloat, m2 GLfloat, (Position, Size)) -> IO ()Source
data DisplayMode' Source
Constructors
Fill'
OutlinePolygon
OutlinePatch
show/hide Instances
setDisplayMode' :: NURBSObj -> DisplayMode' -> IO ()Source
Produced by Haddock version 0.8