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/FITKInterfaceMeshGen/FITKGlobalMeshSizeInfo.h

128 lines
3.6 KiB
C

/**
*
* @file FITKGlobalMeshSizeInfo.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*
*/
#ifndef __FITK_ABSTRACT_GLOBALINFO_H__
#define __FITK_ABSTRACT_GLOBALINFO_H__
#include "FITKInterfaceMeshGenAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractNDataObject.h"
#include "FITK_Kernel/FITKCore/FITKVarientParams.h"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
class FITKInterfaceMeshGenAPI FITKGlobalMeshSizeInfo :
public Core::FITKAbstractNDataObject, public Core::FITKVarientParams
{
Q_OBJECT
public:
/**
* @brief Construct a new FITKGlobalMeshSizeInfo object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
explicit FITKGlobalMeshSizeInfo() = default;
/**
* @brief Destroy the FITKGlobalMeshSizeInfo object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
virtual ~FITKGlobalMeshSizeInfo() = default;
/**
* @brief
* @param[i] s
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
void setGlobalSize(const double s);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double getGlobalSize() const;
/**
* @brief
* @param[i] s
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
void setMinSize(const double s);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double getMinSize() const;
/**
* @brief
* @param[i] s
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
void setMaxSize(const double s);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double getMaxSize() const;
/**
* @brief
* @param[i] f
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
void setSizeFactor(const double f);
/**
* @brief
* @return double
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double getSizeFactor() const;
protected:
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double _globalSize{ 0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double _minSize{ 0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double _maxSize{ 0 };
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-17
*/
double _sizeFactor{ 1.0 };
};
}
#endif