MEPP2 Project
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace 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
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
c
e
f
h
i
m
p
r
s
t
v
Enumerations
Enumerator
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
y
~
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
a
b
c
d
e
f
g
h
i
k
m
n
o
p
q
r
s
t
v
w
Enumerations
Enumerator
Related Functions
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
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
x
Variables
c
d
e
f
i
l
m
n
o
p
r
s
t
v
Typedefs
a
c
e
f
g
h
i
k
l
m
n
o
p
r
t
v
w
Enumerations
Enumerator
Macros
_
a
b
c
h
i
m
n
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Visualization
Helpers
DataStructures.h
Go to the documentation of this file.
1
// Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2
// All rights reserved.
3
//
4
// This file is part of MEPP2; you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published
6
// by the Free Software Foundation; either version 3 of the License,
7
// or (at your option) any later version.
8
//
9
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11
#pragma once
12
13
#include <QMetaType>
14
#include "
Base/Color.hpp
"
15
#include "
Visualization/BaseViewerOSG.h
"
16
#include <osg/Node>
17
18
19
namespace
FEVV
{
20
21
class
BaseViewerOSG;
22
23
namespace
Helpers {
24
25
enum class
DataType
: unsigned char { MODEL = 1, GROUP = 2,
DEBUG_OBJECT
= 3 };
26
27
template
<
typename
NodeType >
28
struct
Model
29
{
30
NodeType *
node
;
31
std::string
name
;
32
DataType
type
;
33
unsigned
int
position
;
34
BaseViewerOSG
*
viewer
;
35
};
36
37
}
// namespace Helpers
38
39
}
// namespace FEVV
40
41
Q_DECLARE_METATYPE(
FEVV::Helpers::Model< osg::Node >
)
BaseViewerOSG.h
FEVV::Helpers::Model
Definition:
DataStructures.h:29
FEVV::Helpers::Model::position
unsigned int position
Definition:
DataStructures.h:33
FEVV::BaseViewerOSG
Definition:
BaseViewerOSG.h:47
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition:
Assert.h:16
FEVV::Helpers::Model::type
DataType type
Definition:
DataStructures.h:32
FEVV::Helpers::Model::name
std::string name
Definition:
DataStructures.h:31
FEVV::Helpers::DataType::MODEL
@ MODEL
Color.hpp
FEVV::Helpers::Model::node
NodeType * node
Definition:
DataStructures.h:30
FEVV::Helpers::Model::viewer
BaseViewerOSG * viewer
Definition:
DataStructures.h:34
FEVV::Helpers::DataType
DataType
Definition:
DataStructures.h:25
Generated by
1.8.20