Function Reference


MATLAB Interface FunctionsInterface with virtual worlds and miscellaneous features
vrworld Object MethodsInteract with the virtual scene
vrnode Object MethodsGet and set the VRML node properties
vrfigure Object MethodsGet and set the Virtual Reality Toolbox viewer properties

MATLAB Interface Functions

vrclearRemove all closed virtual worlds from memory
vrcloseClose virtual reality figure windows
vrdir2oriConvert viewpoint direction to orientation
vrdrawnowUpdate virtual world
vrgetprefValues of Virtual Reality Toolbox™ preferences
vrinstallInstall and check Virtual Reality Toolbox™ components
vrjoystickCreate joystick object
vrlibOpen Simulink® block library for the Virtual Reality Toolbox™ product
vrori2dirConvert viewpoint orientation to direction
vrplayPlay VRML animation file
vrrotmat2vecConvert rotation from matrix to axis-angle representation
vrrotvecCalculate rotation between two vectors
vrrotvec2matConvert rotation from axis-angle to matrix representation
vrsetprefChange Virtual Reality Toolbox™ preferences
vrspacemouseCreate space mouse object
vrviewView virtual world using the Virtual Reality Toolbox™ software viewer or Web browser
vrwhoList virtual worlds in memory
vrwhosList details about virtual worlds in memory

vrworld Object Methods

vrworldCreate new vrworld object associated with virtual world
vrworld/closeClose virtual world
vrworld/deleteRemove virtual world from memory
vrworld/editOpen virtual world file in external VRML editor
vrworld/getProperty value of vrworld object
vrworld/isvalid1 if vrworld object is valid, 0 if not
vrworld/nodesList nodes available in virtual world
vrworld/openOpen virtual world
vrworld/reloadReload virtual world from VRML file
vrworld/saveWrite virtual world to VRML file
vrworld/setChange property values of vrworld object
vrworld/viewView virtual world

vrnode Object Methods

vrnodeCreate node or handle to existing node
vrnode/deleteRemove vrnode object
vrnode/fieldsVRML field summary of node object
vrnode/getProperty value of vrnode object
vrnode/getfieldField value of vrnode object
vrnode/isvalid1 if vrnode object is valid, 0 if not
vrnode/setChange property of virtual world node
vrnode/setfieldChange field value of vrnode object
vrnode/syncEnable or disable synchronization of VRML fields with client

vrfigure Object Methods

vrfigureCreate new virtual reality figure
vrfigure/captureCreate RGB image from virtual reality figure
vrfigure/closeClose virtual reality figure
vrfigure/getProperty value of vrfigure object
vrfigure/isvalid1 if vrfigure object is valid, 0 if not
vrfigure/setChange property value of vrfigure object
vrfigure/vrgcbfCurrent callback vrfigure object
vrfigure/vrgcfHandle for active virtual reality figure
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS