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

147 lines
4.7 KiB
C

/**
*
* @file FITKElementLine.h
* @brief 线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-04-13
*
*/
#ifndef _FITKELEMENT_LINE_H__
#define _FITKELEMENT_LINE_H__
#include "FITKInterfaceModelAPI.h"
#include "FITKAbstractElement.h"
namespace Interface
{
/**
* @brief 2线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-07
*/
class FITKInerfaceModelAPI FITKElementLine2 : public FITKAbstractElement
{
public:
explicit FITKElementLine2();
virtual ~FITKElementLine2() = default;
/**
* @brief
* @return FITKEleType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual FITKModelEnum::FITKEleType getEleType() override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getNodeCount() override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getFaceCount()override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getEdgeCount()override;
/**
* @brief index
* @param[i] index 0
* @return QList<int> getNodeCount
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual QList<int> getFace(const int index)override { return QList<int>(); };
/**
* @brief index
* @param[i] index 0
* @return QList<int> getNodeCount
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual QList<int> getEdge(const int index) override;
/**
* @brief
* @return int 1线 2 3
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-09
*/
virtual int getElementDim() override;
};
/**
* @brief 3线
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-03-07
*/
class FITKInerfaceModelAPI FITKElementLine3 : public FITKAbstractElement
{
public:
explicit FITKElementLine3();
virtual ~FITKElementLine3() = default;
/**
* @brief
* @return FITKEleType
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual FITKModelEnum::FITKEleType getEleType() override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getNodeCount() override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getFaceCount() override;
/**
* @brief
* @return int
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual int getEdgeCount() override;
/**
* @brief index
* @param[i] index 0
* @return QList<int> getNodeCount
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual QList<int> getFace(const int index) override { return QList<int>(); }
/**
* @brief index
* @param[i] index 0
* @return QList<int> getNodeCount
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-02-28
*/
virtual QList<int> getEdge(const int index) override;
/**
* @brief
* @return int 1线 2 3
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-09
*/
virtual int getElementDim() override;
};
}
#endif