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.
AppFlow/FITK_Component/FITKRenderWindowVTK/FITKBoundaryActor.h

63 lines
1.5 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
*
* @file FITKBoundaryActor.h
* @brief 边界范围actor用于渲染对象的边界范围
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*
*/
#ifndef __FITKBOUNDARYACTOR_H___
#define __FITKBOUNDARYACTOR_H___
class vtkActor;
class vtkUnstructuredGrid;
namespace Comp
{
/**
* @brief 边界范围actor用于渲染对象的边界范围
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
class FITKBoundaryActor
{
public:
/**
* @brief Construct a new FITKBoundaryActor object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
explicit FITKBoundaryActor();
/**
* @brief Destroy the FITKBoundaryActor object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
virtual ~FITKBoundaryActor();
/**
* @brief 获取边界范围actor
* @return vtkActor*
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
vtkActor* getActor();
/**
* @brief 更新边界范围
* @param bound 6个分量 minx maxX minY maxY minZ maxZ
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
void updateBoundary(double* bound);
private:
/**
* @brief 边界范围actor
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-05-05
*/
vtkActor* _boundaryActor{};
};
}
#endif