API Documentation
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
i
j
k
l
m
n
o
r
s
u
v
Properties
Related Symbols
c
d
f
h
i
l
m
n
q
r
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Typedefs
b
g
p
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Loading...
Searching...
No Matches
ImageModel.h
Go to the documentation of this file.
1
#pragma once
2
#include <NDEVR/Model.h>
3
#if NDEVR_IMAGE_MODEL
4
namespace
NDEVR
5
{
6
/**--------------------------------------------------------------------------------------------------
7
\brief A Model which represents a 2D Image.
8
**/
9
class
NDEVR_DESIGN_API
ImageModel :
public
Model
10
{
11
public
:
12
ImageModel();
13
ImageModel(
const
Model& model);
14
void
setImage(
const
String& image_id);
15
void
setImageFile(
const
File& image_id);
16
void
createGeometry();
17
void
updateGeometryScale();
18
String getImage()
const
;
19
static
constexpr
const
char
* TypeName() {
return
"image_model"
; }
20
};
21
}
22
#endif
NDEVR_DESIGN_API
#define NDEVR_DESIGN_API
Definition
DLLInfo.h:55
NDEVR
Definition
ACIColor.h:37
Design
Headers
ImageModel.h