ImfForward.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. ///////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2011, Industrial Light & Magic, a division of Lucas
  4. // Digital Ltd. LLC
  5. //
  6. // Portions (c) 2012 Weta Digital Ltd
  7. //
  8. // All rights reserved.
  9. //
  10. // Redistribution and use in source and binary forms, with or without
  11. // modification, are permitted provided that the following conditions are
  12. // met:
  13. // * Redistributions of source code must retain the above copyright
  14. // notice, this list of conditions and the following disclaimer.
  15. // * Redistributions in binary form must reproduce the above
  16. // copyright notice, this list of conditions and the following disclaimer
  17. // in the documentation and/or other materials provided with the
  18. // distribution.
  19. // * Neither the name of Industrial Light & Magic nor the names of
  20. // its contributors may be used to endorse or promote products derived
  21. // from this software without specific prior written permission.
  22. //
  23. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  24. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  25. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  26. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  27. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  28. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  29. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  30. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  31. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  32. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  33. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  34. //
  35. ///////////////////////////////////////////////////////////////////////////
  36. #ifndef INCLUDED_IMF_FORWARD_H
  37. #define INCLUDED_IMF_FORWARD_H
  38. ////////////////////////////////////////////////////////////////////
  39. //
  40. // Forward declarations for OpenEXR - correctly declares namespace
  41. //
  42. ////////////////////////////////////////////////////////////////////
  43. #include "ImfNamespace.h"
  44. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  45. // classes for basic types;
  46. template<class T> class Array;
  47. template<class T> class Array2D;
  48. struct Channel;
  49. class ChannelList;
  50. struct Chromaticities;
  51. // attributes used in headers are TypedAttributes
  52. class Attribute;
  53. class Header;
  54. // file handling classes
  55. class OutputFile;
  56. class TiledInputFile;
  57. class ScanLineInputFile;
  58. class InputFile;
  59. class TiledOutputFile;
  60. class DeepScanLineInputFile;
  61. class DeepScanLineOutputFile;
  62. class DeepTiledInputFile;
  63. class DeepTiledOutputFile;
  64. class AcesInputFile;
  65. class AcesOutputFile;
  66. class TiledInputPart;
  67. class TiledInputFile;
  68. class TileOffsets;
  69. // multipart file handling
  70. class GenericInputFile;
  71. class GenericOutputFile;
  72. class MultiPartInputFile;
  73. class MultiPartOutputFile;
  74. class InputPart;
  75. class TiledInputPart;
  76. class DeepScanLineInputPart;
  77. class DeepTiledInputPart;
  78. class OutputPart;
  79. class ScanLineOutputPart;
  80. class TiledOutputPart;
  81. class DeepScanLineOutputPart;
  82. class DeepTiledOutputPart;
  83. // internal use only
  84. struct InputPartData;
  85. struct OutputStreamMutex;
  86. struct OutputPartData;
  87. struct InputStreamMutex;
  88. // frame buffers
  89. class FrameBuffer;
  90. class DeepFrameBuffer;
  91. struct DeepSlice;
  92. // compositing
  93. class DeepCompositing;
  94. class CompositeDeepScanLine;
  95. // preview image
  96. class PreviewImage;
  97. struct PreviewRgba;
  98. // streams
  99. class OStream;
  100. class IStream;
  101. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
  102. #endif // include guard