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.

104 lines
3.0 KiB
C

#ifndef _FITKCFDPostIsosurface_H
#define _FITKCFDPostIsosurface_H
#include "FITKAbstractCFDPostData.h"
class vtkContourFilter;
namespace Interface
{
/**
* @brief VTK
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
class FITKInterfaceCFDPostAPI FITKCFDPostIsosurface :public FITKAbstractCFDPostData
{
public:
FITKCFDPostIsosurface(int parentID);
virtual ~FITKCFDPostIsosurface();
/**
* @brief
* @return FITKPostDataType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual FITKPostDataType getPostDataType();
/**
* @brief
* @param[i] filedName
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
void setFiledName(const QString filedName);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
QString getFiledName();
/**
* @brief
* @param[i] type
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void setFiledType(const FITKPostFieldType type);
/**
* @brief
* @return FITKPostFieldType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
FITKPostFieldType getFiledType();
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void setValue(const QList<double> value);
/**
* @brief
* @return QList<double>
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
QList<double> getValue();
/**
* @brief
* @return vtkDataSet*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkDataSet* getOutput()override;
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkContourFilter* _contourFilter = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
int _valueSize = 0;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
QString _filedName = "";
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
FITKPostFieldType _filedType = FITKPostFieldType::Post_None;
};
}
#endif