2022-09-26 15:12:13 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
|
2022-10-01 02:04:57 -04:00
|
|
|
#include "MuT/NodeMeshGeometryOperation.h"
|
2022-10-02 10:56:02 -04:00
|
|
|
|
|
|
|
|
#include "Misc/AssertionMacros.h"
|
|
|
|
|
#include "MuT/NodeLayout.h"
|
2022-10-01 02:04:57 -04:00
|
|
|
#include "MuT/NodeMeshGeometryOperationPrivate.h"
|
2022-10-02 10:56:02 -04:00
|
|
|
#include "MuT/NodeMeshPrivate.h"
|
|
|
|
|
#include "MuT/NodePrivate.h"
|
2022-10-01 02:04:57 -04:00
|
|
|
#include "MuT/NodeScalar.h"
|
2022-09-26 15:12:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace mu
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
// Static initialisation
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
2024-06-10 04:10:54 -04:00
|
|
|
FNodeType NodeMeshGeometryOperation::Private::s_type = FNodeType(Node::EType::MeshGeometryOperation, NodeMesh::GetStaticType() );
|
2022-09-26 15:12:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
//!
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
|
2024-06-10 04:10:54 -04:00
|
|
|
MUTABLE_IMPLEMENT_NODE( NodeMeshGeometryOperation )
|
2022-09-26 15:12:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
// Own Interface
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
const NodeScalarPtr& NodeMeshGeometryOperation::GetScalarA() const
|
|
|
|
|
{
|
|
|
|
|
return m_pD->m_pScalarA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
void NodeMeshGeometryOperation::SetScalarA(const NodeScalarPtr& pNode)
|
|
|
|
|
{
|
|
|
|
|
m_pD->m_pScalarA = pNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
const NodeScalarPtr& NodeMeshGeometryOperation::GetScalarB() const
|
|
|
|
|
{
|
|
|
|
|
return m_pD->m_pScalarB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
void NodeMeshGeometryOperation::SetScalarB(const NodeScalarPtr& pNode)
|
|
|
|
|
{
|
|
|
|
|
m_pD->m_pScalarB = pNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
const NodeMeshPtr& NodeMeshGeometryOperation::GetMeshA() const
|
|
|
|
|
{
|
|
|
|
|
return m_pD->m_pMeshA;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
void NodeMeshGeometryOperation::SetMeshA(const NodeMeshPtr& pNode)
|
|
|
|
|
{
|
|
|
|
|
m_pD->m_pMeshA = pNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
const NodeMeshPtr& NodeMeshGeometryOperation::GetMeshB() const
|
|
|
|
|
{
|
|
|
|
|
return m_pD->m_pMeshB;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
|
void NodeMeshGeometryOperation::SetMeshB(const NodeMeshPtr& pNode)
|
|
|
|
|
{
|
|
|
|
|
m_pD->m_pMeshB = pNode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|