OOF2: The Manual
Name
Orientation (OrientationDisplay) — Display the Orientation Property of pixels.
Synopsis
OrientationDisplay(colorscheme,no_material,no_orientation)
Details
-
Base class:
DisplayMethod -
Parameters:
colorscheme- Method for converting angles to colors. Type: An object of the
Angle2Colorclass. no_material- Color to use for pixels with no assigned Material Type: An object of the
Colorclass. no_orientation- Color to use for pixels with no Orientation Property Type: An object of the
Colorclass.
Description
The OrientationDisplay draws each pixel in
a Microstructure, colored according to the crystalline orientation. of
the Material assigned to the pixel. The orientation comes from
the Material's Orientation
or OrientationMap
Property, whichever is present.
Technically, it's a mistake for a Material to have both an
Orientation and an
OrientationMap Property. However, this
error isn't always detected when a Microstructure is displayed. If both
Properties are present, whichever Property was added to the
Material first will be displayed.
The colorscheme parameter describes how the
orientation angles are to be converted to colors for the display.
If the assigned Material has no Orientation Property, then the
Color given by
no_orientation is used. If the pixel doesn't
have a Material, then the no_material Color is used.
To display an Orientation
Map before it's used in a Material and
Property, see OrientationMapDisplay.



