IRayImage.h 579 B

12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * File: IRayImage.h
  3. *
  4. * Purpose: Definit a struct for image data and information
  5. *
  6. *
  7. * @author Haitao.Ning
  8. * @version 1.1 2022/09/06
  9. *
  10. * Copyright (C) 2009, 2022, iRay Technology (Shanghai) Ltd.
  11. *
  12. */
  13. #ifndef _IRAY_IMAGE_H_
  14. #define _IRAY_IMAGE_H_
  15. #include "IRayVariant.h"
  16. #include "IRayEnumDef.h"
  17. #pragma pack(push, 1)
  18. typedef IRayVariantMap IRayImagePropertList;
  19. typedef struct _tagIRayImage
  20. {
  21. int nWidth;
  22. int nHeight;
  23. int nBytesPerPixel;
  24. unsigned short* pData;
  25. IRayImagePropertList propList;
  26. }IRayImage;
  27. #pragma pack(pop)
  28. #endif