Navigation
API > API/Plugins > API/Plugins/GeometryFlowCore
TODO:
- internal FNode pointers can be unique ptr?
- parallel evaluation at graph level (pre-pass to collect references?)
| Name | FGraph |
| Type | class |
| Header File | /Engine/Plugins/Experimental/GeometryFlow/Source/GeometryFlowCore/Public/GeometryFlowGraph.h |
| Include Path | #include "GeometryFlowGraph.h" |
Syntax
class FGraph
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FGraph() |
GeometryFlowGraph.h |
Structs
| Name | Remarks |
|---|---|
| FConnection | |
| FHandle | |
| FNodeInfo |
Enums
Protected
| Name | Remarks |
|---|---|
| ENodeAddResult |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SerializationVersion | float | Version used in serialization | GeometryFlowGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EGeometryFlowResult AddConnection
(
FHandle FromNode, |
GeometryFlowGraph.h | ||
FHandle AddNodeOfType
(
const FName TypeName, |
Add a node of specified type to the graph. An invalid FHandle will be returned if failed (e.g. node type not registered) | GeometryFlowGraph.h | |
FHandle AddNodeOfType
(
const FString& Identifier, |
Add a node of specified type to the graph. An invalid FHandle will be returned if failed (e.g. node type not registered) | GeometryFlowGraph.h | |
EGeometryFlowResult ApplyToNode
(
FHandle NodeHandle, |
Applies the functor to the node as FNode. | GeometryFlowGraph.h | |
EGeometryFlowResult ApplyToNodeOfType
(
FHandle NodeHandle, |
Applies the functor to the node as derived type if possible. | GeometryFlowGraph.h | |
EGeometryFlowResult CanAddConnection
(
FHandle FromNode, |
Returns EGeometryFlowResult::Ok if the Connection can be added, otherwise returns the reason for failure | GeometryFlowGraph.h | |
bool CanAddNodeOfType () |
Return @false if the node type is not registered | GeometryFlowGraph.h | |
bool CanEvaluate
(
FHandle Node, |
GeometryFlowGraph.h | ||
void ConfigureCachingStrategy
(
ENodeCachingStrategy NewStrategy |
GeometryFlowGraph.h | ||
| GeometryFlowGraph.h | |||
EGeometryFlowResult EvaluateResult
(
FHandle Node, |
GeometryFlowGraph.h | ||
EGeometryFlowResult FindInputConnections
(
FHandle ToNode, |
Find all the input connections for the specified node. | GeometryFlowGraph.h | |
EGeometryFlowResult GetInputTypeForNode
(
FHandle NodeHandle, |
GeometryFlowGraph.h | ||
| GeometryFlowGraph.h | |||
EGeometryFlowResult GetOutputTypeForNode
(
FHandle NodeHandle, |
GeometryFlowGraph.h | ||
| GeometryFlowGraph.h | |||
float GetVersionID() |
GeometryFlowGraph.h | ||
EGeometryFlowResult InferConnection
(
FHandle FromNode, |
GeometryFlowGraph.h | ||
bool IsDependent
(
FHandle DependentNode, |
Returns true if DependentNode is dependent on IndependentNode in the graph. | GeometryFlowGraph.h | |
EGeometryFlowResult RemoveConnectionForInput
(
FHandle ToNode, |
GeometryFlowGraph.h | ||
void RemoveNode
(
const FHandle Handle |
Note: once removed, any external handles to this node will be stale. | GeometryFlowGraph.h | |
void RemoveNodeConnections
(
FHandle NodeHandle |
Remove all connections to the specified node. | GeometryFlowGraph.h | |
void RemoveNodeInputConnections
(
FHandle NodeHandle |
Remove input connections to the specifed node | GeometryFlowGraph.h | |
void RemoveNodeOutputConnections
(
FHandle NodeHandle |
Remove all output connections to the specified node. | GeometryFlowGraph.h | |
void Serialize
(
FArchive& Ar |
Serialize this graph to an archive. | GeometryFlowGraph.h | |
EGeometryFlowResult SetNodeCachingStrategy
(
FHandle NodeHandle, |
GeometryFlowGraph.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ENodeAddResult AddNodeOfType
(
const FName TypeName, |
GeometryFlowGraph.h | ||
bool CanAddNodeOfType
(
const FName TypeName |
GeometryFlowGraph.h | ||
bool CanComputeOutput
(
FHandle Node, |
Retrun @true if all the graph connections needed for this computation exist | GeometryFlowGraph.h | |
TSafeSharedPtr< IData > ComputeOutputData
(
FHandle Node, |
GeometryFlowGraph.h | ||
int32 CountOutputConnections
(
FHandle FromNode, |
GeometryFlowGraph.h | ||
EGeometryFlowResult EvaluateResultInternal
(
FHandle Node, |
GeometryFlowGraph.h | ||
EGeometryFlowResult FindConnectionForInput
(
FHandle ToNode, |
GeometryFlowGraph.h | ||
| GeometryFlowGraph.h | |||
TSafeSharedPtr< FRWLock > FindNodeLock
(
FHandle Handle |
GeometryFlowGraph.h | ||
ENodeCachingStrategy GetCachingStrategyForNode
(
FHandle NodeHandle |
GeometryFlowGraph.h | ||
bool IsInCycle
(
FHandle NodeHandle |
GeometryFlowGraph.h | ||
bool VistDependencies
(
FHandle NodeHandle, |
Visits upstream dependencies for the specified node and calls the Visitor functor (in parallel) on each. | GeometryFlowGraph.h |