Master's Thesis - Studierstube Augmented Reality Project - Graz ...
Master's Thesis - Studierstube Augmented Reality Project - Graz ...
Master's Thesis - Studierstube Augmented Reality Project - Graz ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.2 iMEDgine extensions<br />
5.2.2.2 View Parameter Node<br />
This node represents an essential interface to the iMEDgine framework, so it is described<br />
separately in this section. Values are set after loading a flow dataset, so for a new view<br />
only a reference to this node has to be passed. This node can even be exported in a<br />
later described xml-format. Consequently, it is possible to restore a former workspace<br />
completely for each view, see section 5.2.3.1. The available parameters are listed and<br />
described below.<br />
• SoSFInt32 view_type: Indicates the (iMEDgine) type of view. For example a<br />
scripting view is associated with ”10”. (These numbers are internal mapped to<br />
iMEDgine enum values).<br />
• SoSFVec3f cam_position, SoSFRotation cam_rotation,<br />
SoSFFloat cam_focal_distance: stores the position, rotation and distance from<br />
the origin of the scene to the camera. These values are necessary to store a current<br />
perspective.<br />
• SoMFInt32 manipulator_positions: a list of positions for certain seed regions.<br />
...<br />
• SoSFInt32 time_position, SoSFInt32 num_volumes: stores current temporal<br />
position and the overall available number of volumes.<br />
• SoSFString primary_dataset_path, SoSFString primary_dataset_key: restoring<br />
a former used dataset in the case of loading a view configuration require these<br />
values. The key value equals the file name of the 4DFlow Toolbox master file.<br />
• SoMFFloat color_mapping_texture, SoSFImage color_mapping_image,<br />
SoMFVec4f gradient_editor_points, SoMFFloat gradient_points: are all necessary<br />
parameter for color mapping: the 1D gradient texture, an image for convenience<br />
and all parameter to restore the gradient editor.<br />
• SoSFString field_path: is the path to the original used field data. This is only<br />
needed for reloading a viewer configuration.<br />
• SoSFDataset field_data: the interface to the raw velocity field data. The field<br />
SoSFDataset was developed to provide the data both as SoMFFloat and as reference<br />
to shallows GPGPU textures if they once have been generated. Storing the<br />
references in this node is necessary and efficient because otherwise the velocity<br />
field textures would have to be reassembled with each new view or visualization.<br />
The SoMFFloat field on the other hand can be accessed by Cash-Flow virtual<br />
arrays and further libraries directly. Since each view only gets a shallow copy of<br />
the data and this node, memory requirements are optimized.<br />
• SoSFVec3s field_dimensions: a 3D vector, storing the field’s width, height and<br />
depth.<br />
92