HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ImfImageDataWindow.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 INCLUDED_IMF_IMAGE_DATA_WINDOW_H
7
#define INCLUDED_IMF_IMAGE_DATA_WINDOW_H
8
9
//----------------------------------------------------------------------------
10
//
11
// enum DataWindowSource,
12
// function dataWindowForFile()
13
//
14
//----------------------------------------------------------------------------
15
16
#include "
ImfNamespace.h
"
17
#include "
ImfUtilExport.h
"
18
#include <
ImathBox.h
>
19
20
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
21
22
enum
IMFUTIL_EXPORT_ENUM
DataWindowSource
23
{
24
USE_IMAGE_DATA_WINDOW
,
25
USE_HEADER_DATA_WINDOW
26
};
27
28
//
29
// Given the an image, i, an OpenEXR file header, h, and a data window
30
// source flag, d, dataWindowForFile(i,h,d) returns i.dataWindow() if d
31
// is USE_IMAGE_DATA_WINDOW, or the intersection of i.dataWindow() and
32
// h.dataWindow() if d is USE_HEADER_DATA_WINDOW.
33
//
34
35
class
Image
;
36
class
Header
;
37
38
IMFUTIL_EXPORT
39
IMATH_NAMESPACE::Box2i
40
dataWindowForFile
(
const
Header
& hdr,
const
Image
&
img
,
DataWindowSource
dws);
41
42
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
43
44
#endif
ImfNamespace.h
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition:
ImfNamespace.h:83
dataWindowForFile
IMFUTIL_EXPORT IMATH_NAMESPACE::Box2i dataWindowForFile(const Header &hdr, const Image &img, DataWindowSource dws)
Image
Definition:
Image.h:45
DataWindowSource
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMFUTIL_EXPORT_ENUM DataWindowSource
Definition:
ImfImageDataWindow.h:22
Box2i
Box< V2i > Box2i
2D box of base type int.
Definition:
ImathBox.h:143
IMFUTIL_EXPORT
#define IMFUTIL_EXPORT
Definition:
ImfUtilExport.h:51
img
GLint void * img
Definition:
glcorearb.h:556
ImfUtilExport.h
IMFUTIL_EXPORT_ENUM
#define IMFUTIL_EXPORT_ENUM
Definition:
ImfUtilExport.h:53
USE_IMAGE_DATA_WINDOW
USE_IMAGE_DATA_WINDOW
Definition:
ImfImageDataWindow.h:24
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition:
ImfNamespace.h:80
Header
Definition:
ImfHeader.h:36
ImathBox.h
OpenEXR
ImfImageDataWindow.h
Generated on Tue Dec 24 2024 02:40:46 for HDK by
1.8.6