MATLAB SIMULINK 3D ANIMATION - S Guida Utente Pagina 408

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 490
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 407
10 Functions — Alphabetical List
10-68
vrifs2patch
Convert VRML IndexedFaceSet nodes to MATLAB patches
Syntax
vrifs2patch(ifs)
Description
vrifs2patch(ifs) converts the ifs array of existing VRML IndexedFaceSet nodes
to MATLAB patch objects.
Note: This function converts only geometry and color data of the source
IndexedFaceSet node.
Examples
Convert VRML IndexedFaceSet Nodes to MATLAB Patches
This command converts three VRML IndexedFaceSet nodes to MATLAB patch objects.
Open virtual world containing an IndexedFaceSet node.
w1 = vrworld('*sl3dlib/objects/Components/Shapes/torus_high.wrl');
open(w1);
View the virtual world as a virtual figure.
vrfig1 = vrfigure(w1,'Name',...
'Vrtual world containing source IndexedFaceSet node');
set(vrfig1,'CameraPosition',[0 40 0]);
set(vrfig1,'CameraDirection',[0 -1 0]);
Vedere la pagina 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 489 490

Commenti su questo manuale

Nessun commento