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.

114 lines
3.3 KiB
C

/**********************************************************************
* @file FITKCFDPostProbe.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*********************************************************************/
#ifndef _FITKCFDPostProbe_H
#define _FITKCFDPostProbe_H
#include "FITKInterfaceCFDPostAPI.h"
#include "FITKAbstractCFDPostData.h"
#include "FITKCFDPostMacros.hxx"
class vtkProbeFilter;
class vtkUnstructuredGrid;
class vtkCell;
class vtkPolyData;
namespace Interface
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
class FITKInterfaceCFDPostAPI FITKCFDPostProbe :public FITKAbstractCFDPostData
{
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
explicit FITKCFDPostProbe(int parentID);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual ~FITKCFDPostProbe();
/**
* @brief
* @return FITKPostDataType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual FITKPostDataType getPostDataType();
/**
* @brief
* @return vtkDataSet*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-07
*/
virtual vtkDataSet* getOutput();
/**
* @brief
* @return vtkAlgorithmOutput*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-14
*/
virtual vtkAlgorithmOutput* getOutputPort();
/**
* @brief
* @param[i] point
* @return int ID
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-17
*/
int insertPoint(double* point);
/**
* @brief
* @return int
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-22
*/
int getPointCount();
/**
* @brief
* @param[i] points
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-18
*/
void getPointAtInter(double* point,int index);
/**
* @brief
* @return vtkPolyData*
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-18
*/
vtkPolyData* getPolyData();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-18
*/
void reset();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-18
*/
vtkProbeFilter* _probeFilter = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-18
*/
vtkPolyData* _polyData = nullptr;
};
}
#endif