feat: add geometryOpDef

This commit is contained in:
parker
2025-07-08 16:39:15 +01:00
parent 504eb58fe4
commit 0be6512d33
6 changed files with 101 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "Engine/Operator/GeometryConnection.h"
#include "Engine/Operator/GeometryOpDef.h"
#include "Engine/Types.h"
#include <optional>
#include <memory>
@@ -16,6 +17,8 @@ public:
GeometryOperator(const GeometryOperator&) = delete;
GeometryOperator& operator=(const GeometryOperator&) = delete;
void cookOp();
void addInputConnection(std::shared_ptr<nt::GeometryConnection> connection);
void addOutputConnection(std::shared_ptr<nt::GeometryConnection> connection);
std::vector<std::shared_ptr<const GeometryConnection>> getInputConnections() const;
@@ -33,6 +36,6 @@ private:
std::vector<std::shared_ptr<nt::GeometryConnection>> outputConnections_;
unsigned int maxInputs_;
unsigned int maxOutputs_;
enzo::nt::GeometryOpDef* opDef_;
};
}