49 lines
1.0 KiB
C#
49 lines
1.0 KiB
C#
|
|
using CaeMesh;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace RBFMorphing
|
|||
|
|
{
|
|||
|
|
[Serializable]
|
|||
|
|
public abstract class AbstractClass
|
|||
|
|
{
|
|||
|
|
// Variables
|
|||
|
|
protected bool _active;
|
|||
|
|
protected string _name;
|
|||
|
|
protected string _description;
|
|||
|
|
protected readonly EnumMorphMethod _method;
|
|||
|
|
|
|||
|
|
protected AbstractClass(EnumMorphMethod method)
|
|||
|
|
{
|
|||
|
|
_method = method;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public bool Active
|
|||
|
|
{
|
|||
|
|
get => _active;
|
|||
|
|
set => _active = value;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string Name
|
|||
|
|
{
|
|||
|
|
get => _name;
|
|||
|
|
set => _name = value;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public string Description
|
|||
|
|
{
|
|||
|
|
get => _description;
|
|||
|
|
set => _description = value;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public EnumMorphMethod Method => _method;
|
|||
|
|
|
|||
|
|
public string MethodName => _method.Description();
|
|||
|
|
|
|||
|
|
public abstract List<FeNode> GetNodes();
|
|||
|
|
|
|||
|
|
public abstract int[] Labels { get; }
|
|||
|
|
|
|||
|
|
public abstract int Length { get; }
|
|||
|
|
}
|
|||
|
|
}
|