4 #ifndef _PhotoAnimationPatch_H_
5 #define _PhotoAnimationPatch_H_
9 #include "LumiverseCoreConfig.h"
12 #include "../lib/libjson/libjson.h"
32 class PhotoAnimationPatch :
public SimulationAnimationPatch,
39 PhotoAnimationPatch() { }
46 PhotoAnimationPatch(
const JSONNode data);
51 virtual ~PhotoAnimationPatch();
58 virtual string getType()
override {
return "PhotoAnimationPatch"; }
64 virtual void init()
override;
74 virtual void update(set<Device *> devices)
override;
84 virtual void close()
override;
90 virtual void workerRender(FrameDeviceInfo frame)
override;
91 virtual void createFrameInfoBody(set<Device *> devices, FrameDeviceInfo &frame,
bool forceUpdate =
false);
97 virtual void loadJSON(
const JSONNode data)
override;
99 virtual void onRecording()
override { }
101 virtual void onRendering()
override { }
void close()
Close the connection to node.
Definition: Dumiverse.cpp:37
void init(const char *jsonPatchStr, const char *filename)
Initializes data structures.
Definition: Dumiverse.cpp:29
An implemnetation for frame manager using in-memory buffer.
An implemnetation for frame manager using in-memory buffer.
Subclass of ArnoldPatch to render frames of an animation.
Implementation of a patch for Arnold.
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2