Download Hyperthermia Treatment Planning with HyperPlan
Transcript
3.3. VISUALIZATION OF VECTOR FIELDS 43 Figure 3.11: The Voltex module can be used to generate maxmimum intensity projections as well as volume renderings based on an emission-absoprtion model. In both cases, 2D or 3D texture mapping techniques can be applied applied. Click with the right mouse button on port Colormap and choose volrenRed.icol. Set Lookup to RGBA and change the min and max values of the colormap to 40 and 150. Finally, press Do It in order to initialize the Voltex textures. Whenever you choose a different colormap or change the min and max values of the colormap, you must press the Do It button again. This causes the internal texture maps to be recomputed. An exception are SGI systems with Infinite Reality graphics. On these platforms a hardware-specific OpenGL extension is exploited, causing colormap changes to take effect immediately. 3.3 Visualization of Vector Fields This step-by-step-tutorial briefly explains some Amira modules for vector field visualization. The use of these modules is explained by way of data representing the flow around an airfoil. The two methods referred to in steps 2 and 3 are independent of each other. These topics will be covered: 1. Loading the Wing and the Flow Field 2. Line Integral Convolution 3. Illuminated Stream Lines 3.3.1 Loading the Wing and the Flow Field As in the previous tutorials, we use the file dialog to import data. Import the geometry of the wing by loading the file wing.iv from the directory data/tutorials. Attach an IvDisplay module to this data object. Load the vector field data set called wing.am from the directory data/tutorials. The extension .iv indicates that the wing geometry is defined in the Open Inventor file format. The IvDisplay module can be used for displaying geometry in this format. The vector field itself is stored in Amira’s native AmiraMesh file format. The data represents the flow around an airfoil computed on a regular grid with curvilinear coordinates. By selecting the green data icon wing.am, you can find out that the number of grid nodes in x,y,z-direction is 125 x 41 x 21.