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 //---------------------------------------------------------------------
15 // class OutputPart:
16 //
17 // Same interface as OutputFile. Please refer to OutputFile.
18 //---------------------------------------------------------------------
19 
21 {
22  public:
24  OutputPart(MultiPartOutputFile& multiPartFile, int partNumber);
25 
27  const char * fileName () const;
29  const Header & header () const;
31  void setFrameBuffer (const FrameBuffer &frameBuffer);
33  const FrameBuffer & frameBuffer () const;
35  void writePixels (int numScanLines = 1);
37  int currentScanLine () const;
39  void copyPixels (InputFile &in);
41  void copyPixels (InputPart &in);
42 
44  void updatePreviewImage (const PreviewRgba newPixels[]);
46  void breakScanLine (int y, int offset, int length, char c);
47 
48  private:
49  OutputFile* file;
50 };
51 
52 
54 
55 #endif /* IMFOUTPUTPART_H_ */
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition: ImfNamespace.h:80
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:60
#define IMF_EXPORT
Definition: ImfExport.h:54
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition: ImfNamespace.h:79
#define IMF_EXPORT_TYPE
Definition: ImfExport.h:57