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.

88 lines
2.7 KiB
C

/**********************************************************************
* @file FITKCFDPostSliceCylinder.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*********************************************************************/
#ifndef _FITKCFDPostSliceCylinder_H
#define _FITKCFDPostSliceCylinder_H
#include "FITKInterfaceCFDPostAPI.h"
#include "FITKAbstractCFDPostData.h"
class vtkCutter;
class vtkCylinder;
namespace Interface
{
class FITKCFDPost3DManager;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
class FITKInterfaceCFDPostAPI FITKCFDPostSliceCylinder : public FITKAbstractCFDPostData
{
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
FITKCFDPostSliceCylinder(int parentID);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual ~FITKCFDPostSliceCylinder();
/**
* @brief
* @return FITKPostDataType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual FITKPostDataType getPostDataType() override;
/**
* @brief
* @return vtkDataSet* vtk
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkDataSet* getOutput() override;
/**
* @brief
* @param[i] center [3]
* @param[i] axis [3]
* @param[i] radius
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-11
*/
void setValue(double* center, double* axis, double radius);
/**
* @brief
* @param[o] center [3]
* @param[o] axis [3]
* @param[o] radius
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-11
*/
void getValue(double* center, double* axis, double& radius);
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkCutter* _sliceDataSet = nullptr;
/**
* @brief cylinder
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
vtkCylinder* _cylinder = nullptr;
};
}
#endif