- getAlpha() - Method in class graphicslib3D.light.AmbientLight
-
Returns the Alpha component of the AmbientLight
.
- getAmbient() - Method in class graphicslib3D.light.Light
-
Returns a float [] containing the ambient reflection coefficients of this Light.
- getAmbient() - Method in class graphicslib3D.Material
-
Returns an array containing values which are the same as the ambient
reflection coefficients of the material (that is, returns a clone of
this material's ambient reflection coefficient array).
- getAmbientLight() - Static method in class graphicslib3D.light.AmbientLight
-
This method provides access to the singleton instance of the ambient light.
- getAngleAxis() - Method in class graphicslib3D.Quaternion
-
Returns the angle and axis of rotation specified by this quaternion.
- getBinormal() - Method in class graphicslib3D.Vertex3D
-
Returns the Vertex3D "binormal" vector.
- getBlue() - Method in class graphicslib3D.light.AmbientLight
-
Returns the Blue component of the AmbientLight
.
- getCol(int) - Method in class graphicslib3D.Matrix3D
-
Returns a new Vector3D containing in its XYZW fields
the values currently stored in the specified column
(0,1,2, or 3) of this matrix.
- getColor() - Method in class graphicslib3D.Vertex3D
-
Returns a new Color object whose RGB values are the same as the RGB color
values of this Vertex3D object.
- getConstantAtt() - Method in class graphicslib3D.light.PositionalLight
-
Returns the value of the constant attenuation attribute of this
PositionalLight
.
- getCutoffAngle() - Method in class graphicslib3D.light.SpotLight
-
Returns the value of the cutoff angle attribute of this
SpotLight
.
- getDiffuse() - Method in class graphicslib3D.light.Light
-
Returns the diffuse reflection coefficients of this Light.
- getDiffuse() - Method in class graphicslib3D.Material
-
Returns an array containing values which are the same as the diffuse
reflection coefficients of the material (that is, returns a clone of
this material's diffuse reflection coefficient array).
- getDirection() - Method in class graphicslib3D.light.DistantLight
-
Returns a
Vector3D
giving the direction of this
DistantLight
.
- getDirection() - Method in class graphicslib3D.light.SpotLight
-
Returns a
Vector3D
giving the
direction attribute of this
SpotLight
.
- getEmission() - Method in class graphicslib3D.Material
-
Returns an array containing values which are the same as the emission
coefficients of the material (that is, returns a clone of
this material's emission coefficient array).
- getFalloffExponent() - Method in class graphicslib3D.light.SpotLight
-
Returns the value of the falloff exponent attribute of this
SpotLight
.
- getFloatTextureCoords() - Method in class graphicslib3D.Vertex3D
-
Returns a float array containing the S,T,P, and Q components of this Vertex3D object's
texture coordinate.
- getFloatValues() - Method in class graphicslib3D.Matrix3D
-
Returns a 1-dimensional array of floats containing the elements of this Matrix3D extracted
in column order.
- getGreen() - Method in class graphicslib3D.light.AmbientLight
-
Returns the Green component of the AmbientLight
.
- getIndices() - Method in class graphicslib3D.shape.Sphere
-
Returns the array of indexes
- getIndices() - Method in class graphicslib3D.shape.Torus
-
Returns an array of indexes into the array returned by
Torus.getVertices()
;
each three index values define the vertices of a single triangle of the
Torus
.
- getLinearAtt() - Method in class graphicslib3D.light.PositionalLight
-
Returns the value of the linear attenuation attribute of this
PositionalLight
.
- getLocation() - Method in class graphicslib3D.Vertex3D
-
Returns a new Point3D object whose location is the same as the location
of this Vertex3D.
- getName() - Method in class graphicslib3D.light.Light
-
Returns the name of this Light.
- getName() - Method in class graphicslib3D.Material
-
Returns the name of this Material
- getName() - Method in class graphicslib3D.Shape3D
-
Returns a String containing the name of this Shape3D object.
- getNormal() - Method in class graphicslib3D.Vertex3D
-
Returns a new Vector3D object whose magnitude and direction are the same
as the vertex normal of this vertex.
- getNormalX() - Method in class graphicslib3D.Vertex3D
-
Returns the current value of the X component of the vertex normal.
- getNormalY() - Method in class graphicslib3D.Vertex3D
-
Returns the current value of the Y component of the vertex normal.
- getNormalZ() - Method in class graphicslib3D.Vertex3D
-
Returns the current value of the Z component of the vertex normal.
- getP() - Method in class graphicslib3D.Vertex3D
-
Returns the P value of this Vertex3D object's texture coordinate.
- getPosition() - Method in class graphicslib3D.light.PositionalLight
-
Returns a
Point3D
giving the position attribute of this
PositionalLight
.
- getQ() - Method in class graphicslib3D.Vertex3D
-
Returns the Q value (that is, the homogeneous component) of this Vertex3D
object's texture coordinate.
- getQuadraticAtt() - Method in class graphicslib3D.light.PositionalLight
-
Returns the value of the quadratic attenuation attribute of this
PositionalLight
.
- getRed() - Method in class graphicslib3D.light.AmbientLight
-
Returns the Red component of the AmbientLight
.
- getRotation() - Method in class graphicslib3D.Shape3D
-
Get the rotation
Matrix3D
associated with this object.
- getRow(int) - Method in class graphicslib3D.Matrix3D
-
Returns a Vector3D containing in its XYZW fields
the values currently stored in the specified row
(0,1,2, or 3) of this matrix.
- getRow(int, double[]) - Method in class graphicslib3D.Matrix3D.MatrixInvert
-
Copies the matrix values in the specified row into the array parameter.
- getS() - Method in class graphicslib3D.Vertex3D
-
Returns the S value of this Vertex3D object's texture coordinate.
- getScale() - Method in class graphicslib3D.Shape3D
-
Get the scaling
Matrix3D
associated with this object.
- getShininess() - Method in class graphicslib3D.Material
-
Returns the shininess value of the material.
- getSpecular() - Method in class graphicslib3D.light.Light
-
Returns the specular reflection coefficients of this Light.
- getSpecular() - Method in class graphicslib3D.Material
-
Returns an array containing values which are the same as the specular
reflection coefficients of the material (that is, returns a clone of
this material's specular reflection coefficient array).
- getSTPQ() - Method in class graphicslib3D.Vertex3D
-
Returns a double array containing the S,T,P, and Q components of this Vertex3D object's
texture coordinate.
- getT() - Method in class graphicslib3D.Vertex3D
-
Returns the V value of this Vertex3D object's texture coordinate.
- getTangent() - Method in class graphicslib3D.Vertex3D
-
Returns the Vertex3D tangent vector.
- getTangentSpaceLightVector() - Method in class graphicslib3D.Vertex3D
-
Returns the Vertex3D tangent space light vector.
- getTransform() - Method in class graphicslib3D.Shape3D
-
Returns a single
Matrix3D
which contains the concatenation of the current
translation, rotation, and scaling transforms of this
Shape3D
, with
the concatenation done in that order (translation, then rotation, then scaling).
- getTranslation() - Method in class graphicslib3D.Shape3D
-
Get the translation
Matrix3D
associated with this object.
- getV() - Method in class graphicslib3D.Quaternion
-
Returns the vector part of this quaternion.
- getValues() - Method in class graphicslib3D.light.AmbientLight
-
Returns a float array containing the R,G,B,A values of the AmbientLight
.
- getValues() - Method in class graphicslib3D.Matrix3D
-
Returns a 1-dimensional array of doubles containing the elements of this Matrix3D extracted
in column order.
- getVertices() - Method in class graphicslib3D.shape.Sphere
-
Returns the array of vertices
- getVertices() - Method in class graphicslib3D.shape.Torus
-
Returns an array of
Vertex3D
s defining this
Torus
.
- getW() - Method in class graphicslib3D.Point3D
-
Returns the W component of this Point3D object.
- getW() - Method in class graphicslib3D.Quaternion
-
Returns the scalar part of this quaternion.
- getW() - Method in class graphicslib3D.Vector3D
-
Returns the W component of this Vector3D object.
- getW() - Method in class graphicslib3D.Vertex3D
-
Returns the W value (the homogeneous component) of this Vertex3D object's
location.
- getX() - Method in class graphicslib3D.Point3D
-
Returns the X component of this Point3D object.
- getX() - Method in class graphicslib3D.Vector3D
-
Returns the X component of this Vector3D object.
- getX() - Method in class graphicslib3D.Vertex3D
-
Returns the X value of this Vertex3D object's location.
- getY() - Method in class graphicslib3D.Point3D
-
Returns the Y component of this Point3D object.
- getY() - Method in class graphicslib3D.Vector3D
-
Returns the Y component of this Vector3D object.
- getY() - Method in class graphicslib3D.Vertex3D
-
Returns the Y value of this Vertex3D object's location.
- getZ() - Method in class graphicslib3D.Point3D
-
Returns the Z component of this Point3D object.
- getZ() - Method in class graphicslib3D.Vector3D
-
Returns the Z component of this Vector3D object.
- getZ() - Method in class graphicslib3D.Vertex3D
-
Returns the Z value of this Vertex3D object's location.
- GLSLUtils - Class in graphicslib3D
-
This class defines a set of static utility methods useful when manipulating
GLSL shader programs in a JOGL OpenGL environment, including routines to
read shader source from a file, fetch and print shader and shader program
information logs, and check for OpenGL errors.
- GLSLUtils() - Constructor for class graphicslib3D.GLSLUtils
-
- GOLD - Static variable in class graphicslib3D.Material
-
A predefined material with the ambient, diffuse, specular, and shininess
characteristics of Gold.
- graphicslib3D - package graphicslib3D
-
- graphicslib3D.light - package graphicslib3D.light
-
- graphicslib3D.shape - package graphicslib3D.shape
-