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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table B-3 Functionalities of Class ConceptInterface<br />

Functions Functionalities<br />

__init__( ) -Create three macro nodes, ‘box’, ‘view’, ‘simulation’<br />

-Add them to Data Member supperNodes<br />

LoadCategory -be called when the users open a macro node.<br />

-load the categories that would be useful in this macro node are loaded<br />

CreateModule() -Check whether the position is a valid. Because the modules in the concept<br />

strategy should be placed to the certain area. For example, the modules which<br />

are needed when building the box can only be able to added to the area belong<br />

to supper nodes box.<br />

-Call CreateModule in Supper Class BaseInterface<br />

-Add this new module to the corresponding supperNode<br />

-Call macronode.updatePosition<br />

-Add the module to Data Member runConceptNodes<br />

DeleteModule() -Call deleteModule in BaseInterface<br />

-Delete this new module to the corresponding supperNode<br />

-Add the module to Data Member runConceptNodes<br />

showView1 -Call showview1 in Supper Class BaseInterface<br />

-Call macroNode.updatePosition<br />

showView2 -Call showview2 in Supper Class BaseInterface<br />

-Call macroNode.updatePosition<br />

showView3 -Call showview3 in Supper Class BaseInterface<br />

-Call macroNode.updatePosition<br />

showView4 -Call showview4 in Supper Class BaseInterface<br />

-Call macroNode.updatePosition<br />

zoomIn -Call zoomIn in Supper Class BaseInterface<br />

-Check the property of current Module.<br />

-If it is primitive module, call macroNode.updatePosition<br />

-Else, it should be a macro node. Reload the categories, whose modules should<br />

be valid in this macroNode.<br />

zoomOut -Check the property of current Module.<br />

-If it is primitive module, call macroNode.updatePosition<br />

Run -Make a list of modules. The order of these modules are is made according to<br />

the order in runConceptNodes<br />

destructor -call destructor in Supper Class BaseInterface.<br />

-return a list of modules with the order in runConceptNodes.<br />

-This is used when transform from the Concept Editor to the Network Editor<br />

- 61 -

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

Saved successfully!

Ooh no, something went wrong!