12.08.2013 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4) The row which is focused by the cursor should be highlighted. It is useful when<br />

a user pastes a<br />

module, because the highlighted row shows him which row is active now.<br />

4.5.3 The Concept View<br />

The basic idea of the concept model of the Culgi GPE is to provide several templates of different kinds<br />

of simulation programs to users. This prototype implements “DPD simulation” template for the users.<br />

As described in section 3.3 , a template contains a pipeline for some kind of simulation program. And<br />

each step in the pipeline integrates the necessary modules, which are the modules that appear in almost<br />

all the DPD simulation programs. This template shows not only the basic steps on building a simulation<br />

program to the users, but also the necessary modules in each step. It leaves the space in each step for<br />

users to fill in the right modules in the right position (see Figure 3-3).<br />

The<br />

first problem of implementation is about how to present a step in a pipeline. A new component,<br />

Macro Node, is designed to present a step. In principle, the Macro Node is a composite module which<br />

contains several primitive modules. And in the concept module, the Macro Node should support the<br />

following features.<br />

• It should contain a list of default primitive modules. The modules in this list are the necessary<br />

modules of each step. For each Macro Node, this list cannot be changed by users.<br />

• It should contain a list of user’s modules. The users can add modules <strong>and</strong> delete modules<br />

in this<br />

list.<br />

• The operations<br />

like add modules, delete modules should be implemented.<br />

• At least two views are needed to show a Macro Node. One is just to show the<br />

name of this module.<br />

The other can show all modules inside. Particularly, the second view should clearly show which<br />

modules are default modules, <strong>and</strong> which modules are user’s modules. Figure 4-6 shows the<br />

interface of a macro module.<br />

• In the second view, the borders of the macro module should enlarge or shrink if the appearance of<br />

primitive modules changes.<br />

(a) View1 (b) View2<br />

Figure 4-6 The interface of a macro node<br />

- 36 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!