MATLAB SIMULINK 3D ANIMATION - S Guide de l'utilisateur Page 433

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 490
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 432
vrpatch2ifs
10-93
vrpatch2ifs
Convert MATLAB patches to VRML IndexedFaceSet nodes
Syntax
node = vrpatch2ifs(patches,world)
node = vrpatch2ifs(patches,shape)
node = vrpatch2ifs(patches,parent)
vrpatch2ifs(patches,ifs)
Description
node = vrpatch2ifs(patches,world) converts the patches array and saves the
result into the vrnode array node. Each resulting IndexedFaceSet node in node is
wrapped by the created Shape node residing in a root level of the world virtual world.
node = vrpatch2ifs(patches,shape) converts the patches array and saves the
result into the vrnode array node. Each resulting IndexedFaceSet node in node
is a child of the respective Shape node in the shape array. If the Shape node already
contains an IndexedFaceSet node, that IndexedFaceSet is overwritten. The number
of patches must equal the number of Shape nodes.
Note: This function converts only geometry and color data of the patch.
node = vrpatch2ifs(patches,parent) converts the patches array and saves the
result into the vrnode array node. Each resulting IndexedFaceSet node in node is
wrapped by the created Shape node that is a child of the parent node.
vrpatch2ifs(patches,ifs) converts the patches array and saves the result into
ifs array of existing VRML IndexedFaceSet nodes, overwriting the IndexedFaceSet
nodes. The number of patches must equal the number of IndexedFaceSet nodes.
Vue de la page 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 489 490

Commentaires sur ces manuels

Pas de commentaire