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.

Table B-2 Functions of Class InterfaceBase<br />

Functions Functionalities<br />

__init__( ) -Initial the Data Members.<br />

-Create an instance Kernel<br />

loadCategory() -Read the folders name in CMLib.<br />

-Show them in the widget of categories list.<br />

loadLibrary() -Read the data in file ‘syslib.def’ of the current category.<br />

-S how them in the widget of modules list.<br />

scanLibrary() -Call kernel.scanLibrary<br />

-Call LoadCategory<br />

-Call LoadLibrary<br />

findWidget find the ID of the widget that is single clicked.<br />

singleClick -call findWidget to get the ID of the widget that is single clicked.<br />

-according to the type of this Widget, call the corresponding functions. For<br />

example, showView1, showView2, ……<br />

CreateNode() -Call Kernel.CreateNode()<br />

DeleteModule() -Call Kernel.DeleteNode()<br />

showView1() -Call Kernel.showView1()<br />

showView2() -Call Kernel.showView2()<br />

showView3 -Call Kernel.showView3()<br />

showView4 -Call Kernel.showView4()<br />

zoomIn -Call Kernel.zoomIn()<br />

zoomOut -Call Kernel.zoomOut()<br />

Save -save a file<br />

Open -open a file<br />

Copy Copy the name of the node <strong>and</strong> the values of the parameters.<br />

Paste -paste the node in the given position<br />

- 60 -

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

Saved successfully!

Ooh no, something went wrong!