MATLAB SIMULINK 3D ANIMATION - S Guida Utente Pagina 168

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 490
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 167
5 Build Virtual Reality Worlds
5-26
To ensure backward compatibility with existing models and applications, use the
Simulink 3D Animation vrsetpref function to define the data type support. Their
names are as follows:
Property Description
DataTypeBool Specifies the boolean data type for vrnode/setfield and
vrnode/getfield. Valid values are 'logical' and 'char'. If
set to 'logical', the VRML boolean data type is returned as
a logical value. If set to 'char', the VRML boolean data type is
returned 'on' or 'off'.
DataTypeInt32 Specifies the int32 data type for vrnode/setfield and
vrnode/getfield. Valid values are 'int32' and 'double'. If
set to 'int32', the VRML int32 data type is returned as int32.
If set to 'double', the VRML int32 data type is returned as
'double'.
DataTypeFloat Specifies the float data type for vrnode/setfield and
vrnode/getfield. Valid values are 'single' and 'double'.
If set to 'single', the VRML float and color data types (the
types of most VRML fields) are returned as 'single'. If set to
'double', the VRML float and color data types are returned
as 'double'.
VRML Data Class Types
A node can contain four classes of data: field, exposedField, eventIn, and
eventOut. These classes define the behavior of the nodes, the way the nodes are stored
in the computer memory, and how they can interact with other nodes and external
objects.
VRML Data Class Description
eventIn An event that can be received by the node
eventOut An event that can be sent by the node
field A private node member, holding node data
exposedField A public node member, holding node data
Vedere la pagina 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 489 490

Commenti su questo manuale

Nessun commento