3
0

CBBoxInt32.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. //=============================================================================
  2. //CBBoxInt32
  3. // 3D bounding box with int32 coordinates
  4. //
  5. //=============================================================================
  6. // (C) 2005 ATI Research, Inc., All rights reserved.
  7. //=============================================================================
  8. // Modified from original
  9. #pragma once
  10. #include <ImageBuilderBaseType.h>
  11. namespace ImageProcessingAtom
  12. {
  13. //bounding box class with coords specified as int32
  14. class CBBoxInt32
  15. {
  16. public:
  17. int32 m_minCoord[3]; //upper left back corner
  18. int32 m_maxCoord[3]; //lower right front corner
  19. CBBoxInt32();
  20. bool Empty(void);
  21. void Clear(void);
  22. void Augment(int32 a_X, int32 a_Y, int32 a_Z);
  23. void AugmentX(int32 a_X);
  24. void AugmentY(int32 a_Y);
  25. void AugmentZ(int32 a_Z);
  26. void ClampMin(int32 a_X, int32 a_Y, int32 a_Z);
  27. void ClampMax(int32 a_X, int32 a_Y, int32 a_Z);
  28. };
  29. } //namespace ImageProcessingAtom