IRayImage_MAM.h 533 B

1234567891011121314151617181920212223242526272829303132
  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.0 2015/02/02
  9. *
  10. * Copyright (C) 2009, 2015, iRay Technology (Shanghai) Ltd.
  11. *
  12. */
  13. #ifndef _IRAY_IMAGE_H_
  14. #define _IRAY_IMAGE_H_
  15. #include "IRayVariant_MAM.h"
  16. #include "IRayEnumDef_MAM.h"
  17. #pragma pack(push, 1)
  18. typedef struct _tagIRayImage
  19. {
  20. int nWidth;
  21. int nHeight;
  22. int nBytesPerPixel;
  23. unsigned short* pData;
  24. IRayVariantMap propList;
  25. }IRayImage;
  26. #pragma pack(pop)
  27. #endif