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
MeshExtractor.h
Go to the documentation of this file.
1
6
#ifndef CNOID_UTIL_MESH_EXTRACTOR_H
7
#define CNOID_UTIL_MESH_EXTRACTOR_H
8
9
#include "
EigenTypes.h
"
10
#include <functional>
11
#include "exportdecl.h"
12
13
namespace
cnoid
{
14
15
class
SgNode;
16
class
SgMesh;
17
class
SgShape;
18
class
MeshExtractorImpl;
19
20
class
CNOID_EXPORT
MeshExtractor
21
{
22
public
:
23
MeshExtractor
();
24
bool
extract(
SgNode
* node, std::function<
void
()> callback);
25
bool
extract(
SgNode
* node, std::function<
void
(
SgMesh
* mesh)> callback);
26
SgMesh
* integrate(
SgNode
* node);
27
28
SgMesh
* currentMesh()
const
;
29
SgShape
* currentShape()
const
;
30
const
Affine3
& currentTransform()
const
;
31
const
Isometry3
& currentTransformWithoutScaling()
const
;
32
bool
isCurrentScaled()
const
;
33
34
private
:
35
MeshExtractorImpl* impl;
36
};
37
38
}
39
40
#endif
cnoid::SgMesh
Definition:
SceneDrawables.h:337
cnoid::Isometry3
Eigen::Isometry3d Isometry3
Definition:
EigenTypes.h:73
cnoid::MeshExtractor
Definition:
MeshExtractor.h:20
cnoid
Definition:
AbstractSceneLoader.h:11
EigenTypes.h
cnoid::SgShape
Definition:
SceneDrawables.h:530
cnoid::SgNode
Definition:
SceneGraph.h:157
cnoid::Affine3
Eigen::Affine3d Affine3
Definition:
EigenTypes.h:62
Generated by
1.8.17