All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.vecmath.Color3f

java.lang.Object
   |
   +----javax.vecmath.Tuple3f
           |
           +----javax.vecmath.Color3f

public class Color3f
extends javax.vecmath.Tuple3f
implements java.io.Serializable
A 3 element color represented by single precision floating point x,y,z coordinates. Color components should be in the range of zero to one.

Version:
specification 1.1, implementation $Revision: 1.7 $, $Date: 1999/03/04 09:16:33 $
Author:
Kenji hiranabe

Constructor Index

 o Color3f()
Constructs and initializes a Color3f to (0,0,0).
 o Color3f(Color3f)
Constructs and initializes a Color3f from the specified Color3f.
 o Color3f(float, float, float)
Constructs and initializes a Color3f from the specified xyz
 o Color3f(float[])
Constructs and initializes a Color3f from input array of length 3.
 o Color3f(Tuple3d)
Constructs and initializes a Color3f from the specified Tuple3d.
 o Color3f(Tuple3f)
Constructs and initializes a Color3f from the specified Tuple3f.

Constructors

 o Color3f
 public Color3f(float x,
                float y,
                float z)
Constructs and initializes a Color3f from the specified xyz

Parameters:
x - the x coordinate
y - the y coordinate
z - the z coordinate
 o Color3f
 public Color3f(float c[])
Constructs and initializes a Color3f from input array of length 3.

Parameters:
c - the array of length 3 containing xyz in order
 o Color3f
 public Color3f(javax.vecmath.Color3f c1)
Constructs and initializes a Color3f from the specified Color3f.

Parameters:
c - the Color3f containing the initialization x y z data
 o Color3f
 public Color3f(javax.vecmath.Tuple3d t1)
Constructs and initializes a Color3f from the specified Tuple3d.

Parameters:
t1 - the Tuple3d containing the initialization x y z data
 o Color3f
 public Color3f(javax.vecmath.Tuple3f t1)
Constructs and initializes a Color3f from the specified Tuple3f.

Parameters:
t1 - the Tuple3f containing the initialization x y z data
 o Color3f
 public Color3f()
Constructs and initializes a Color3f to (0,0,0).


All Packages  Class Hierarchy  This Package  Previous  Next  Index