|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Colorf | |
|---|---|
| org.openmali.spatial.polygons | |
| org.openmali.vecmath2 | |
| org.openmali.vecmath2.pools | |
| org.openmali.vecmath2.util | |
| Uses of Colorf in org.openmali.spatial.polygons |
|---|
| Methods in org.openmali.spatial.polygons that return Colorf | |
|---|---|
Colorf |
Triangle.getVertexColorA()
|
Colorf |
Triangle.getVertexColorB()
|
Colorf |
Triangle.getVertexColorC()
|
| Methods in org.openmali.spatial.polygons with parameters of type Colorf | |
|---|---|
void |
Triangle.getVertexA(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.getVertexB(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.getVertexC(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.getVertexColorA(Colorf color)
|
void |
Triangle.getVertexColorB(Colorf color)
|
void |
Triangle.getVertexColorC(Colorf color)
|
void |
Triangle.getVertexColors(Colorf colorA,
Colorf colorB,
Colorf colorC)
|
void |
Triangle.setVertexA(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.setVertexB(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.setVertexC(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Triangle.setVertexColorA(Colorf color)
|
void |
Triangle.setVertexColorB(Colorf color)
|
void |
Triangle.setVertexColorC(Colorf color)
|
void |
Triangle.setVertexColors(Colorf colorA,
Colorf colorB,
Colorf colorC)
|
| Uses of Colorf in org.openmali.vecmath2 |
|---|
| Fields in org.openmali.vecmath2 declared as Colorf | |
|---|---|
static Colorf |
Colorf.BLACK
The color black. |
static Colorf |
Colorf.BLACK_TRANSPARENT
The color black and fully transparent. |
static Colorf |
Colorf.BLUE
The color blue. |
static Colorf |
Colorf.BROWN
The color brown. |
static Colorf |
Colorf.CYAN
The color cyan. |
static Colorf |
Colorf.DARK_BROWN
The color brown. |
static Colorf |
Colorf.DARK_GRAY
The color dark gray. |
static Colorf |
Colorf.GRAY
The color gray. |
static Colorf |
Colorf.GRAY10
A 10% gray. |
static Colorf |
Colorf.GRAY20
A 20% gray. |
static Colorf |
Colorf.GRAY25
A 25% gray. |
static Colorf |
Colorf.GRAY30
A 30% gray. |
static Colorf |
Colorf.GRAY40
A 40% gray. |
static Colorf |
Colorf.GRAY50
A 50% gray. |
static Colorf |
Colorf.GRAY60
A 60% gray. |
static Colorf |
Colorf.GRAY70
A 70% gray. |
static Colorf |
Colorf.GRAY75
A 75% gray. |
static Colorf |
Colorf.GRAY80
A 80% gray. |
static Colorf |
Colorf.GRAY90
A 90% gray. |
static Colorf |
Colorf.GREEN
The color green. |
static Colorf |
Colorf.LIGHT_BROWN
The color brown. |
static Colorf |
Colorf.LIGHT_GRAY
The color light gray. |
static Colorf |
Colorf.MAGENTA
The color magenta. |
static Colorf |
Colorf.ORANGE
The color orange. |
static Colorf |
Colorf.PINK
The color pink. |
static Colorf |
Colorf.RED
The color red. |
static Colorf |
Colorf.WHITE
The color white. |
static Colorf |
Colorf.WHITE_TRANSPARENT
The color white and fully transparent. |
static Colorf |
Colorf.YELLOW
The color yellow. |
| Methods in org.openmali.vecmath2 that return Colorf | |
|---|---|
Colorf |
Colorf.add(Colorf color2)
Sets the value of this tuple to the vector sum of itself and tuple t1. |
Colorf |
Colorf.add(Colorf color1,
Colorf color2)
Sets the value of this color to the vector sum of colors color1 and color2. |
Colorf |
Colorf.add(float r,
float g,
float b)
Adds the given parameters to this tuple's values. |
Colorf |
Colorf.add(float r,
float g,
float b,
float a)
Adds the given parameters to this tuple's values. |
Colorf |
Colorf.addAlpha(float v)
Adds v to this color's alpha value. |
Colorf |
Colorf.addBlue(float v)
Adds v to this color's blue value. |
Colorf |
Colorf.addGreen(float v)
Adds v to this color's green value. |
Colorf |
Colorf.addRed(float v)
Adds v to this color's red value. |
Colorf |
Colorf.asReadOnly()
|
Colorf |
Colorf.clamp(float min,
float max)
Clamps this tuple to the range [min, max]. |
Colorf |
Colorf.clamp(float min,
float max,
Colorf vec)
Clamps the tuple parameter to the range [min, max] and places the values into this tuple. |
Colorf |
Colorf.clampMax(float max)
Clamps the maximum value of this tuple to the max parameter. |
Colorf |
Colorf.clampMax(float max,
Colorf vec)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple. |
Colorf |
Colorf.clampMin(float min)
Clamps the minimum value of this tuple to the min parameter. |
Colorf |
Colorf.clampMin(float min,
Colorf vec)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple. |
Colorf |
Colorf.clone()
Creates and returns a copy of this object. |
static Colorf |
Colorf.createGray(float intensity)
Creates a gray of the given intensity. |
Colorf |
Colorf.div(float vr,
float vg,
float vb)
Divides this color's values by vr, vg, vb. |
Colorf |
Colorf.div(float vr,
float vg,
float vb,
float va)
Divides this color's values by vr, vg, vb, va. |
Colorf |
Colorf.divAlpha(float v)
Divides this color's alpha value by v. |
Colorf |
Colorf.divBlue(float v)
Divides this color's blue value by v. |
Colorf |
Colorf.divGreen(float v)
Divides this color's green value by v. |
Colorf |
Colorf.divRed(float v)
Divides this color's red value by v. |
static Colorf |
Colorf.fromPool()
Allocates an Colorf instance from the pool. |
static Colorf |
Colorf.fromPool(Colorf color)
Allocates an Colorf instance from the pool. |
static Colorf |
Colorf.fromPool(float r,
float g,
float b)
Allocates an Colorf instance from the pool. |
static Colorf |
Colorf.fromPool(float r,
float g,
float b,
float a)
Allocates an Colorf instance from the pool. |
Colorf |
Vertex3f.getColor()
|
Colorf |
Colorf.getReadOnly()
|
Colorf |
Colorf.interpolate(Colorf color1,
Colorf color2,
float val)
Linearly interpolates between tuples t1 and t2 and places the result into this tuple: this = (1 - alpha) * t1 + alpha * t2. |
Colorf |
Colorf.interpolate(Colorf color2,
float val)
Linearly interpolates between this tuple and tuple t2 and places the result into this tuple: this = (1 - alpha) * this + alpha * t1. |
Colorf |
Colorf.mul(float factor)
Sets the value of this tuple to the scalar multiplication of itself. |
Colorf |
Colorf.mul(float vr,
float vg,
float vb)
Multiplies this color's values with vr, vg, vb. |
Colorf |
Colorf.mul(float vr,
float vg,
float vb,
float va)
Multiplies this color's values with vr, vg, vb, va. |
Colorf |
Colorf.mulAlpha(float v)
Multiplies this color's alpha value with v. |
Colorf |
Colorf.mulBlue(float v)
Multiplies this color's blue value with v. |
Colorf |
Colorf.mulGreen(float v)
Multiplies this color's green value with v. |
Colorf |
Colorf.mulRed(float v)
Multiplies this color's red value with v. |
static Colorf |
Colorf.newReadOnly()
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(java.awt.Color color)
|
static Colorf |
Colorf.newReadOnly(Colorf color)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(Colorf rgbColor,
float alpha)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(float intensity)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(float[] values)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(float r,
float g,
float b)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(float r,
float g,
float b,
float a)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.parseColor(java.lang.String hexString)
Parses a color-hex-String into a Colorf instance. |
static Colorf |
Colorf.parseColor(java.lang.String hexString,
Colorf buffer)
Parses a color-hex-String into the color buffer. |
static Colorf |
Colorf.parseReadOnlyColor(java.lang.String hexString)
Parses a color-hex-String into a new Colorf instance. |
Colorf |
Colorf.setZero()
Sets all components to zero. |
Colorf |
Colorf.sub(Colorf color2)
Sets the value of this color to the vector difference of itself and color2 (this = this - color2). |
Colorf |
Colorf.sub(Colorf color1,
Colorf color2)
Sets the value of this color to the vector difference of color color1 and color2 (this = color1 - color2). |
Colorf |
Colorf.sub(float r,
float g,
float b)
Subtracts the given parameters from this tuple's values. |
Colorf |
Colorf.sub(float r,
float g,
float b,
float a)
Subtracts the given parameters from this tuple's values. |
Colorf |
Colorf.subAlpha(float v)
Subtracts v from this color's alpha value. |
Colorf |
Colorf.subBlue(float v)
Subtracts v from this color's blue value. |
Colorf |
Colorf.subGreen(float v)
Subtracts v from this color's green value. |
Colorf |
Colorf.subRed(float v)
Subtracts v from this color's red value. |
| Methods in org.openmali.vecmath2 with parameters of type Colorf | |
|---|---|
Colorf |
Colorf.add(Colorf color2)
Sets the value of this tuple to the vector sum of itself and tuple t1. |
Colorf |
Colorf.add(Colorf color1,
Colorf color2)
Sets the value of this color to the vector sum of colors color1 and color2. |
Colorf |
Colorf.clamp(float min,
float max,
Colorf vec)
Clamps the tuple parameter to the range [min, max] and places the values into this tuple. |
Colorf |
Colorf.clampMax(float max,
Colorf vec)
Clamps the maximum value of the tuple parameter to the max parameter and places the values into this tuple. |
Colorf |
Colorf.clampMin(float min,
Colorf vec)
Clamps the minimum value of the tuple parameter to the min parameter and places the values into this tuple. |
boolean |
Colorf.epsilonEquals(Colorf color2,
float epsilon)
Returns true if the L-infinite distance between this tuple and tuple t1 is less than or equal to the epsilon parameter, otherwise returns false. |
boolean |
Colorf.equals(Colorf color2)
Returns true if all of the data members of Tuple3f t1 are equal to the corresponding data members in this |
static Colorf |
Colorf.fromPool(Colorf color)
Allocates an Colorf instance from the pool. |
void |
Colorf.get(Colorf buffer)
Writes all values of this vector to the specified buffer vector. |
void |
Vertex3f.get(Tuple3f coord,
Vector3f normal,
Colorf color)
|
void |
Vertex3f.get(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Vertex3f.get(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord3f texCoord)
|
void |
Vertex3f.get(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord4f texCoord)
|
void |
Vertex3f.getColor(Colorf color)
|
Colorf |
Colorf.interpolate(Colorf color1,
Colorf color2,
float val)
Linearly interpolates between tuples t1 and t2 and places the result into this tuple: this = (1 - alpha) * t1 + alpha * t2. |
Colorf |
Colorf.interpolate(Colorf color2,
float val)
Linearly interpolates between this tuple and tuple t2 and places the result into this tuple: this = (1 - alpha) * this + alpha * t1. |
static Colorf |
Colorf.newReadOnly(Colorf color)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.newReadOnly(Colorf rgbColor,
float alpha)
Creates a new read-only Colorf instance. |
static Colorf |
Colorf.parseColor(java.lang.String hexString,
Colorf buffer)
Parses a color-hex-String into the color buffer. |
static java.nio.FloatBuffer |
Colorf.readFromBuffer(Colorf[] colors,
boolean forceAlpha,
java.nio.FloatBuffer buffer)
Reads the data of one tuple from a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.readFromBuffer(Colorf[] colors,
boolean forceAlpha,
java.nio.FloatBuffer buffer,
int position)
Reads the data of one tuple from a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.readFromBuffer(Colorf[] colors,
java.nio.FloatBuffer buffer)
Reads the data of one tuple from a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.readFromBuffer(Colorf[] colors,
java.nio.FloatBuffer buffer,
int position)
Reads the data of one tuple from a FloatBuffer. |
void |
Colorf.set(Colorf color)
Sets all three values of this Tuple to the specified ones. |
void |
Vertex3f.set(Tuple3f coord,
Vector3f normal,
Colorf color)
|
void |
Vertex3f.set(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord2f texCoord)
|
void |
Vertex3f.set(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord3f texCoord)
|
void |
Vertex3f.set(Tuple3f coord,
Vector3f normal,
Colorf color,
TexCoord4f texCoord)
|
void |
Vertex3f.setColor(Colorf color)
|
Colorf |
Colorf.sub(Colorf color2)
Sets the value of this color to the vector difference of itself and color2 (this = this - color2). |
Colorf |
Colorf.sub(Colorf color1,
Colorf color2)
Sets the value of this color to the vector difference of color color1 and color2 (this = color1 - color2). |
static void |
Colorf.toPool(Colorf o)
Stores the given Colorf instance in the pool. |
static java.nio.FloatBuffer |
Colorf.writeToBuffer(Colorf[] colors,
boolean forceAlpha,
java.nio.FloatBuffer buffer,
boolean clear,
boolean flip)
Writes the contents of this tuple to a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.writeToBuffer(Colorf[] colors,
boolean forceAlpha,
java.nio.FloatBuffer buffer,
int position,
boolean clear,
boolean flip)
Writes the contents of this tuple to a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.writeToBuffer(Colorf[] colors,
java.nio.FloatBuffer buffer,
boolean clear,
boolean flip)
Writes the contents of the colors to a FloatBuffer. |
static java.nio.FloatBuffer |
Colorf.writeToBuffer(Colorf[] colors,
java.nio.FloatBuffer buffer,
int position,
boolean clear,
boolean flip)
Writes the contents of the colors to a FloatBuffer. |
| Constructors in org.openmali.vecmath2 with parameters of type Colorf | |
|---|---|
Colorf(boolean readOnly,
Colorf color)
Creates a new Colorf instance. |
|
Colorf(Colorf color)
Creates a new Colorf instance. |
|
Colorf(Colorf rgbColor,
float alpha)
Creates a new Colorf instance. |
|
| Uses of Colorf in org.openmali.vecmath2.pools |
|---|
| Methods in org.openmali.vecmath2.pools that return Colorf | |
|---|---|
Colorf |
ColorfPool.alloc()
|
Colorf |
ColorfPool.alloc(float r,
float g,
float b)
|
Colorf |
ColorfPool.alloc(float r,
float g,
float b,
float a)
|
protected Colorf |
ColorfPool.newInstance()
Creates a new instance of a pooled object. |
| Uses of Colorf in org.openmali.vecmath2.util |
|---|
| Methods in org.openmali.vecmath2.util that return Colorf | |
|---|---|
static Colorf |
ColorUtils.hexToColor(java.lang.String hexStr)
|
static Colorf |
ColorUtils.hexToColor(java.lang.String hexStr,
Colorf out)
|
| Methods in org.openmali.vecmath2.util with parameters of type Colorf | |
|---|---|
static java.lang.String |
ColorUtils.colorToHex(Colorf color)
|
static Colorf |
ColorUtils.hexToColor(java.lang.String hexStr,
Colorf out)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||