gnu.x11.extension.glx
Class Quadric

java.lang.Object
  extended by gnu.x11.extension.glx.Quadric

public class Quadric
extends java.lang.Object

GLU quadric object.

Modified from src-glu/quadric.c in Mesa 3D by Brian Paul.


Field Summary
 int draw_style
           
static int FILL
           
static int FLAT
           
 GL gl
           
static int INSIDE
           
static int LINE
           
static int NONE
           
 int normals
           
 int orientation
           
static int OUTSIDE
           
static int POINT
           
static int SILHOUETTE
           
static int SMOOTH
           
 boolean texture
           
 
Constructor Summary
Quadric(GL gl)
           
 
Method Summary
 void cylinder(double base_radius, double top_radius, double height, int slices, int stacks)
           
 void disk(double inner_radius, double outer_radius, int slices, int loops)
           
 void partial_disk(double inner_radius, double outer_radius, int slices, int loops, double start, double sweep)
           
 void sphere(double radius, int slices, int stacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMOOTH

public static final int SMOOTH
See Also:
Constant Field Values

FLAT

public static final int FLAT
See Also:
Constant Field Values

NONE

public static final int NONE
See Also:
Constant Field Values

POINT

public static final int POINT
See Also:
Constant Field Values

LINE

public static final int LINE
See Also:
Constant Field Values

FILL

public static final int FILL
See Also:
Constant Field Values

SILHOUETTE

public static final int SILHOUETTE
See Also:
Constant Field Values

OUTSIDE

public static final int OUTSIDE
See Also:
Constant Field Values

INSIDE

public static final int INSIDE
See Also:
Constant Field Values

gl

public GL gl

draw_style

public int draw_style

normals

public int normals

orientation

public int orientation

texture

public boolean texture
Constructor Detail

Quadric

public Quadric(GL gl)
Method Detail

cylinder

public void cylinder(double base_radius,
                     double top_radius,
                     double height,
                     int slices,
                     int stacks)
See Also:
gluCylinder

disk

public void disk(double inner_radius,
                 double outer_radius,
                 int slices,
                 int loops)
See Also:
gluDisk

partial_disk

public void partial_disk(double inner_radius,
                         double outer_radius,
                         int slices,
                         int loops,
                         double start,
                         double sweep)
See Also:
gluPartialDisk

sphere

public void sphere(double radius,
                   int slices,
                   int stacks)
See Also:
gluSphere