You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FITK_Interface/FITKInterfaceModel/FITKMeshSurfaceNode.h

96 lines
2.8 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
*
* @file FITKMeshSurface.h
* @brief 网格表面类声明基于elementset表示
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*
*/
#ifndef __FITKMESH__SURFACE_NODE_H___
#define __FITKMESH__SURFACE_NODE_H___
#include "FITKMeshSurface.h"
namespace Interface
{
/**
* @brief 网格节点表面类基于set的表示
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
class FITKInerfaceModelAPI FITKMeshSurfaceNode : public FITKMeshSurface
{
FITKCLASS(Interface, FITKMeshSurfaceNode);
public:
/**
* @brief Construct a new FITKMeshSurface object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
explicit FITKMeshSurfaceNode() = default;
/**
* @brief Destroy the FITKMeshSurface object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
virtual ~FITKMeshSurfaceNode() = default;
/**
* @brief 获取表面类型
* @return MeshSurfaceType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
FITKMeshSurface::MeshSurfaceType getMeshSurfaceType() override;
/**
* @brief 追加表面
* @param[i] modelID set的父对象id可以是装配、部件 装配实例
* @param[i] setID 集合ID
* @param[i] value 权重参数
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
void addMeshSet(int modelID,int setID, double value);
/**
* @brief 追加表面
* @param[i] model set的父对象可以是装配、部件 装配实例
* @param[i] set 集合
* @param[i] value 权重参数
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
void addMeshSet(FITKAbstractModel* model, FITKModelSet* set, double value);
/**
* @brief 获取第index个值
* @param[i] index 索引
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
double getValueAt(const int index) const;
/**
* @brief 获取集合信息,将复合集合拆分,返回值不会包含复合集合
* @return QList<SurfaceAbsSetInfo>
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
virtual QList<SurfaceAbsSetInfo> getAbsoluteSetInfo() override;
protected:
/**
* @brief 权重列表
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
QList<double> _values{};
};
}
#endif