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.

97 lines
2.6 KiB
C

/**********************************************************************
* @file FITKCFDPostSteady.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*********************************************************************/
#ifndef _FITKCFDPostSteady_H
#define _FITKCFDPostSteady_H
#include "FITKInterfaceCFDPostAPI.h"
#include "FITKCFDPostImport.h"
class vtkDataSetReader;
class vtkAlgorithm;
class vtkActor;
class vtkDataSetMapper;
class vtkDataSet;
namespace Comp {
class FITKGraphObjectVTK;
}
namespace Interface
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
class FITKInterfaceCFDPostAPI FITKCFDPostSteady :public FITKCFDPostImport
{
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
explicit FITKCFDPostSteady(QString fileType);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual ~FITKCFDPostSteady();
/**
* @brief
* @return FITKPostDataType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual FITKPostDataType getPostDataType();
/**
* @brief
* @param[i] fileName
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual void setFile(QString& fileName) override;
/**
* @brief
* @return vtkDataSet *
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-07
*/
virtual vtkDataSet* getOutput() override;
/**
* @brief
* @return vtkAlgorithmOutput *
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual vtkAlgorithmOutput* getOutputPort() override;
protected:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-25
*/
QString _fileType = "";
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
QString _fileName = "";
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
vtkAlgorithm* _dataReader = nullptr;
};
}
#endif