public void LoadData(NNVSaveData data)
    {
        m_visualize    = data.m_visualize;
        m_height       = data.m_height;
        m_width        = data.m_width;
        m_marginX      = data.m_marginX;
        m_marginY      = data.m_marginY;
        m_orientation  = data.m_orientation;
        m_fitHeight    = data.m_fitHeight;
        m_maxFitHeight = data.m_maxFitHeight;

        m_nodesScaleFactorGlobal      = data.m_nodesScaleFactorGlobal;
        m_weightsScaleFactorGloal     = data.m_weightsScaleFactorGloal;
        m_nodesScaleFactorLayerWise   = data.m_nodesScaleFactorLayerWise;
        m_weightsScaleFactorLayerWise = data.m_weightsScaleFactorLayerWise;

        m_relativePosition = data.m_relativePosition;
        m_relativeRotation = data.m_relativeRotation;
    }
    public NNVSaveData SaveData()
    {
        NNVSaveData data = new NNVSaveData
        {
            m_visualize    = m_visualize,
            m_height       = m_height,
            m_width        = m_width,
            m_marginX      = m_marginX,
            m_marginY      = m_marginY,
            m_fitHeight    = m_fitHeight,
            m_maxFitHeight = m_maxFitHeight,
            m_orientation  = m_orientation,

            m_nodesScaleFactorGlobal      = m_nodesScaleFactorGlobal,
            m_weightsScaleFactorGloal     = m_weightsScaleFactorGloal,
            m_nodesScaleFactorLayerWise   = m_nodesScaleFactorLayerWise,
            m_weightsScaleFactorLayerWise = m_weightsScaleFactorLayerWise,

            m_relativePosition = m_relativePosition,
            m_relativeRotation = m_relativeRotation
        };

        return(data);
    }