artofillusion.object
Class ProceduralPointLight.ProceduralLightKeyframe

java.lang.Object
  extended by artofillusion.object.ProceduralPointLight.ProceduralLightKeyframe
All Implemented Interfaces:
Keyframe
Enclosing class:
ProceduralPointLight

public static class ProceduralPointLight.ProceduralLightKeyframe
extends java.lang.Object
implements Keyframe

Inner class representing a pose for a point light.


Field Summary
 java.util.HashMap<TextureParameter,java.lang.Double> paramValues
           
 double radius
           
 
Constructor Summary
ProceduralPointLight.ProceduralLightKeyframe(java.io.DataInputStream in, java.lang.Object parent)
           
ProceduralPointLight.ProceduralLightKeyframe(ProceduralPointLight light)
           
 
Method Summary
 Keyframe blend(Keyframe o2, double weight1, double weight2)
          Return a new Keyframe which is a weighted average of this one and one other.
 Keyframe blend(Keyframe o2, Keyframe o3, double weight1, double weight2, double weight3)
          Return a new Keyframe which is a weighted average of this one and two others.
 Keyframe blend(Keyframe o2, Keyframe o3, Keyframe o4, double weight1, double weight2, double weight3, double weight4)
          Return a new Keyframe which is a weighted average of this one and three others.
 Keyframe duplicate()
          Create a duplicate of this keyframe.
 Keyframe duplicate(java.lang.Object owner)
          Create a duplicate of this keyframe for a (possibly different) object.
 boolean equals(Keyframe k)
          Determine whether this keyframe is identical to another one.
 double[] getGraphValues()
          Get the list of graphable values for this keyframe.
 void setGraphValues(double[] values)
          Set the list of graphable values for this keyframe.
 void writeToStream(java.io.DataOutputStream out)
          Write out a representation of this keyframe to a stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramValues

public java.util.HashMap<TextureParameter,java.lang.Double> paramValues

radius

public double radius
Constructor Detail

ProceduralPointLight.ProceduralLightKeyframe

public ProceduralPointLight.ProceduralLightKeyframe(ProceduralPointLight light)

ProceduralPointLight.ProceduralLightKeyframe

public ProceduralPointLight.ProceduralLightKeyframe(java.io.DataInputStream in,
                                                    java.lang.Object parent)
                                             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

duplicate

public Keyframe duplicate()
Description copied from interface: Keyframe
Create a duplicate of this keyframe.

Specified by:
duplicate in interface Keyframe

duplicate

public Keyframe duplicate(java.lang.Object owner)
Description copied from interface: Keyframe
Create a duplicate of this keyframe for a (possibly different) object.

Specified by:
duplicate in interface Keyframe

getGraphValues

public double[] getGraphValues()
Description copied from interface: Keyframe
Get the list of graphable values for this keyframe.

Specified by:
getGraphValues in interface Keyframe

setGraphValues

public void setGraphValues(double[] values)
Description copied from interface: Keyframe
Set the list of graphable values for this keyframe.

Specified by:
setGraphValues in interface Keyframe

blend

public Keyframe blend(Keyframe o2,
                      double weight1,
                      double weight2)
Description copied from interface: Keyframe
Return a new Keyframe which is a weighted average of this one and one other.

Specified by:
blend in interface Keyframe

blend

public Keyframe blend(Keyframe o2,
                      Keyframe o3,
                      double weight1,
                      double weight2,
                      double weight3)
Description copied from interface: Keyframe
Return a new Keyframe which is a weighted average of this one and two others.

Specified by:
blend in interface Keyframe

blend

public Keyframe blend(Keyframe o2,
                      Keyframe o3,
                      Keyframe o4,
                      double weight1,
                      double weight2,
                      double weight3,
                      double weight4)
Description copied from interface: Keyframe
Return a new Keyframe which is a weighted average of this one and three others.

Specified by:
blend in interface Keyframe

equals

public boolean equals(Keyframe k)
Description copied from interface: Keyframe
Determine whether this keyframe is identical to another one.

Specified by:
equals in interface Keyframe

writeToStream

public void writeToStream(java.io.DataOutputStream out)
                   throws java.io.IOException
Description copied from interface: Keyframe
Write out a representation of this keyframe to a stream.

Specified by:
writeToStream in interface Keyframe
Throws:
java.io.IOException


Copyright © 1999-2011 by Peter Eastman.