OOF2: The Manual

Name

OOF.LayerEditor.LayerSet.DisplayedObject — Change what's being displayed by a LayerSet.

Synopsis

OOF.LayerEditor.LayerSet.DisplayedObject(category,object)

Details

  • Parent Menu: OOF.LayerEditor.LayerSet
  • Callback: function displayedObjectCB in module ooflib.common.IO.layereditor
  • Parameters:

    category
    What type of object is being displayed. Type: The name of a class of OOF2 objects (eg, 'Microstructure' or 'Skeleton').
    object
    The name of the object being displayed. Type: The path to an OOF2 object.

Description

This command changes which object the Layers in a LayerSet will display. In the GUI, the command is invoked by changing the category and object menus in the Displayed Object pane of the Layer Editor.

The category argument is the name of a class of displayable OOF2 objects: one of Microstructure, Image, Skeleton, Mesh, Active Area, or Pixel Selection. In the GUI, changing the category invalidates all of the DisplayMethods listed in the right hand pane of the Layer Editor window.

The object argument is the path to an existing object in the selected category.