My Project
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
i
l
m
n
o
r
s
t
u
v
w
~
+
Variables
_
a
b
c
f
h
i
l
n
o
p
r
s
t
v
x
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
h
i
m
p
r
s
t
u
w
Functions
Variables
Enumerations
Enumerator
Macros
•
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
F:
University
Git
lego
lego
model
composite.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
brick.h
"
15
#include "
exception.h
"
16
23
class
Composite
:
public
BaseObject
24
{
25
public
:
29
Composite
();
30
34
~Composite
();
35
40
void
add
(
Brick
* obj);
41
46
void
remove
(
int
ID
);
47
52
virtual
void
modificate
(
Modification
* modification,
Vertex
* center)
override
;
53
57
void
clear
();
58
59
vector<Brick*>
objects
;
60
};
Composite
Contains loaded bricks.
Definition:
composite.h:23
Vertex
Define vertex consisting 3 double coordinates.
Definition:
vertex.h:24
Composite::Composite
Composite()
Definition:
composite.cpp:5
Brick
Brick archetecture.
Definition:
brick.h:25
BaseObject
Base object. Virtual class. No realisation.
Definition:
baseobject.h:23
brick.h
Model basement.
Composite::~Composite
~Composite()
Definition:
composite.cpp:10
Composite::objects
vector< Brick * > objects
Definition:
composite.h:59
Composite::modificate
virtual void modificate(Modification *modification, Vertex *center) override
Definition:
composite.cpp:25
Composite::add
void add(Brick *obj)
Definition:
composite.cpp:15
exception.h
Composite::clear
void clear()
Definition:
composite.cpp:46
BaseObject::ID
int ID
Definition:
baseobject.h:46
Modification
Base modification object class.
Definition:
modification.h:26
Generated by
1.8.12