cz.cuni.jagrlib.iface
Interface TimeDependent

All Superinterfaces:
Property
All Known Subinterfaces:
ImageFunction, ImageSynthesizer, RTScene
All Known Implementing Classes:
DefaultImageFunction, DefaultImageSynthesizer, DefaultRenderer, DirectLightMapVisualizer, FeatureDeformation, FinalGathering, FractalCircles, JitteringSynthesizer, PathTracing, RayCasting, RayCastingNew, RayTracing, RayTracingNew, SimpleSynthesizer, StaticCSGScene, TestGamma, TestImageFunctions, TestImageLaser, TextureFunctions

public interface TimeDependent
extends Property

Abstract time-dependency of an object.

Since:
0.12
See Also:
TimeDependent.java

Field Summary
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Method Summary
 double getTime()
          Returns the actual time value for the object (used in animations).
 double[] getTimeInterval(double[] pre)
          Retrieve the valid bounds for time variable.
 void setTime(double time)
          Sets the actual time value for the object (used in animations).
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Method Detail

getTimeInterval

double[] getTimeInterval(double[] pre)
Retrieve the valid bounds for time variable.

Parameters:
pre - Pre-allocated double[2] array to hold the result (can be null).
Returns:
result[0] .. minimum time value, result[1] .. maximum time value.
See Also:
getTime(), setTime(double)

getTime

double getTime()
Returns the actual time value for the object (used in animations).

Returns:
Actual time (in seconds).
See Also:
setTime(double)

setTime

void setTime(double time)
Sets the actual time value for the object (used in animations).

Parameters:
time - New scene time (in seconds).
See Also:
getTime(), getTimeInterval(double[])