Choreonoid
1.8
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
p
q
r
s
t
v
w
z
Enumerations
Enumerator
a
b
c
d
f
g
i
k
l
m
n
p
s
t
u
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
l
m
n
o
p
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
l
n
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Properties
Related Functions
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
v
w
y
Files
File List
File Members
All
Functions
Variables
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Util
ImageConverter.h
Go to the documentation of this file.
1
7
#ifndef CNOID_UTIL_IMAGECONVERTER_H
8
#define CNOID_UTIL_IMAGECONVERTER_H
9
10
#include "
VRML.h
"
11
#include "exportdecl.h"
12
13
namespace
cnoid
{
14
15
class
ImageConverter
16
{
17
private
:
18
bool
initializeSFImage();
19
bool
loadPNG(
const
std::string & filePath);
20
bool
loadJPEG(
const
std::string & filePath);
21
22
public
:
23
SFImage
*
image
;
24
ImageConverter
(
void
);
25
~ImageConverter
(
void
);
26
std::string
message
;
27
28
CNOID_EXPORT
SFImage
*
convert
(
const
std::string& url);
29
};
30
31
}
32
33
#endif
cnoid::ImageConverter::image
SFImage * image
Definition:
ImageConverter.h:23
cnoid::ImageConverter::convert
CNOID_EXPORT SFImage * convert(const std::string &url)
convert ImageTexture node to PixelTexture node
Definition:
ImageConverter.cpp:58
cnoid::ImageConverter::ImageConverter
ImageConverter(void)
Definition:
ImageConverter.cpp:22
VRML.h
cnoid
Definition:
AbstractSceneLoader.h:11
cnoid::SFImage
Definition:
VRML.h:41
cnoid::ImageConverter::message
std::string message
Definition:
ImageConverter.h:26
cnoid::ImageConverter
Definition:
ImageConverter.h:15
cnoid::ImageConverter::~ImageConverter
~ImageConverter(void)
Definition:
ImageConverter.cpp:28
Generated by
1.8.17