Marine Visualization Toolbox | ![]() ![]() |
typedef
TYPEDEF Link user data to available vessel models.
[NEWDATA, WORLD] = TYPEDEF(DATA) displays an interface where vessels
found in DATA may be linked to specific 3d vessel models. These links
are returned in NEWDATA for use with CREATEVRML.
A search for all VRML files (*.wrl) in the folder: 'toolbox\visual\vessel' returns a list of available vessel models. Each vessel in DATA then may be linked to any listed vessel model.
The required structure of DATA is described and verified by VERIFYDATA. Returned structure NEWDATA equals DATA, but contains the updated links in field 'type'. Returned char array WORLD is the filename of the scenario file used by CREATEVRML.
Note: If the field 'type' is already defined for all vessels, and the desired scenario file is known, it's not necessary to run TYPEDEF!
See toolbox documentation on how to use your own vessel models.
See also: CREATEVRML, VERIFYDATA, DIRECTOR.
Author: Andreas LD
Date: 6th November 2003
Revisions:
![]() |
new_avi | verifydata | ![]() |