IOLink
IOL_v1.6.1_release
Changes
ChangeLog
API ChangeLog
User guide
Capacities
Overview
Installation
Getting started
View concept
Storage concept
Fundamentals
Custom implementation
Serialization
Extensions
Data Frames
Namespaces
Namespace List
Namespace Members
All
a
c
d
i
l
m
o
p
r
s
v
Functions
Typedefs
a
d
i
m
p
r
s
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
Typedefs
Related Functions
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
LodImageViewProvider.h
1
#pragma once
2
3
#include <iolink/view/LodImageView.h>
4
5
namespace
iolink
6
{
7
11
class
LodImageViewProvider
12
{
13
public
:
17
inline
static
bool
isLodImage
(std::shared_ptr<View> view) noexcept
18
{
19
return
(
dynamic_cast<
const
LodImageView
*
>
(view.get()) !=
nullptr
);
20
}
21
27
inline
static
std::shared_ptr<LodImageView>
toLodImage
(std::shared_ptr<View> view) noexcept
28
{
29
return
std::dynamic_pointer_cast<LodImageView>(view);
30
}
31
};
32
33
}
// end namespace iolink
iolink
All IOLink symbols are enclosed in this namespace.
Definition:
ArrayX.h:7
iolink::LodImageView
A view on an image with multiple levels of detail (LOD).
Definition:
LodImageView.h:20
iolink::LodImageViewProvider::isLodImage
static bool isLodImage(std::shared_ptr< View > view) noexcept
Checks if given View is a LodImageView.
Definition:
LodImageViewProvider.h:17
iolink::LodImageViewProvider::toLodImage
static std::shared_ptr< LodImageView > toLodImage(std::shared_ptr< View > view) noexcept
Extracts the LodImageView interface from a given generic view.
Definition:
LodImageViewProvider.h:27
iolink::LodImageViewProvider
Utility class for LodImageView support.
Definition:
LodImageViewProvider.h:11
iolink
public
include
iolink
view
LodImageViewProvider.h
Generated on Thu Sep 7 2023 08:17:19 for IOLink by
1.8.17