summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rotor.h')
-rwxr-xr-xrotord/src/rotor.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index dea3fa0..3eb3fe6 100755
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -1111,49 +1111,6 @@ namespace Rotor {
private:
unordered_map<string,Node*> type_map;
};
- class Graph{
- public:
- Graph(){duration=20.0f;loaded = false;outW=640;outH=360;};
- Graph(const string& _uid,const string& _desc){
- init(_uid,_desc);
- audio_loaded=false;
- };
- void init(const string& _uid,const string& _desc){
- uid=_uid;
- description=_desc;
- duration=20.0f;
- framerate=25.0f;
- cancelled=false;
- };
- string uid; //every version of a graph has a UUID, no particular need to actually read its data(?)
- //?? is it faster than using strings??
- string description;
- std::unordered_map<string,Node*> nodes;
- vector<Node*> find_nodes(const string &type); //could be a way of finding a set based on capabilities?
- Node* find_node(const string &type);
- bool signal_render(string &signal_xml,const float framerate);
- bool video_render(const string &output_filename,const float framerate,float& progress);
- bool load(string data,string media_path);
- bool loadFile(string &filename,string media_path);
- bool parseXml(string media_path);
- bool parseJson(string &data,string &media_path);
- bool set_resolution(int w,int h);
- bool preview(xmlIO &XML,string &node,string &format,int frame,int w,int h);
- bool check_audio(string audio,string path);
- bool print_features(xmlIO &XML,string &node);
- bool loaded;
- float duration;
- float framerate;
- const string toString();
- xmlIO xml;
- bool audio_loaded;
- string audio_filename;
- bool cancelled;
- private:
- Node_factory factory;
- int outW,outH;
-
- };
class Audio_thumbnailer: public Audio_processor {
public:
Audio_thumbnailer(){