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/FITKMeshSurfaceElement.h

107 lines
3.1 KiB
C

/**
*
* @file FITKMeshSurface.h
* @brief elementset
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*
*/
#ifndef __FITKMESH__SURFACE_ELEMENT_H___
#define __FITKMESH__SURFACE_ELEMENT_H___
#include "FITKMeshSurface.h"
namespace Interface
{
/**
* @brief set
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
class FITKInerfaceModelAPI FITKMeshSurfaceElement : public FITKMeshSurface
{
FITKCLASS(Interface, FITKMeshSurfaceElement);
public:
/**
* @brief Construct a new FITKMeshSurface object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
explicit FITKMeshSurfaceElement() = default;
/**
* @brief Destroy the FITKMeshSurface object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
virtual ~FITKMeshSurfaceElement() = default;
/**
* @brief
* @return MeshSurfaceType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
FITKMeshSurface::MeshSurfaceType getMeshSurfaceType() override;
/**
* @brief
* @param[i] modelID setid
* @param[i] setID ID
* @param[i] surfIndex
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
void addMeshSet(int modelID, int setID, int surfIndex);
/**
* @brief
* @param[i] model set
* @param[i] set
* @param[i] surfIndex
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
void addMeshSet(FITKAbstractModel* model, FITKModelSet* set, int surfIndex);
/**
* @brief index
* @param[i] index
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-26
*/
int getSurfaceIndexAt(const int index) const;
/**
* @brief index
* @param[i] index
* @param[i] surfIndex
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-20
*/
void setSurfaceIndex(const int index, const int surfIndex);
/**
* @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<int> _surfIndex{};
};
}
#endif