You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /* Copyright(c)--Navinfo--Author:fangzurui--date:2023-10-23 */
-
- #ifndef DATAMANAER_COMMON_IMAGE_H_
- #define DATAMANAER_COMMON_IMAGE_H_
-
- #include <string>
-
- #include "EarthViewer/RenderEngine/RenderUtil/MapPoint.h"
- #include "EarthViewer/RenderEngine/RenderData/TifImage.h"
-
- /**
- * @brief The Image class
- * 影像,包含影像名称、类型、创建时间、中心点坐标、影像创建对象指针信息
- * 用于加载管理渲染无人机校正后的影像
- */
- class Image {
- public:
- Image();
- ~Image();
-
- // 图像名称
- void setImageName(std::string imageName);
- std::string getImageName();
-
- // 图像类型
- void setImageType(std::string imageType);
- std::string getImageType();
-
- // 图像创建时间
- void setImageDate(std::string imageDate);
- std::string getImageDate();
-
- // 图像中心点坐标
- void setImageCenterCoord(MapPoint mapPoint);
- MapPoint getImageCenterCoord();
-
- // 图像对象指针
- void setImagePtr(osg::ref_ptr<TifImageLayer> pTifImage);
- osg::ref_ptr<TifImageLayer> getImagePtr();
-
- private:
- std::string _imageName; // 图像名称
- std::string _imageType; // 图像类型
- std::string _imageDate; // 图像创建时间
- MapPoint _imageCenterCoord; // 图像中心点坐标
- osg::ref_ptr<TifImageLayer> _pTifImage; // 图像对象指针
- };
-
- #endif // DATAMANAER_COMMON_IMAGE_H_
|