nodes: merged gizmotraverser and nodetabletraverser into nodetraverser

No real reason for these other derivatives that did virtually
the same thing.
This commit is contained in:
itsmattkc
2021-04-22 12:52:10 +10:00
parent 65a1922ed4
commit 97b9bcc79f
15 changed files with 65 additions and 336 deletions
+13 -9
View File
@@ -44,6 +44,16 @@ public:
NodeValueDatabase GenerateDatabase(const Node *node, const QString &output, const TimeRange &range);
const VideoParams& GetCacheVideoParams() const
{
return video_params_;
}
void SetCacheVideoParams(const VideoParams& params)
{
video_params_ = params;
}
protected:
NodeValueTable ProcessInput(const Node *node, const QString &input, const TimeRange &range);
@@ -68,21 +78,15 @@ protected:
return false;
}
virtual VideoParams GetCacheVideoParams()
{
return VideoParams();
}
void AddGlobalsToDatabase(NodeValueDatabase& db, const TimeRange &range) const;
virtual QVector2D GenerateResolution() const
{
return QVector2D(0, 0);
}
QVector2D GenerateResolution() const;
private:
void PostProcessTable(const Node *node, const QString &output, const TimeRange &range, NodeValueTable &output_params);
VideoParams video_params_;
};
}