|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.object.Object3D
artofillusion.object.Light
artofillusion.object.PointLight
artofillusion.object.ProceduralPointLight
public class ProceduralPointLight
This is a PointLight whose emitted light is calculated by a Procedure.
| Nested Class Summary | |
|---|---|
static class |
ProceduralPointLight.ProceduralLightKeyframe
Inner class representing a pose for a point light. |
| Nested classes/interfaces inherited from class artofillusion.object.PointLight |
|---|
PointLight.PointLightKeyframe |
| Field Summary |
|---|
| Fields inherited from class artofillusion.object.Light |
|---|
TYPE_AMBIENT, TYPE_NORMAL, TYPE_SHADOWLESS |
| Fields inherited from class artofillusion.object.Object3D |
|---|
APPROXIMATELY, CANT_CONVERT, EXACTLY |
| Constructor Summary | |
|---|---|
ProceduralPointLight(java.io.DataInputStream in,
Scene theScene)
|
|
ProceduralPointLight(double theRadius)
|
|
| Method Summary | |
|---|---|
void |
applyPoseKeyframe(Keyframe k)
Modify this object based on a pose keyframe. |
void |
configurePoseTrack(PoseTrack track)
This will be called whenever a new pose track is created for this object. |
void |
copyObject(Object3D obj)
Copy all the properties of another object, to make this one identical to it. |
Object3D |
duplicate()
Create a new object which is an exact duplicate of this one. |
void |
edit(EditingWindow parent,
ObjectInfo info,
java.lang.Runnable cb)
Display a window in which the user can edit this object. |
void |
editKeyframe(EditingWindow parent,
Keyframe k,
ObjectInfo info)
Allow the user to edit a keyframe returned by getPoseKeyframe(). |
void |
getLight(RGBColor light,
Vec3 position)
Evaluate the Procedure to determine the light color at a point. |
Keyframe |
getPoseKeyframe()
Return a Keyframe which describes the current pose of this object. |
Property[] |
getProperties()
Get a list of editable properties defined by this object. |
java.lang.Object |
getPropertyValue(int index)
Get the value of one of this object's editable properties. |
void |
sceneChanged(ObjectInfo info,
Scene scene)
This will be called whenever this object is moved, or the time changes. |
void |
setPropertyValue(int index,
java.lang.Object value)
Set the value of one of this object's editable properties. |
void |
writeToFile(java.io.DataOutputStream out,
Scene theScene)
The following method writes the object's data to an output stream. |
| Methods inherited from class artofillusion.object.PointLight |
|---|
canSetTexture, getBounds, getRadius, getWireframeMesh, isEditable, setRadius, setSize |
| Methods inherited from class artofillusion.object.Light |
|---|
getColor, getDecayRate, getIntensity, getType, setColor, setDecayRate, setIntensity, setParameters, setType |
| Methods inherited from class artofillusion.object.Object3D |
|---|
canConvertToActor, canConvertToTriangleMesh, canSetMaterial, convertToTriangleMesh, copyTextureAndMaterial, editGesture, getAverageParameterValues, getMaterial, getMaterialMapping, getParameters, getParameterValue, getParameterValues, getPosableObject, getRenderingMesh, getSkeleton, getTexture, getTextureMapping, isClosed, readParameterValue, renderObject, setMaterial, setParameters, setParameterValue, setParameterValues, setTexture |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProceduralPointLight(double theRadius)
public ProceduralPointLight(java.io.DataInputStream in,
Scene theScene)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public Object3D duplicate()
Object3D
duplicate in class PointLightpublic void copyObject(Object3D obj)
Object3D
copyObject in class PointLight
public void sceneChanged(ObjectInfo info,
Scene scene)
Object3D
sceneChanged in class Object3D
public void getLight(RGBColor light,
Vec3 position)
getLight in class PointLight
public void writeToFile(java.io.DataOutputStream out,
Scene theScene)
throws java.io.IOException
Object3D
writeToFile in class PointLightjava.io.IOException
public void edit(EditingWindow parent,
ObjectInfo info,
java.lang.Runnable cb)
Object3D
edit in class PointLightparent - the window from which this command is being invokedinfo - the ObjectInfo corresponding to this objectcb - a callback which will be executed when editing is complete. If the user
cancels the operation, it will not be called.public Property[] getProperties()
Object3D
getProperties in class PointLightpublic java.lang.Object getPropertyValue(int index)
Object3D
getPropertyValue in class PointLightindex - the index of the property to get
public void setPropertyValue(int index,
java.lang.Object value)
Object3D
setPropertyValue in class PointLightindex - the index of the property to setvalue - the value to set for the propertypublic Keyframe getPoseKeyframe()
PointLight
getPoseKeyframe in class PointLightpublic void applyPoseKeyframe(Keyframe k)
PointLight
applyPoseKeyframe in class PointLightpublic void configurePoseTrack(PoseTrack track)
configurePoseTrack in class PointLight
public void editKeyframe(EditingWindow parent,
Keyframe k,
ObjectInfo info)
editKeyframe in class PointLight
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||