C# Class NewTOAPIA.GL.Glu

Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
BeginCurve ( IntPtr nobj ) : void
BeginPolygon ( int tess ) : void
BeginSurface ( int nurb ) : void
BeginTrim ( int nurb ) : void
Build1DMipmaps ( int target, int internalFormat, int width, int format, int type, IntPtr data ) : int
Build2DMipmaps ( int internalFormat, int width, int height, int format, int type, IntPtr data ) : int
Build2DMipmaps ( int internalFormat, int width, int height, int format, int type, byte data ) : int
Cylinder ( IntPtr qobj, double baseRadius, double topRadius, double height, int slices, int stacks ) : void
DeleteNurbsRenderer ( IntPtr nurbsRenderer ) : void
DeleteQuadric ( IntPtr quadric ) : void
DeleteTess ( int tess ) : void
Disk ( IntPtr qobj, double innerRadius, double outerRadius, int slices, int loops ) : void
EndCurve ( IntPtr nobj ) : void
EndPolygon ( int tess ) : void
EndSurface ( int nurb ) : void
EndTrim ( int nurb ) : void
ErrorString ( GLErrorCode error ) : string
GetString ( GluStringName name ) : string
Glu ( GraphicsInterface gi ) : System
LookAt ( double eyex, double eyey, double eyez, double centerx, double centery, double centerz, double upx, double upy, double upz ) : void
NewNurbsRenderer ( ) : IntPtr
NewQuadric ( ) : IntPtr
NewTess ( ) : int
NextContour ( int tess, int type ) : void
NurbsCallback ( int nurb, int which, IntPtr CallBackFunc ) : void
NurbsProperty ( int nurb, int property, float value ) : void
Ortho2D ( double left, double right, double bottom, double top ) : void
PartialDisk ( int quad, double inner, double outer, int slices, int loops, double start, double sweep ) : void
Perspective ( double fov, double aspect, double zNear, double zFar ) : void
PickMatrix ( double x, double y, double width, double height, int viewport ) : void
Project ( double objx, double objy, double objz, double modelMatrix, double projectionMatrix, int viewPort, double &winX, double &winY, double &winZ ) : int
QuadricCallback ( int quad, int which, IntPtr CallBackFunc ) : void
QuadricDrawStyle ( IntPtr qobj, int drawStyle ) : void
QuadricNormals ( IntPtr qobj, int normals ) : void
QuadricOrientation ( IntPtr quadObject, int orientation ) : void
QuadricTexture ( IntPtr quadObject, int textureCoords ) : void
ScaleImage ( int format, int widthin, int heightin, int typein, IntPtr datain, int widthout, int heightout, int typeout, IntPtr dataout ) : int
Sphere ( IntPtr quadric, double radius, int slices, int stacks ) : void
TessBeginContour ( int tess ) : void
TessBeginPolygon ( int tess, IntPtr data ) : void
TessCallback ( int tess, int which, IntPtr CallBackFunc ) : void
TessEndContour ( int tess ) : void
TessEndPolygon ( int tess ) : void
TessNormal ( int tess, double valueX, double valueY, double valueZ ) : void
TessProperty ( int tess, int which, double data ) : void
UnProject ( double winx, double winy, double winz, double modelViewMatrix, double projectionMatrix, int viewPort, double posX, double posY, double posZ ) : int

Method Details

BeginCurve() public method

public BeginCurve ( IntPtr nobj ) : void
nobj System.IntPtr
return void

BeginPolygon() public method

public BeginPolygon ( int tess ) : void
tess int
return void

BeginSurface() public method

public BeginSurface ( int nurb ) : void
nurb int
return void

BeginTrim() public method

public BeginTrim ( int nurb ) : void
nurb int
return void

Build1DMipmaps() public method

public Build1DMipmaps ( int target, int internalFormat, int width, int format, int type, IntPtr data ) : int
target int
internalFormat int
width int
format int
type int
data System.IntPtr
return int

Build2DMipmaps() public method

public Build2DMipmaps ( int internalFormat, int width, int height, int format, int type, IntPtr data ) : int
internalFormat int
width int
height int
format int
type int
data System.IntPtr
return int

Build2DMipmaps() public method

public Build2DMipmaps ( int internalFormat, int width, int height, int format, int type, byte data ) : int
internalFormat int
width int
height int
format int
type int
data byte
return int

Cylinder() public method

public Cylinder ( IntPtr qobj, double baseRadius, double topRadius, double height, int slices, int stacks ) : void
qobj System.IntPtr
baseRadius double
topRadius double
height double
slices int
stacks int
return void

DeleteNurbsRenderer() public method

public DeleteNurbsRenderer ( IntPtr nurbsRenderer ) : void
nurbsRenderer System.IntPtr
return void

DeleteQuadric() public method

public DeleteQuadric ( IntPtr quadric ) : void
quadric System.IntPtr
return void

DeleteTess() public method

public DeleteTess ( int tess ) : void
tess int
return void

Disk() public method

public Disk ( IntPtr qobj, double innerRadius, double outerRadius, int slices, int loops ) : void
qobj System.IntPtr
innerRadius double
outerRadius double
slices int
loops int
return void

EndCurve() public method

public EndCurve ( IntPtr nobj ) : void
nobj System.IntPtr
return void

EndPolygon() public method

public EndPolygon ( int tess ) : void
tess int
return void

EndSurface() public method

public EndSurface ( int nurb ) : void
nurb int
return void

EndTrim() public method

public EndTrim ( int nurb ) : void
nurb int
return void

ErrorString() public method

public ErrorString ( GLErrorCode error ) : string
error GLErrorCode
return string

GetString() public static method

public static GetString ( GluStringName name ) : string
name GluStringName
return string

Glu() public method

public Glu ( GraphicsInterface gi ) : System
gi GraphicsInterface
return System

LookAt() public method

public LookAt ( double eyex, double eyey, double eyez, double centerx, double centery, double centerz, double upx, double upy, double upz ) : void
eyex double
eyey double
eyez double
centerx double
centery double
centerz double
upx double
upy double
upz double
return void

NewNurbsRenderer() public method

public NewNurbsRenderer ( ) : IntPtr
return System.IntPtr

NewQuadric() public method

public NewQuadric ( ) : IntPtr
return System.IntPtr

NewTess() public method

public NewTess ( ) : int
return int

NextContour() public method

public NextContour ( int tess, int type ) : void
tess int
type int
return void

NurbsCallback() public method

public NurbsCallback ( int nurb, int which, IntPtr CallBackFunc ) : void
nurb int
which int
CallBackFunc System.IntPtr
return void

NurbsProperty() public method

public NurbsProperty ( int nurb, int property, float value ) : void
nurb int
property int
value float
return void

Ortho2D() public method

public Ortho2D ( double left, double right, double bottom, double top ) : void
left double
right double
bottom double
top double
return void

PartialDisk() public method

public PartialDisk ( int quad, double inner, double outer, int slices, int loops, double start, double sweep ) : void
quad int
inner double
outer double
slices int
loops int
start double
sweep double
return void

Perspective() public method

public Perspective ( double fov, double aspect, double zNear, double zFar ) : void
fov double
aspect double
zNear double
zFar double
return void

PickMatrix() public method

public PickMatrix ( double x, double y, double width, double height, int viewport ) : void
x double
y double
width double
height double
viewport int
return void

Project() public method

public Project ( double objx, double objy, double objz, double modelMatrix, double projectionMatrix, int viewPort, double &winX, double &winY, double &winZ ) : int
objx double
objy double
objz double
modelMatrix double
projectionMatrix double
viewPort int
winX double
winY double
winZ double
return int

QuadricCallback() public method

public QuadricCallback ( int quad, int which, IntPtr CallBackFunc ) : void
quad int
which int
CallBackFunc System.IntPtr
return void

QuadricDrawStyle() public method

public QuadricDrawStyle ( IntPtr qobj, int drawStyle ) : void
qobj System.IntPtr
drawStyle int
return void

QuadricNormals() public method

public QuadricNormals ( IntPtr qobj, int normals ) : void
qobj System.IntPtr
normals int
return void

QuadricOrientation() public method

public QuadricOrientation ( IntPtr quadObject, int orientation ) : void
quadObject System.IntPtr
orientation int
return void

QuadricTexture() public method

public QuadricTexture ( IntPtr quadObject, int textureCoords ) : void
quadObject System.IntPtr
textureCoords int
return void

ScaleImage() public method

public ScaleImage ( int format, int widthin, int heightin, int typein, IntPtr datain, int widthout, int heightout, int typeout, IntPtr dataout ) : int
format int
widthin int
heightin int
typein int
datain System.IntPtr
widthout int
heightout int
typeout int
dataout System.IntPtr
return int

Sphere() public method

public Sphere ( IntPtr quadric, double radius, int slices, int stacks ) : void
quadric System.IntPtr
radius double
slices int
stacks int
return void

TessBeginContour() public method

public TessBeginContour ( int tess ) : void
tess int
return void

TessBeginPolygon() public method

public TessBeginPolygon ( int tess, IntPtr data ) : void
tess int
data System.IntPtr
return void

TessCallback() public method

public TessCallback ( int tess, int which, IntPtr CallBackFunc ) : void
tess int
which int
CallBackFunc System.IntPtr
return void

TessEndContour() public method

public TessEndContour ( int tess ) : void
tess int
return void

TessEndPolygon() public method

public TessEndPolygon ( int tess ) : void
tess int
return void

TessNormal() public method

public TessNormal ( int tess, double valueX, double valueY, double valueZ ) : void
tess int
valueX double
valueY double
valueZ double
return void

TessProperty() public method

public TessProperty ( int tess, int which, double data ) : void
tess int
which int
data double
return void

UnProject() public method

public UnProject ( double winx, double winy, double winz, double modelViewMatrix, double projectionMatrix, int viewPort, double posX, double posY, double posZ ) : int
winx double
winy double
winz double
modelViewMatrix double
projectionMatrix double
viewPort int
posX double
posY double
posZ double
return int