This runbook will test the main functionalities of both SimPart and StackViz and can be considered as a basic tutorial for both applications, but not as a complete and exhaustive tutorial of all the functionalities.
Some screenshots may be from previous ViSimpl versions. The functionalities in the runbook cover up to version 1.8.10.
After loading the test file the 3D view in SimPart will show the particles in a cube-like structure centered on the view (Fig. 23).
Click on the ‘repeat’ button to activate playing in a loop, then click on the ‘play’ button. The particles will change color according to the default color range, from gree to blue (Fig. 24).
Color Transfer functions¶
Click on the color widget, the ‘Color transfer functions’ dialog will appear. Select the ‘red-blue [ multi-hue]’ option in the dropbox and then click the ‘preview’ button in the dialog to change the color in the main 3D view. Then click on the ‘save’ button to close the dialog (Fig. 25).
The 3D view should show the particles being activated with the red colour and changing its colour to blue when they decay (Fig. 26).
In the ‘Playback configuration’ panel modify the values to:
|Timesteps per second||1,00000|
|Step playback duration (s)||1,00000|
The 3D view should show the planes of the cube being activated (mostly) one per second individually.
In the ‘Visual configuration’ panel modify the values to:
|Decay (simulation time)||0,30000|
The activation of the cube planes one by one should be more noticeable due to the shorter decay time and the solid shader (Fig. 29).
In the ‘Selection’ panel click the selection button (next to the ‘add group’ button). The Selection manager dialog will appear (Fig. 30). Select the ids from 62500 to 64999 in the left list of the dialog and click the ‘–>’ button. The list of selected ids will appear in the right list of the dialog. Close the dialog clicking on the ‘Accept’ button.
The 3D view will only show the selected group of particles (one of the middle planes of the cube, Fig. 31). Left clicking and dragging with the mouse on the 3D view will rotate the view and the wheel button will zoom in and out in the view. Use the mouse to visualize better the selected group.
Click on the ‘Add group’, it will show a dialog to name the selected group and then accept the proposed ‘group 0’ name (Fig. 32). After that click the ‘Discard’ button.
The groups widget (Fig. 33) should show the selected group. Alternating between the ‘Groups’ and ‘Selection’ tabs should alternate between the ‘group 0’ particles and the whole cube.
Repeat the selection process this time selecting the ids from 0 to 2499, that will select the first plane of the cube). The ‘group 1’ will appear in the ‘Groups’ tab with blue color and alternating between the ‘Groups’ and ‘Selection’ tab will alternate between the visualization of the ‘group 0’ and ‘group 1’ particles (with its respective colors) and the whole cube (Fig. 34).
In the ‘Groups’ tab click the ‘clear’ button. The groups list now should be empty. Change the tab to ‘Selection’ to visualize the whole cube of particles.
Selection Clipping planes¶
In the selection widget click the ‘Clipping’ checkbox. Two while planes will appear on the limits of the cube of particles (Fig. 35).
Modify the planes parameters to:
The view should show only the center of the cube with the particles between the clipping planes (Fig. 36).
Click the button ‘To Selection’. The current selection will show a group of 50.000 particles. Click ‘add group’ and use the default name ‘group 0’, then click ‘Discard’ and uncheck the ‘clipping’ checkbox. The view should show the complete cube again without the clipping planes. Changing from the ‘Selection’ tab to the ‘Groups’ tab should show now a group with the particles selected by the clipping planes in the previous operation (Fig. 37).
Change to the ‘Selection’ tab again to see the complete cube and check the ‘clipping’ checkbox to show the clipping planes. Click on the ‘Reset’ button to reset the parameters of the clipping planes. Left click on the 3D view while holding down the ‘Shift’ key and move the mouse. The planes should rotate around the center of the dataset but not the dataset. Left click on the 3D view while holding both the ‘Shift’ and ‘Control’ keys and move the mouse. The planes should translate in the direction of the mouse movement and the view should only show the particles between the clipping planes.
This section of the runbook is only applicable if the system has a ZeroEQ discovery service installed and running in the machine or docker image.
Launch the ‘StackViz’ application and manually load the test dataset using the ‘Open CSV’ button in the toolbar. Once the dataset is loaded click on the ‘Follow playhead’ button (the icon with the word AUTO). The application sould now look like the figure Fig. 38.
While StackViz starts desynchronized with SimPart using the play toolbar in the lower part of the application should sync it with SimPart and both application should run at the same time point (Fig. 39).