Master's Thesis - Computer Graphics and Visualization - TU Delft
Master's Thesis - Computer Graphics and Visualization - TU Delft
Master's Thesis - Computer Graphics and Visualization - TU Delft
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.1.2 Architecture<br />
The whole system consists of four components: the user interface, the kernel, modules, <strong>and</strong> the module<br />
library, as shown in Figure F4-1(a). The main functions of each component are explained below.<br />
• A module is a building block of a program. Each module is declared in a specification file.<br />
• The module Library is a library that contains all modules’ specification files.<br />
• The kernel is the core of Culgi GPE. The main tasks of the Culgi GPE are done in the kernel. The<br />
kernel receives the comm<strong>and</strong>s from interface <strong>and</strong> operates on the modules including create a<br />
module instance, delete a module instance, run a user’s programs <strong>and</strong> so on.<br />
• The user interface is the GUI of the whole system. It shows all the comm<strong>and</strong>s, functionalities, the<br />
useful entities in a visual way for the users. Meanwhile, it waits for the events from users, <strong>and</strong> then<br />
responds to the events by passing the corresponding comm<strong>and</strong>s to the kernel.<br />
Users<br />
The Culgi GPE<br />
User<br />
Interface<br />
Tcl<br />
Interpreter<br />
Module<br />
Library<br />
Kernel Module<br />
(a)<br />
(b)<br />
Figure 4-1 Diagram of the high-level architecture of the Culgi GPE<br />
Culgi.D<br />
LL<br />
From this architecture, the whole system can be divided into three packages, as can be seen from figure<br />
F4-1(b).When the whole system is running; the user interface is waiting for actions from the user. If the<br />
action is a defined event, the user interface will call the corresponding operation. Most operations can<br />
not be done only at the interface level. The user interface will pass a comm<strong>and</strong> to the kernel. The kernel<br />
has the connection with the Tcl Interpreter, the module as well as the module library. It will pass a<br />
comm<strong>and</strong> to a specific component.<br />
With this architecture, the whole system can be extended to another library if modules are made on that<br />
- 28 -