Skip navigation links
A B C D E G I L M N P Q R S T V 

S

scale(double, double, double) - Method in class graphicslib3D.Matrix3D
Concatentates a scaling transformation onto this matrix.
scale(double, double, double) - Method in class graphicslib3D.MatrixStack
Applies the specified scale factors to the Matrix3D at the top of the stack.
scale(double) - Method in class graphicslib3D.Point3D
Scales each of the X, Y, and Z components of this point by the given scaleFactor.
scale(double, double, double) - Method in class graphicslib3D.Shape3D
Concatenates a scaling by amounts sx, sy, and sz in the X, Y, and Z directions respectively onto the scaling transformation matrix for this shape.
scale(double) - Method in class graphicslib3D.Vector3D
Scales each of the X, Y, and Z components of this Vector by the given scaleFactor.
scale(double) - Method in class graphicslib3D.Vertex3D
Scales each of the X, Y, and Z components of this vertex's location by the given scaleFactor.
set(double[]) - Method in class graphicslib3D.Matrix3D.MatrixInvert
Sets the values in this Matrix4d equal to the row-major array parameter (ie, the first four elements of the array will be copied into the first row of this matrix, etc.).
set2DTextureCoordinates(double, double) - Method in class graphicslib3D.Vertex3D
Sets the S,T texture coordinate values of this Vertex3D object.
setAlpha(float) - Method in class graphicslib3D.light.AmbientLight
Sets the Alpha component of the AmbientLight to the specified value.
setAmbient(float[]) - Method in class graphicslib3D.light.Light
Sets the ambient reflection coefficients of this Light to the specified array of values.
setAmbient(float[]) - Method in class graphicslib3D.Material
Sets the ambient reflection coefficients of this material.
setBinormal(Vector3D) - Method in class graphicslib3D.Vertex3D
Sets the binormal (also sometimes called "bitangent") of this Vertex3D to a new Vector3D object which is a clone of the specified Vector3D object.
setBinormal(float, float, float) - Method in class graphicslib3D.Vertex3D
Sets the binormal of this Vertex3D to the specified vector values.
setBlue(float) - Method in class graphicslib3D.light.AmbientLight
Sets the Blue component of the AmbientLight to the specified value.
setCol(int, Vector3D) - Method in class graphicslib3D.Matrix3D
Sets the specified column of this matrix to the XYZW values of the specified vector.
setColor(Color) - Method in class graphicslib3D.Vertex3D
Sets the color of this Vertex3D object to the RGB values of the specified Color object.
setColor(int, int, int) - Method in class graphicslib3D.Vertex3D
Sets the color of this Vertex3D object to the specified RGB Color values.
setConstantAtt(float) - Method in class graphicslib3D.light.PositionalLight
Sets the constant attenuation attribute of this PositionalLight to the specified value.
setCutoffAngle(float) - Method in class graphicslib3D.light.SpotLight
Sets the cutoff angle attribute of this SpotLight to the specified value.
setDiffuse(float[]) - Method in class graphicslib3D.light.Light
Sets the diffuse reflection coefficients of this Light to the specified array of values.
setDiffuse(float[]) - Method in class graphicslib3D.Material
Sets the diffuse reflection coefficients of this material.
setDirection(Vector3D) - Method in class graphicslib3D.light.DistantLight
Sets the direction of this DistantLight to the direction of the specified Vector3D.
setDirection(Vector3D) - Method in class graphicslib3D.light.SpotLight
Sets the direction of the cone constraining the SpotLight to the values specified by the provided Vector3D.
setElementAt(int, int, double) - Method in class graphicslib3D.Matrix3D
Sets the element stored in this matrix at the specified location to the specified value.
setEmission(float[]) - Method in class graphicslib3D.Material
Sets the emission coefficients of this material.
setFalloffExponent(float) - Method in class graphicslib3D.light.SpotLight
Sets the falloff exponent attribute of this SpotLight to the specified value.
setGreen(float) - Method in class graphicslib3D.light.AmbientLight
Sets the Green component of the AmbientLight to the specified value.
setLinearAtt(float) - Method in class graphicslib3D.light.PositionalLight
Sets the linear attenuation attribute of this PositionalLight to the specified value.
setLocation(Point3D) - Method in class graphicslib3D.Vertex3D
Sets the location of this Vertex3D object to be the same as the location of the specified Point3D.
setLocation(double, double, double, double) - Method in class graphicslib3D.Vertex3D
Sets the location of this Vertex3D object to the specified values.
setLocation(double, double, double) - Method in class graphicslib3D.Vertex3D
Sets the X,Y,Z components of the location of this Vertex3D object to the specified values.
setName(String) - Method in class graphicslib3D.light.Light
Sets the name of this Light to the specified String.
setName(String) - Method in class graphicslib3D.Material
Sets a new name for this material.
setName(String) - Method in class graphicslib3D.Shape3D
Sets the specified string as the name of this Shape3D object.
setNormal(Vector3D) - Method in class graphicslib3D.Vertex3D
Sets the vertex normal of this Vertex3D to a new Vector3D object which is a clone of the specified Vector3D object.
setNormal(float, float, float) - Method in class graphicslib3D.Vertex3D
Sets the vertex normal of this Vertex3D to the specified vector values.
setNormal(double, double, double) - Method in class graphicslib3D.Vertex3D
Sets the vertex normal of this Vertex3D to the specified vector values.
setNormalX(double) - Method in class graphicslib3D.Vertex3D
Sets the value of the X component of the vertex normal to the specified value.
setNormalY(double) - Method in class graphicslib3D.Vertex3D
Sets the value of the Y component of the vertex normal to the specified value.
setNormalZ(double) - Method in class graphicslib3D.Vertex3D
Sets the value of the Z component of the vertex normal to the specified value.
setP(double) - Method in class graphicslib3D.Vertex3D
Sets the P value of this Vertex3D object's texture coordinate to the specified value.
setPosition(Point3D) - Method in class graphicslib3D.light.PositionalLight
Sets the position of the PositionalLight to the values specified by the provided Point3D.
setQ(double) - Method in class graphicslib3D.Vertex3D
Sets the Q value (that is, the homogeneous component) of this Vertex3D object's texture coordinate to the specified value.
setQuadraticAtt(float) - Method in class graphicslib3D.light.PositionalLight
Sets the quadratice attenuation attribute of this PositionalLight to the specified value.
setRed(float) - Method in class graphicslib3D.light.AmbientLight
Sets the Red component of the AmbientLight to the specified value.
setRotation(Matrix3D) - Method in class graphicslib3D.Shape3D
Set the rotation matrix for this Shape3D.
setRow(int, Vector3D) - Method in class graphicslib3D.Matrix3D
Sets the specified row of this matrix to the XYZW values of the specified vector.
setS(double) - Method in class graphicslib3D.Vertex3D
Sets the S value of this Vertex3D object's texture coordinate to the specified value.
setScale(Matrix3D) - Method in class graphicslib3D.Shape3D
Set the scaling matrix for this Shape3D.
setShininess(float) - Method in class graphicslib3D.Material
Sets the glossiness value of the material.
setSpecular(float[]) - Method in class graphicslib3D.light.Light
Sets the specular reflection coefficients of this Light to the specified array of values.
setSpecular(float[]) - Method in class graphicslib3D.Material
Sets the specular reflection coefficients of this material.
setST(double, double) - Method in class graphicslib3D.Vertex3D
Sets the S,T 2D texture coordinate values of this Vertex3D object.
setSTP(double, double, double) - Method in class graphicslib3D.Vertex3D
Sets the S,T,P 3D texture coordinate values of this Vertex3D object.
setSTPQ(double, double, double, double) - Method in class graphicslib3D.Vertex3D
Sets the S,T,P,Q 4D texture coordinate values of this Vertex3D object.
setT(double) - Method in class graphicslib3D.Vertex3D
Sets the T value of this Vertex3D object's texture coordinate to the specified value.
setTangent(Vector3D) - Method in class graphicslib3D.Vertex3D
Sets the tangent of this Vertex3D to a new Vector3D object which is a clone of the specified Vector3D object.
setTangent(float, float, float) - Method in class graphicslib3D.Vertex3D
Sets the tangent of this Vertex3D to the specified vector values.
setTangentSpaceLightVector(Vector3D) - Method in class graphicslib3D.Vertex3D
Sets the Vertex3D tangent space light vector to the specified vector.
setToIdentity() - Method in class graphicslib3D.Matrix3D
Initializes this matrix to the identity matrix.
setTranslation(Matrix3D) - Method in class graphicslib3D.Shape3D
Set the translation matrix for this Shape3D.
setV(double[]) - Method in class graphicslib3D.Quaternion
Specifies a new vector part for this quaternion.
setValues(float[]) - Method in class graphicslib3D.light.AmbientLight
Sets the RGBA values of the AmbientLight to the values in the specified array, which must contain four values.
setValues(double[]) - Method in class graphicslib3D.Matrix3D
Loads the elements of this Matrix3D from a 16-element 1-dimensional array containing the elements arranged in column order.
setW(double) - Method in class graphicslib3D.Point3D
Sets the W component of this Point3D object.
setW(double) - Method in class graphicslib3D.Quaternion
Specifies a new value for the scalar part of this quaternion.
setW(double) - Method in class graphicslib3D.Vector3D
Sets the W component of this Vector3D object.
setW(double) - Method in class graphicslib3D.Vertex3D
Sets the W value (the homogeneous component) of this Vertex3D object's location to the specified value.
setX(double) - Method in class graphicslib3D.Point3D
Sets the X component of this Point3D object.
setX(double) - Method in class graphicslib3D.Vector3D
Sets the X component of this Vector3D object.
setX(double) - Method in class graphicslib3D.Vertex3D
Sets the X value of this Vertex3D object's location to the specified value.
setY(double) - Method in class graphicslib3D.Point3D
Sets the Y component of this Point3D object.
setY(double) - Method in class graphicslib3D.Vector3D
Sets the Y component of this Vector3D object.
setY(double) - Method in class graphicslib3D.Vertex3D
Sets the Y value of this Vertex3D object's location to the specified value.
setZ(double) - Method in class graphicslib3D.Point3D
Sets the Z component of this Point3D object.
setZ(double) - Method in class graphicslib3D.Vector3D
Sets the Z component of this Vector3D object.
setZ(double) - Method in class graphicslib3D.Vertex3D
Sets the Z value of this Vertex3D object's location to the specified value.
Shape3D - Class in graphicslib3D
Defines the abstract base class from which 3D shapes are derived.
Shape3D() - Constructor for class graphicslib3D.Shape3D
Creates and initializes this Shape3D object.
Shape3D(String) - Constructor for class graphicslib3D.Shape3D
Creates and initializes this Shape3D object.
Shape3D(String, Matrix3D, Matrix3D, Matrix3D) - Constructor for class graphicslib3D.Shape3D
Creates a Shape as specified by the given attributes.
SILVER - Static variable in class graphicslib3D.Material
A predefined material with the ambient, diffuse, specular, and shininess characteristics of Silver.
slerp(Quaternion, double) - Method in class graphicslib3D.Quaternion
Spherical interpolation between this quaternion and quat.
Sphere - Class in graphicslib3D.shape
This class defines a sphere constructed by defining ring made up of vertices in the XZ plane and then making additional rings above and below it, progressively smaller towards the poles.
Sphere() - Constructor for class graphicslib3D.shape.Sphere
Constructs a Sphere with default precision.
Sphere(int) - Constructor for class graphicslib3D.shape.Sphere
Constructs a Sphere with specified precision.
SpotLight - Class in graphicslib3D.light
This class represents a PositionalLight which is a spot light; that is, a light which has a direction together with values cutoffAngle and falloffExponent defining a cone which restricts the light (much like a lamp shade) as it shines in the specified direction.
SpotLight() - Constructor for class graphicslib3D.light.SpotLight
Constructs a SpotLight with default direction [0,0,-1], cutoffAngle = 45 degrees, default exponent = 2.0, and with other attribute values as defined by the no-argument constructor of superclass PositionalLight.
A B C D E G I L M N P Q R S T V 
Skip navigation links