HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImfOutputPart.h
Go to the documentation of this file.
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright (c) Contributors to the OpenEXR Project.
4 //
5 
6 #ifndef IMFOUTPUTPART_H_
7 #define IMFOUTPUTPART_H_
8 
9 #include "ImfForward.h"
10 
12 
13 //---------------------------------------------------------------------
14 // class OutputPart:
15 //
16 // Same interface as OutputFile. Please refer to OutputFile.
17 //---------------------------------------------------------------------
18 
20 {
21 public:
23  OutputPart (MultiPartOutputFile& multiPartFile, int partNumber);
24 
26  const char* fileName () const;
28  const Header& header () const;
30  void setFrameBuffer (const FrameBuffer& frameBuffer);
32  const FrameBuffer& frameBuffer () const;
34  void writePixels (int numScanLines = 1);
36  int currentScanLine () const;
38  void copyPixels (InputFile& in);
40  void copyPixels (InputPart& in);
41 
43  void updatePreviewImage (const PreviewRgba newPixels[]);
45  void breakScanLine (int y, int offset, int length, char c);
46 
47 private:
48  OutputFile* file;
49 };
50 
52 
53 #endif /* IMFOUTPUTPART_H_ */
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition: ImfNamespace.h:83
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:795
GLint y
Definition: glcorearb.h:103
GLintptr offset
Definition: glcorearb.h:665
class IMF_EXPORT_TYPE OutputPart
Definition: ImfForward.h:59
#define IMF_EXPORT
Definition: ImfExport.h:54
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition: ImfNamespace.h:80
#define IMF_EXPORT_TYPE
Definition: ImfExport.h:57