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
ImfDeepImage.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_DEEP_IMAGE_H
7
#define INCLUDED_IMF_DEEP_IMAGE_H
8
9
//----------------------------------------------------------------------------
10
//
11
// class DeepImage
12
//
13
// For an explanation of images, levels and channels,
14
// see the comments in header file Image.h.
15
//
16
//----------------------------------------------------------------------------
17
18
#include "
ImfDeepImageLevel.h
"
19
#include "
ImfImage.h
"
20
#include "
ImfUtilExport.h
"
21
22
#include "
ImfTileDescription.h
"
23
24
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
25
26
class
IMFUTIL_EXPORT_TYPE
DeepImage
:
public
Image
27
{
28
public
:
29
//
30
// Constructors and destructor.
31
// The default constructor constructs an image with an empty data
32
// window level mode ONE_LEVEL and level rounding mode ROUND_DOWN.
33
//
34
35
IMFUTIL_EXPORT
DeepImage
();
36
37
IMFUTIL_EXPORT
38
DeepImage (
39
const
IMATH_NAMESPACE::Box2i
& dataWindow,
40
LevelMode
levelMode =
ONE_LEVEL
,
41
LevelRoundingMode
levelRoundingMode =
ROUND_DOWN
);
42
43
IMFUTIL_EXPORT
virtual
~DeepImage ();
44
45
//
46
// Accessing image levels by level number
47
//
48
49
IMFUTIL_EXPORT
virtual
DeepImageLevel
&
level
(
int
l = 0);
50
IMFUTIL_EXPORT
virtual
const
DeepImageLevel
&
level
(
int
l = 0)
const
;
51
52
IMFUTIL_EXPORT
virtual
DeepImageLevel
&
level
(
int
lx,
int
ly);
53
IMFUTIL_EXPORT
virtual
const
DeepImageLevel
&
level
(
int
lx,
int
ly)
const
;
54
55
protected
:
56
IMFUTIL_EXPORT
57
virtual
DeepImageLevel
*
58
newLevel
(
int
lx,
int
ly,
const
IMATH_NAMESPACE::Box2i
& dataWindow);
59
};
60
61
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
62
63
#endif
DeepImage
Definition:
ImfDeepImage.h:26
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
Definition:
ImfNamespace.h:83
ImfImage.h
ImfTileDescription.h
DeepImageLevel
Definition:
ImfDeepImageLevel.h:34
Image::level
virtual IMFUTIL_EXPORT ImageLevel & level(int l=0)
Image
Definition:
Image.h:45
LevelRoundingMode
enum IMF_EXPORT_ENUM LevelRoundingMode
Definition:
ImfTileDescription.h:28
Box2i
Box< V2i > Box2i
2D box of base type int.
Definition:
ImathBox.h:143
IMFUTIL_EXPORT_TYPE
#define IMFUTIL_EXPORT_TYPE
Definition:
ImfUtilExport.h:54
IMFUTIL_EXPORT
#define IMFUTIL_EXPORT
Definition:
ImfUtilExport.h:51
ImfUtilExport.h
ImfDeepImageLevel.h
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
#define OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
Definition:
ImfNamespace.h:80
Image::newLevel
virtual ImageLevel * newLevel(int lx, int ly, const IMATH_NAMESPACE::Box2i &dataWindow)=0
LevelMode
OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER enum IMF_EXPORT_ENUM LevelMode
Definition:
ImfTileDescription.h:19
ROUND_DOWN
ROUND_DOWN
Definition:
ImfTileDescription.h:30
ONE_LEVEL
ONE_LEVEL
Definition:
ImfTileDescription.h:21
OpenEXR
ImfDeepImage.h
Generated on Sat Nov 23 2024 02:46:14 for HDK by
1.8.6