|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.texture.VertexParameterValue
public class VertexParameterValue
This class defines a scalar parameter who value is defined at each vertex of a mesh.
| Constructor Summary | |
|---|---|
VertexParameterValue(java.io.DataInputStream in)
Reconstruct a serialized object. |
|
VertexParameterValue(double[] val)
Create a new VertexParameterValue object. |
|
VertexParameterValue(Mesh mesh,
TextureParameter param)
Create a new VertexParameterValue for a mesh, and initialize it to appropriate default values. |
|
| Method Summary | |
|---|---|
ParameterValue |
duplicate()
Create a duplicate of this object. |
boolean |
equals(java.lang.Object o)
Determine whether this object represents the same set of values as another one. |
double |
getAverageValue()
Get the average value of the parameter over the entire surface. |
double[] |
getValue()
Get the list of parameter values. |
double |
getValue(int tri,
int v1,
int v2,
int v3,
double u,
double v,
double w)
Get the value of the parameter at a particular point in a particular triangle. |
void |
setValue(double[] val)
Set the list of parameter values. |
void |
writeToStream(java.io.DataOutputStream out)
Write out a serialized representation of this object to a stream. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VertexParameterValue(double[] val)
public VertexParameterValue(Mesh mesh,
TextureParameter param)
public VertexParameterValue(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public double[] getValue()
public void setValue(double[] val)
public double getValue(int tri,
int v1,
int v2,
int v3,
double u,
double v,
double w)
getValue in interface ParameterValuepublic double getAverageValue()
getAverageValue in interface ParameterValuepublic ParameterValue duplicate()
duplicate in interface ParameterValuepublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
public void writeToStream(java.io.DataOutputStream out)
throws java.io.IOException
writeToStream in interface ParameterValuejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||