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.

119 lines
3.2 KiB
C

/**********************************************************************
* @file FITKCFDPostGlyph.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*********************************************************************/
#ifndef _FITKCFDPostGlyph_H
#define _FITKCFDPostGlyph_H
#include "FITKInterfaceCFDPostAPI.h"
#include "FITKAbstractCFDPostData.h"
#include "FITKCFDPostMacros.hxx"
namespace Interface
{
class FITKAlgGlyph;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
class FITKInterfaceCFDPostAPI FITKCFDPostGlyph :public FITKAbstractCFDPostData
{
/*
*brief
*/
AddProperty(QString, vectorName);
/*
*brief
*/
AddProperty(int, tipResolution, 6);
/*
*brief
*/
AddProperty(double, tipRadius, 0.2);
/*
*brief
*/
AddProperty(double, tipLength, 0.1);
/*
*brief
*/
AddProperty(int, shaftResolution, 6);
/*
*brief
*/
AddProperty(double, shaftRadius, 0.1);
/*
*brief
*/
AddProperty(double, scaleFactor, 0.01);
/*
*brief 使
*/
AddProperty(bool, pointDataUsed, true);
/*
*brief
*/
AddProperty(int, pointNum, 0);
/*
*brief
*/
AddProperty(int, maxNumber, 100000);
/*
*brief :0-scalar,1-vector,2-vectorcomponent,3-off
*/
AddProperty(int, scaleMode, 1);
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
explicit FITKCFDPostGlyph(int parentID);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual ~FITKCFDPostGlyph();
/**
* @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
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-06
*/
virtual void update() override;
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-24
*/
FITKAlgGlyph* _glyphAlg = nullptr;
};
}
#endif