implemented gizmo transforming through the node graph
This commit is contained in:
@@ -37,7 +37,7 @@ class NodeTraverser
|
||||
public:
|
||||
NodeTraverser();
|
||||
|
||||
NodeValueTable GenerateTable(const Node *n, const Node::ValueHint &hint, const TimeRange &range);
|
||||
NodeValueTable GenerateTable(const Node *n, const TimeRange &range);
|
||||
|
||||
NodeValueDatabase GenerateDatabase(const Node *node, const TimeRange &range);
|
||||
|
||||
@@ -50,6 +50,8 @@ public:
|
||||
int GenerateRowValueElementIndex(const Node::ValueHint &hint, NodeValue::Type preferred_type, const NodeValueTable *table);
|
||||
int GenerateRowValueElementIndex(const Node *node, const QString &input, int element, const NodeValueTable *table);
|
||||
|
||||
void Transform(QTransform *transform, const Node *start, const Node *end, const TimeRange &range);
|
||||
|
||||
static NodeGlobals GenerateGlobals(const VideoParams ¶ms, const TimeRange &time);
|
||||
static NodeGlobals GenerateGlobals(const VideoParams ¶ms, const rational &time)
|
||||
{
|
||||
@@ -78,6 +80,8 @@ public:
|
||||
|
||||
static int GetChannelCountFromJob(const GenerateJob& job);
|
||||
|
||||
static TexturePtr GetMainTextureFromJob(const GenerateJob& job);
|
||||
|
||||
protected:
|
||||
NodeValueTable ProcessInput(const Node *node, const QString &input, const TimeRange &range);
|
||||
|
||||
@@ -152,6 +156,10 @@ private:
|
||||
|
||||
const QAtomicInt *cancel_;
|
||||
|
||||
const Node *transform_start_;
|
||||
QTransform *transform_;
|
||||
QVector<const Node*> transform_ignore_;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user