Home

user manual for the VRML GUI - Department of Systems and

image

Contents

1. Levels All Levels Level U Level 1 Level z Figure 5 At first the Result panel likes above Fig 5 and the scene likes Fig 6 showing the result at time 00 00 000 Only Start button is enabled e Start the Visualization click Start button the scene begin to display the result according to the time sequence continuously The button status will look like as Fig 7 You can only stop the display e Stop the display click Stop button when the scene generation is completed the button status will look like as Fig 8 Figure 6 Time 00 00 06 O00 00 00 09 O00 00 00 10 000 Figure 7 Levels All Levels Level Level 1 Level 2 Time All Levels Level Level 1 Level 2 Go To This Time p0 00 00 000 Figure 8 e Continue to display the result according to the time sequence when stop click Resume button and the button status will go back to Fig 8 e Display the result in the next time click Next button e Display the result in the last time click Back button e Remove the layer as in Fig 16 Select the layer needed to be removed in Level list as in Fig 9 Click Remove button The button status will look like as Fig 10 D 1s shown before the level name indicating that this layer is removed Start o bop 00 03 Resume evels AL Levels Remove Figure 9 Level O Level 1 Level 2
2. 1 A string VALIDSAVEDFILE 2 The colors such as 175 95 71 three integers are used to represent a color 3 The intervals such as 0 0 0 4 The following file is the corresponding color file for example Fig 3 The first line VALIDSAVEDFILE is used to identify a valid pal file When the color file is loaded this string is checked first to confirm it is a valid color file VALIDSAVEDFILE AO Zo LS Dp Roken als UZ IS ABD Or bo US ES 00 288 290 2993 2000 top dop Ti 295 OO La we UIRE UE DE hs 29024 24 02 DA sA Di 2A GeO Zord Zi 203020 OM IND OO Es CE Or DI Color File Example Load color file Click Load Colors button a normal file load dialog will appear and the user can select the pal file Then the color values and their value ranges are read and assigned to the corresponding panels and text fields in the Color Selection Dialog in Fig 3 If the above color file is loaded the Color Selection Dialog will looks like Fig 3 3 3 Navigation Panel The functions in this panel are as follows the changes have effect on all the nodes in the scene Select Cube Select Cube Select Sphere select Sphere Select Cone Select Cone Select Cylinder Select Cylinder Color Red 4 Color Green af Color Blue EB fy Sele nl Fielddf iew f gt l eee SI Ri iS Ed Ooo DE ca O Figure 4 Change the geometry e Click Select Cube button to se
3. Go To This Time foo 00 00 000 Time 00 00 01 DOD 00 00 DE O00 00 00 03 000 Figure 10 All Levels Level O I Level 1 Level 2 Go To Ihis Time 00 00 00 000 e Re display the removed layers Select the removed layer as in Fig 10 Click Display button D will not be shown before the level name as in Fig 9 e Reset the Scene click Reset button all the layers will be displayed including the removed layers e Come back to any time point whenstop double click an item in Time list then the display will be at this time The continuous display will begin at this time e Navigate in the scene use the built in GUI of the browser e Goto any time displayed before when stop double click a time in Time list or input a time in the text field then press Return Enter key or click the Go to This Time button If the input time does not exist the time which 1s the minimum time bigger than the input time will be selected e View the result from the beginning when stop click Begin button the display will come to the first result and begin the display from there 3 5 Entity Panel Edit any node in the scene The Entity list lists all the nodes in the scene The node should be selected first to be edited Cell 0 0 0 Cell t 0 0 Entity Cell 2 0 0 Cell 3 0 0 Rotation x EE E Rotation y BEHE Rotation z H
4. Intervals de 4 ce T9999 23 3 29994 4 0 24 4 Figure 13 2d 79999 25 2 eo 59999 26 0 SMI TTT ar arl Figure 19 Time 00 00 05 000 Reference 1 PLATINUM technology inc Getting Started with Cosmo Player 2 1 1 1998 2 Gabriel A Wainer Alejandro Troccoli Argentina CD Parallel version User s Guide Department of Systems and Computer Engineering Carleton University 2001
5. up with Select Colors button in Load panel C o l or Il 1 al DE Basic colors BREE Color a a ES E m specter Colors 4 Intervals panel n eo Ra WE ZN A ENEN Recent fr 550000 Hue fier Red Color pie RAD sa 255 Green 255 240 paa NEN EN Fa 79999 un 255 Blue PS New IS Fia Fe moor HEE es 59999 pas ES Bee Sample Colors Colors Compute new Intervals Load Colors Save Colors Mm RO BOS E a A E E E FI Tt Ot H il F m SS tis pa 4 OE Cancel Figure 3 Set Colors for the Value Ranges e Set value ranges according the values in the result file There are several methods 1 Input value in Min Value and Max Value fields then click Compute new Intervals button The program will compute the interval with the minimum value and the interval all the value ranges will be calculated 2 Input value in Min Value and select an interval value in Sample Intervals then click Compute new Intervals button With the minimum value and the interval all the value ranges will be calculated 3 Input value in Max Value and select an interval value in Sample Intervals then click Compute new Intervals button With maximum value and interval the minimum value can be computer then all the value ranges will be calculated 4 Select a value in Sample Intervals At this time the minim
6. 8 24 0 23 5 Ol 2331 2356 2440 233 1 24 0 24 6 24 7 23 8 1 24 2 24 5 24 6 24 4 11 23 3 23 5 24 0 23 6 Lil 2322340230 22 58 21 24 7 25 1 25 1 24 6 Zal 24602 5a31 25 9 120 7 21 24 0 24 4 24 4 24 1 21 24 0 24 2 24 2 23 9 3 24 5 24 6 25 1 24 9 3 24 7 25 3 25 2 24 6 3 23 9 24 4 24 5 23 4 3 23 6 24 0 24 2 23 9 Line 1292 Time 00 00 04 000 0 il 2 3 0 1 2 3 0 1 2 3 0 il 2 3 0 24 1 24 3 24 4 24 2 Ol 24 2 24 4 24 5 24 2 Ol 23 8 24 1 24 1 23 09 Ol 23 8 24 0 24 0 23 8 1 24 1 24 3 24 4 24 2 Il 24 2 24 5 24 5 24 2 11 23 9 24 1 24 1 23 8 Jill 238 239 2405 2348 21 24 4 24 6 24 6 24 4 21 24 5 24 6 24 7 24 5 2 24 1 24 3 24 3 24 1 21 24 0 24 2 24 3 24 0 3 24 4 24 6 24 6 24 3 3 24 4 24 6 24 7 24 5 3 24 1 24 2 24 3 24 1 Sl 240 242 24 2 240 Color Selection After color selection the nodes will be displayed with the colors corresponding to their value set in Fig 3 Geometry Selection 1 Box 2 Sphere 3 Cone 4 Cylinder Figure 12 Different Viewpoint 1 User s Eye 2 Side view 1 3 Side view 2 4 Random viewpoint Figure 13 Continues display 2 Time 00 00 03 000 1 Time 00 00 04 000 2 Time 00 00 05 000 Figure 14 Edit a Node in the Scene Figure 15 1 Change Color and Scale 2 Delete Delete Layer Remove layer 1 in Fig 12 1 Figure 16 Scale Nodes Figure 17 mu a OCC Transparent Display Colors amp
7. E O O Color Red BI Color Green M OO n Color Blue HE O oO ooo k Scale x af Seley af Seler af fl Translation x i E ER Translation y E E EH Translation z 4 a Add Hode Remove Hode Figure 11 Select a node click an item in the Entity list or move the mouse pointer onto the node when the pointer changes to a starburst click it Rotate the selected node use three sliders Rotation x Rotation y and Rotation z to rotate the selected node as in Fig 15 1 Change the color use three sliders Color Red Color Green and Color Blue to change the color of the selected node as in Fig 15 1 Scale the selected Node use three sliders Scale x Scale y and Scale z to change the size of the selected node as in Fig 15 1 Remove or Display the selected node click Remove Node button or Add Node button to remove the selected node or display the removed node as in Fig 15 2 3 6 Examples All the examples will use the following fragment of a result file Li
8. Manual of the VRML GUI for the CD Tool This manual describes in detail how to use the VRML GUI for the visualization of the results of the Cell DEVS models This GUI is developed with VRML and Java so it is platform portable and can be run on various environment JDKI l and above is necessary to run this GUI This GUI can be used to visualize the local simulation result drw file and it can be used as visualization GUI in a distributed simulation environment If used as visualization GUI in a distributed simulation environment follow the following steps 1 Open VRML GUI as indicated in this manual 2 Run client interface as indicated in Client Interface manual 3 Use the client interface to select model ma file set the time and the result format such as w5 p2 0 2 Then send to the SERVER 4 The client receives the log file and save to a local log file 5 The client creates the corresponding command such as drawlog mlineal ma clineal llineal log w1 p0 gt 0 gt output 2 and saves it in a bat file 6 The client runs the bat file and then launches the drawlog command to generate a drw file 7 Use the vrml gui to visualize the result The step 4 3 and 6 will be executed automatically by the client 1 Install CosmoPlayer To run this java applet GUI virtual reality software for example CosmoPlayer should be installed in the computer This GUI uses cosmo_win95nt_eng exe which is free and can be d
9. lect box as the nodes geometry in the scene when the scene generation is finished as in Fig 12 1 e Click Select Sphere button to select sphere as the nodes geometry in the scene when the scene generation is finished as in Fig 12 2 e Click Select Cone button to select cone as the nodes geometry in the scene when the scene generation is finished as in Fig 12 3 e Click Select Cylinder button to select cylinder as the nodes geometry in the scene when the scene generation is finished as in Fig 12 4 This geometry selection affects all the nodes in the scene Scale the Node use the slider Scale to change the size of all the nodes in the scene When the interval between the nodes reaches a minimum value the nodes can t be scaled further as in Fig 17 Move the Viewpoint use three sliders VP TransX VP TransY and VP TransZ to change the position of the viewpoint when User s Eye viewpoint is active Change the Viewpoint use built in VIEPOINT button as in Fig 13 Change the Viewing Angle use the slider FielfOf View to change the Viewing Angle of the scene 3 4 Result Panel Navigate the visualization The Output Files text field displays the recent result The Time list lists all the times displayed before according to their sequence and the recent time 1s selected The Level list lists all the levels in the 3D scene Output Files
10. ne 166 Time 00 00 00 000 0 1 2 3 0 1 2 3 0 ik 2 3 0 1 2 3 Ol 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 11 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 21 24 0 24 0 24 0 24 0 21 24 0 24 0 24 0 24 0 21 24 0 24 0 24 0 24 0 21 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 24 0 Line 340 Time 00 00 01 000 0 I 2 3 0 1 2 3 0 1 2 3 0 1 2 3 O 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 Ol 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 1 24 0 24 0 24 0 24 0 11 24 0 24 0 24 0 12 5 21 24 0 24 0 24 0 24 0 21 24 0 24 0 71 4 24 0 21 24 0 24 0 24 0 24 0 21 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 53 5 3 24 0 24 0 24 0 24 0 3 24 0 24 0 24 0 1 6 3 24 0 24 0 24 0 24 0 Line 644 Time 00 00 02 000 0 iL 2 3 0 1 2 3 0 1 2 3 0 1 2 8 Ol 25 2 24 0 25 2 23 7 Ol 24 0 24 0 27 8 24 2 Ol 273200 9245 0 2 30 00 Ze Ba Ol 22 5 24 0 22 5 22 7 1 22 5 24 0 24 4 24 9 Til 24 0 259 2559 230 Li 225 240 24 4 20 5 Lil 22555 Dlt AAD 22 D Dil 2522250 22556 21 2758 2509 25 9 261 21 23 0 25 9 24 9 23 4 Dil 29 57 EEO 2023 2250 Sl 25 22 Deut ES DEA 3 24 2 25 9 26 1 26 1 3 23 0 22 0 24 9 25 3 3 24 2 24 0 24 2 21 2 Line 968 Time 00 00 03 000 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 Ol 24 1 24 5 24 7 24 0 Ol 24 5 24 7 24 6 24 2 Ol 23 4 23
11. ownload from the Internet This version is for both MS Internet Explorer and Netscape and compatible with MS Windows 95 98 98SE and NT It does not work on Windows ME 2000 and XP cosmo_win95nt eng exe can be found in many web sites such as ftp ftp cai com pub marketing comosoftware cosmo_win95nt_eng exe if you use ftp or http endeavor med nyu edu download win95 if you use http To install CosmoPlayer 1 Download the file cosmo_win95nt_eng exe to your hard disk in any favorite directory you want 2 Find the cosmo_win95nt_eng exe file in the directory and double click it to begin installation then follow the instructions on the screen You can use all the default choices 3 Close your browser completely after installation and reboot your system Now your system can view the VRML files and open this VRML GUI To run the GUI decompress the vrmlgui zip file under Windows environments All the source code and some necessary files will be in the directory vrmlgui all the necessary classes for compiling and running the GUI will be in directory vrmlgui netscape and vrmlgui vrml For instance we will consider that you will install vrmlgui just under CA To use this tool you should set up class path For example in MS DOS use the following command line set classpath C vrmlgui We recommend to add this line in Autoexec bat file then the computer will set up this class path automatically every time when you start o
12. r re boot your system In C vrmlgui directory double click the HTML file vrml3dgui html and the GUI will be show on the screen 2 Introduction to CosmoPlayer VRML browser 1 Every VRML browser provides a built in GUI for the user to navigate in the Virtual World The following Fig 1 is the CosmoPlayer VRML browser There is a built in GUI controlpanel in the bottom The controlpanel contains several buttons indicated by the arrows Clicking on these buttons in this VRML GUI with the mouse allows you to perform the following operations 1 Select viewpoints for the VRML scene 2 GO Click and then drag to move in any direction It can be used as ZOOM button Dragging the mouse to the top can enlarge the scene and dragging the mouse to the bottom can reduce the scene Figure 1 3 ROTATION Click and then drag to see the scene up or down or from side to side can rotate the scene and get any viewing direction 4 TRANSLATION Click and then drag to slide straight up and down or to slide right or left 5 UNDO go back to the previous scene 6 REDO go forward to the next scene For more information about the CosmoPlayer click button 7 a HTML page will be shown This page gives a detailed description of the CosmoPlayer When you pass the mouse pointer over an active object the pointer will change to a starburst to indicate that the node can be selected The node can be selected 3 VRML GUI This manual desc
13. ribes a 3D GUI which can be used for the visualization of Cell DEVS execution results The following sections explore the functions of the GUI with examples The GUI looks like the following Fig 2 when it is first open Simulation Client Load Draw File Load Draw File Select Colors Figure 2 The left is the VRML scene area and the right is the function panels for the user The message Load Drw File is displayed 3 1 Load Panel When the GUI is started the InfoPanel in Fig 2 is presented the user can load a result file for visualization The result file records the state of each cell in the model 2 The InfoPanel is shown when the GUI is first open or by clicking the Info button on the top at any time e Click Load Drw File button a normal load file dialog will be shown Select a file with the file dialog then click the Load or OK button Then a message Please Wait will be displayed the GUI begin to load the drw file and its corresponding pal file then initiate the scene If the pal file dose not exist default colors and value ranges will be set When finished the message will disappear the Select Colors button is enabled you can select colors for the value ranges as in section 3 2 and you can switch to other panels by clicking the buttons on the top 3 2 Color Selection Dialog Select color for each value range with Color Dialog in Fig 3 This dialog can be brought
14. um value is 0 0 With the minimum value and the interval all the value ranges will be calculated e Assign colors to the value ranges the steps 1 Assign colors to all the 10 value ranges Select one of the colors in Sample Colors all the 10 value ranges will be assigned their own colors automatically 2 Assign color to a specific value range Click the recent color of the specific value range Click one of the basic colors or click on the Color specter panel to select new color and the new color will be on the New Color panel Click Assign Color to Intervals button the new color will be assigned to the specific value range Don t display some nodes with specific values Sometimes it is necessary not to display some nodes with values in specific value ranges Assign White color in Color Selection Dialog in Fig 3 for these specific value ranges the nodes with values within these specific value ranges will not be displayed as in Fig 18 for color selection and Fig 19 for result display If you want to display those not displayed nodes just assign other colors to these specific value ranges with Color Selection Dialog in Fig 3 Save defined Colors and Intervals The defined colors and Intervals can be saved to a pal file Click Save Colors button a normal file save dialog will appear input the file name and click Save button The pal file has three parts as the following

Download Pdf Manuals

image

Related Search

Related Contents

Quick Start User Guide  none JMK0001 Instructions / Assembly  MVME147/D3A1 - Artisan Technology Group  1 Date of Revision: April 16, 2012  Guide d`installation et de paramétrage SmartPilot X5  7_Salud - WordPress.com  Fujitsu MYUSBS A910 4 GB  Module MP55  Tecumseh AE3425Y-AA1AXA Performance Data Sheet  

Copyright © All rights reserved.
Failed to retrieve file