OOF2: The Manual

Name

Material (MicrostructureMaterialDisplay) — Display the color of the Material assigned to each pixel.

Synopsis

MicrostructureMaterialDisplay(no_material,no_color)

Details

  • Base class: DisplayMethod
  • Parameters:

    no_material
    Color to use if no material has been assigned to a pixel Type: An object of the Color class.
    no_color
    Color to use if the assigned material has no assigned color Type: An object of the Color class.

Description

The MicrostructureMaterialDisplay draws each pixel in a Microstructure with the color of the Material assigned to it. If the assigned Material has no Color property, then the Color given by no_color is used. If the pixel doesn't have a Material, then the no_material color is used.

The lower left corner of the Microstructure is at pixel coordinate (0, 0).