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_Interface/FITKInterfaceGeometry/FITKGeoModelManager.h

66 lines
1.8 KiB
C

/**
*
* @file FITKGeoModelManager.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*
*/
#ifndef _FITKGEOMODEL_MANAGER_H___
#define _FITKGEOMODEL_MANAGER_H___
#include "FITKInterfaceGeometryAPI.h"
#include "FITK_Interface/FITKInterfaceModel/FITKAbstractGeoModel.h"
#include "FITK_Kernel/FITKCore/FITKAbstractDataManager.hpp"
namespace Interface
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
class FITKInterfaceGeometryAPI FITKGeoModelManager :
public Core::FITKAbstractDataManager<FITKAbstractGeoModel>
{
public:
/**
* @brief Construct a new FITKGeoModelManager object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
explicit FITKGeoModelManager();
/**
* @brief Destroy the FITKGeoModelManager object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
virtual ~FITKGeoModelManager();
template <class T>
/**
* @brief index
* @param[i] index
* @return T*
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
T* getDataByIndexT(const int index)
{
return dynamic_cast<T*>(this->getDataByIndex(index));
}
/**
* @brief
* @param[o] minPt
* @param[o] maxPt
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-30
*/
void getBoundaryBox(double* minPt, double* maxPt);
};
}
#endif