JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1 Class Reference

GearsObjectES1.java
More...

Inheritance diagram for com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1:

Public Member Functions

 GearsObjectES1 (final GL gl, final boolean useMappedBuffers, final FloatBuffer gearColor, final float inner_radius, final float outer_radius, final float width, final int teeth, final float tooth_depth, final boolean validateBuffers)
 
 GearsObjectES1 (final GearsObject shared)
 
GLArrayDataServer createInterleaved (final boolean useMappedBuffers, final int comps, final int dataType, final boolean normalized, final int initialSize, final int vboUsage)
 
void addInterleavedVertexAndNormalArrays (final GLArrayDataServer array, final int components)
 
void draw (final GL _gl, final float x, final float y, final float angle)
 
- Public Member Functions inherited from com.jogamp.opengl.test.junit.jogl.demos.GearsObject
abstract GLArrayDataServer createInterleaved (boolean useMappedBuffers, int comps, int dataType, boolean normalized, int initialSize, int vboUsage)
 
abstract void addInterleavedVertexAndNormalArrays (GLArrayDataServer array, int components)
 
abstract void draw (GL gl, float x, float y, float angle)
 
void destroy (final GL gl)
 
 GearsObject (final GearsObject shared)
 
 GearsObject (final GL gl, final boolean useMappedBuffers, final FloatBuffer gearColor, final float inner_radius, final float outer_radius, final float width, final int teeth, final float tooth_depth, final boolean validateBuffers)
 
String toString ()
 

Additional Inherited Members

- Public Attributes inherited from com.jogamp.opengl.test.junit.jogl.demos.GearsObject
final FloatBuffer gearColor
 
GLArrayDataServer frontFace
 
GLArrayDataServer frontSide
 
GLArrayDataServer backFace
 
GLArrayDataServer backSide
 
GLArrayDataServer outwardFace
 
GLArrayDataServer insideRadiusCyl
 
boolean isShared
 
- Static Public Attributes inherited from com.jogamp.opengl.test.junit.jogl.demos.GearsObject
static final FloatBuffer red = Buffers.newDirectFloatBuffer( new float[] { 0.8f, 0.1f, 0.0f, 0.7f } )
 
static final FloatBuffer green = Buffers.newDirectFloatBuffer( new float[] { 0.0f, 0.8f, 0.2f, 0.7f } )
 
static final FloatBuffer blue = Buffers.newDirectFloatBuffer( new float[] { 0.2f, 0.2f, 1.0f, 0.7f } )
 
static final float M_PI = (float)Math.PI
 
- Protected Attributes inherited from com.jogamp.opengl.test.junit.jogl.demos.GearsObject
boolean validateBuffers = false
 

Detailed Description

GearsObjectES1.java

Author
Brian Paul (converted to Java by Ron Cemer and Sven Gothel)

Definition at line 39 of file GearsObjectES1.java.

Constructor & Destructor Documentation

◆ GearsObjectES1() [1/2]

com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1.GearsObjectES1 ( final GL  gl,
final boolean  useMappedBuffers,
final FloatBuffer  gearColor,
final float  inner_radius,
final float  outer_radius,
final float  width,
final int  teeth,
final float  tooth_depth,
final boolean  validateBuffers 
)

Definition at line 41 of file GearsObjectES1.java.

◆ GearsObjectES1() [2/2]

com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1.GearsObjectES1 ( final GearsObject  shared)

Definition at line 46 of file GearsObjectES1.java.

Member Function Documentation

◆ addInterleavedVertexAndNormalArrays()

void com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1.addInterleavedVertexAndNormalArrays ( final GLArrayDataServer  array,
final int  components 
)

Reimplemented from com.jogamp.opengl.test.junit.jogl.demos.GearsObject.

Definition at line 60 of file GearsObjectES1.java.

Here is the call graph for this function:

◆ createInterleaved()

GLArrayDataServer com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1.createInterleaved ( final boolean  useMappedBuffers,
final int  comps,
final int  dataType,
final boolean  normalized,
final int  initialSize,
final int  vboUsage 
)

Reimplemented from com.jogamp.opengl.test.junit.jogl.demos.GearsObject.

Definition at line 51 of file GearsObjectES1.java.

Here is the call graph for this function:

◆ draw()

void com.jogamp.opengl.test.junit.jogl.demos.es1.GearsObjectES1.draw ( final GL  _gl,
final float  x,
final float  y,
final float  angle 
)

Reimplemented from com.jogamp.opengl.test.junit.jogl.demos.GearsObject.

Definition at line 88 of file GearsObjectES1.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: