Class CamRecorder
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.desktop.util.camera.CamRecorder
-
- All Implemented Interfaces:
IObserver
public class CamRecorder extends java.lang.Object implements IObserver
Contains the logic to record the camera state at each frame. The format is as follows: > time[s](float) cam_pos(double x3) cam_dir(double x3) cam_up(double x3)The time is the time in seconds since the start of the recording, to synchronize with the current FPS in playing mode.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CamRecorder.RecorderState
-
Field Summary
Fields Modifier and Type Field Description static CamRecorder
instance
Singleton
-
Constructor Summary
Constructors Constructor Description CamRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
initialize()
void
notify(Events event, java.lang.Object... data)
void
update(ITimeFrameProvider time, Vector3d position, Vector3d direction, Vector3d up)
-
-
-
Field Detail
-
instance
public static CamRecorder instance
Singleton
-
-