ImfBoxAttribute.h 937 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Copyright (c) Contributors to the OpenEXR Project.
  4. //
  5. #ifndef INCLUDED_IMF_BOX_ATTRIBUTE_H
  6. #define INCLUDED_IMF_BOX_ATTRIBUTE_H
  7. //-----------------------------------------------------------------------------
  8. //
  9. // class Box2iAttribute
  10. // class Box2fAttribute
  11. //
  12. //-----------------------------------------------------------------------------
  13. #include "ImfExport.h"
  14. #include "ImfNamespace.h"
  15. #include "ImfAttribute.h"
  16. #include <ImathBox.h>
  17. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  18. using Box2iAttribute = TypedAttribute<IMATH_NAMESPACE::Box2i>;
  19. using Box2fAttribute = TypedAttribute<IMATH_NAMESPACE::Box2f>;
  20. #ifndef COMPILING_IMF_BOX_ATTRIBUTE
  21. extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<IMATH_NAMESPACE::Box2i>;
  22. extern template class IMF_EXPORT_EXTERN_TEMPLATE TypedAttribute<IMATH_NAMESPACE::Box2f>;
  23. #endif
  24. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
  25. #endif