Mathematica 9 is now available

Documentation / DynamicVisualizer / Information Functions /

5.4 Object Properties

Attributes of each object, (described as Object3D, Model3D, or Camera in Mathematica) are changed using SetOptions. Similarly we can read the current state of an object using Options. In this release of Dynamic Visualizer, it is not possible to read all of the options that can be set. ModelRange, Scale, Location, CoordinateReference and the various orientation options are currently supported.

In[17]:=

Out[17]=

The position of the object is encoded as the full 4×4 transformation matrix. From this matrix, the scale, location, and orientation of the object can be determined. When required, the orientation may be converted into the other notations using YawPitchRoll, EulerAngles, and AxisAndAngle.

In[18]:=

Out[18]=

In[19]:=

Out[19]//TraditionalForm=

The Scale, Location, and EulerAngles options can be read back into Mathematica. If an object is rotating, these values change over a period of time. EulerAngles, AxisAndAngle, and YawPitchRoll all have degenerate orientations where more than one set of angles specifies the same orientation. As a result, the angles returned using Options may not be identical to the angles originally set using SetOptions. The object's transformation matrix is also limited by numerical rounding errors.

In[20]:=

Out[20]=

A complete list of all object properties that can be set is available using Options.

In[21]:=

Out[21]=

The model and camera have the additional options of BoundingBox, ModelRange, and CoordinateReference.

In[22]:=

Out[22]=

In[23]:=

Out[23]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.