<?xml version="1.0" encoding="utf-8"?>
<executable>
  <category>Core</category>
  <title>Models</title>
  <description><![CDATA[This module is used for changing the appearance of and organizing 3d surface models.]]></description>
  <documentation-url>http://wiki.slicer.org/slicerWiki/index.php/Documentation/Nightly/Modules/Models</documentation-url>
  <license>slicer4</license>
  <contributor>Julien Finet (Kitware), Alex Yarmarkovich (Isomics), Nicole Aucoin (SPL, BWH)</contributor>
  <acknowledgements><![CDATA[This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. This work is partially supported by the Air Force Research Laboratories (AFRL).]]></acknowledgements>
  <parameters>
    <label>Top level</label>
    <parameter>
      <label>Include Fibers</label>
      <description><![CDATA[Check this box to include fiber bundle nodes in the scene model hierarchy view.]]></description>
    </parameter>
    <parameter>
      <label>Scroll to...</label>
      <description><![CDATA[Enter a model name to scroll the model hierarchy tree view to the first model matching that name.]]></description>
    </parameter>
    <parameter>
      <label>Hide All Models</label>
      <description><![CDATA[Turn off the visibility flag on all models in the scene. If any hierarchies have the "Force color to children" checkbox selected, the hierarchy node visibility will override model visibility settings.]]></description>
    </parameter>
    <parameter>
      <label>Show All Models</label>
      <description><![CDATA[Turn on the visibility flag on all models in the scene. If any hierarchies have the "Force color to children" checkbox selected, the hierarchy node visibility will override model visibility settings.]]></description>
    </parameter>
  </parameters>
  <parameters>
    <label>Scene</label>
    <parameter>
      <label>Scene tree view</label>
      <description><![CDATA[The tree view of all models and model hierarchies in the current MRML scene. You can right click on the Scene element to add hierarchies and drag and drop models into them. Control the Visible property of the model via the eye icon (open/close to show/hide the models). The model color and opacity are also displayed on the same line as the model name. Model hierarchies allow you to group together models. When using the ModelMaker module, multiple models created from one label map are grouped under a model hierarchy node.]]></description>
    </parameter>
  </parameters>
  <parameters>
    <label>Information Panel</label>
    <parameter>
      <label>Information</label>
      <description><![CDATA[Information about this surface model]]></description>
    </parameter>
    <parameter>
      <label>Surface Area</label>
      <description><![CDATA[The calculated surface area of the model, in square millimetres]]></description>
    </parameter>
    <parameter>
      <label>Volume</label>
      <description><![CDATA[The volume inside the surface model, in cubed millimetres]]></description>
    </parameter>
    <parameter>
      <label>Number of Points</label>
      <description><![CDATA[Number of vertices in the surface model]]></description>
    </parameter>
    <parameter>
      <label>Number of Cells</label>
      <description><![CDATA[Number of cells in the surface model]]></description>
    </parameter>
    <parameter>
      <label>Number of Point Scalars</label>
      <description><![CDATA[Shows how many arrays of scalars are associated with the points of the surface model.]]></description>
    </parameter>
    <parameter>
      <label>Number of Cell Scalars</label>
      <description><![CDATA[Shows how many arrays of scalars are associated with the cells of the surface model.]]></description>
    </parameter>
    <parameter>
      <label>Filename</label>
      <description><![CDATA[Path to the file from which this surface model was loaded and/or where it will be saved.]]></description>
    </parameter>
  </parameters>
  <parameters>
    <label>Display</label>
    <description><![CDATA[Control the display properties of the currently selected model in the Scene.]]></description>
    <parameters>
      <label>Visibility</label>
      <description><![CDATA[Control the visibility of the model.]]></description>
      <parameter>
        <label>Visible</label>
        <description><![CDATA[Is this surface model visible in the 3D view?]]></description>
      </parameter>
      <parameter>
        <label>View</label>
        <description><![CDATA[In which views is this surface model visible? If none are checked, the model is visible in all 2D and 3D views.]]></description>
      </parameter>
      <parameter>
        <label>Clip</label>
        <description><![CDATA[Is clipping (using the slice planes) enabled for this model? Once it is on, go to the Clipping pane to set the options.]]></description>
      </parameter>
      <parameter>
        <label>Slice Intersections Visible</label>
        <description><![CDATA[If this flag is set, the intersections of the model with the slices will be computed and shown as an outline on the slice planes.]]></description>
      </parameter>
      <parameter>
        <label>Slice Intersections Thickness</label>
        <description><![CDATA[Width in pixels of the intersection lines of the model with the slice planes.]]></description>
      </parameter>
    </parameters>
    <parameters>
      <label>Representation</label>
      <description><![CDATA[Control the representation of the model.]]></description>
      <parameter>
        <label>Representation</label>
        <description><![CDATA[Control the surface geometry representation (points, wireframe or surface) for the object. The default is Surface. Note that you can change the representation of all the models to wireframe with the 'w' key shortcut in the 3D view.]]></description>
      </parameter>
      <parameter>
        <label>Point Size</label>
        <description><![CDATA[Set the diameter of the model points (if the model is a point cloud or if the representation is "Points".) The size is expressed in screen units. 1.0 by default.]]></description>
      </parameter>
      <parameter>
        <label>Line Width</label>
        <description><![CDATA[Set the width of the model lines (if the model is a polyline or representation is "Wireframe"). The width is expressed in screen units. 1.0 by default.]]></description>
      </parameter>
      <parameter>
        <label>Frontface culling</label>
        <description><![CDATA[Turn on/off culling of polygons based on the orientation of normals with respect to the camera. If frontface culling is on, polygons facing toward the camera are not drawn. Visible by default.]]></description>
      </parameter>
      <parameter>
        <label>Backface culling</label>
        <description><![CDATA[Turn on/off culling of polygons based on orientation of normals with respect to the camera. If backface culling is on, polygons facing away from the camera are not drawn. This feature needs to be turned off if the inside of a model is viewed, either when clipping or when moving the camera inside an object. Hidden by default.]]></description>
      </parameter>
    </parameters>
    <parameters>
      <label>Color</label>
      <description><![CDATA[Control the colors of the model.]]></description>
      <parameter>
        <label>Color</label>
        <description><![CDATA[Control the color of the model. Note that the lighting can alter the color. Gray by default.]]></description>
      </parameter>
      <parameter>
        <label>Opacity</label>
        <description><![CDATA[Control the opacity of the model. 1.0 is totally opaque and 0.0 is completely transparent. 1.0 by default.]]></description>
      </parameter>
      <parameter>
        <label>Edge Visibility</label>
        <description><![CDATA[Turn on/off the visibility of the model edges (the wireframe). Hidden by default]]></description>
      </parameter>
      <parameter>
        <label>Edge Color</label>
        <description><![CDATA[Control the color of the model edges (if Edge Visibility is enabled). Black by default.]]></description>
      </parameter>
    </parameters>
    <parameters>
      <label>Lighting</label>
      <description><![CDATA[Control the lighting effects on the model.]]></description>
      <parameter>
        <label>Lighting</label>
        <description><![CDATA[Control whether the model representation is impacted by the frontfacing light. If enabled, Ambient, Diffuse and Specular parameters are used to compute the lighting effect. Enabled by default.]]></description>
      </parameter>
      <parameter>
        <label>Interpolation</label>
        <description><![CDATA[Control the shading interpolation method (Flat, Gouraud, Phong) for the model. Gouraud by default.]]></description>
      </parameter>
      <parameter>
        <label>Shading</label>
        <description><![CDATA[Control the shading of the model. The material properties must be set if enabled.]]></description>
      </parameter>
    </parameters>
    <parameters>
      <label>Material Properties</label>
      <description><![CDATA[Material properties of the currently selected model]]></description>
      <parameter>
        <label>Ambient</label>
        <description><![CDATA[Controls the base lighting for the model.]]></description>
      </parameter>
      <parameter>
        <label>Diffuse</label>
        <description><![CDATA[Controls the amount of light scattered from the model.]]></description>
      </parameter>
      <parameter>
        <label>Specular</label>
        <description><![CDATA[Controls the highlights on the model.]]></description>
      </parameter>
      <parameter>
        <label>Power</label>
        <description><![CDATA[The specular power.]]></description>
      </parameter>
      <parameter>
        <label>Preview</label>
        <description><![CDATA[A rendering of a sphere using the current material properties, useful if the surface model isn't regular.]]></description>
        <parameters>
          <label>Presets</label>
          <description><![CDATA[A set of buttons allowing the user to select a new material properties from a set of defaults.]]></description>
          <parameter>
            <label>Full ambient material properties.</label>
            <description><![CDATA[Eliminating all directional shading.]]></description>
          </parameter>
          <parameter>
            <label>Dull material properties</label>
            <description><![CDATA[No specular lighting.]]></description>
          </parameter>
          <parameter>
            <label>Smooth material properties</label>
            <description><![CDATA[Moderate specular lighting.]]></description>
          </parameter>
          <parameter>
            <label>Shiny material properties</label>
            <description><![CDATA[High specular lighting.]]></description>
          </parameter>
        </parameters>
      </parameter>
    </parameters>
    <parameters>
      <label>Scalars</label>
      <description><![CDATA[Scalar overlay properties]]></description>
      <parameter>
        <label>Visible</label>
        <description><![CDATA[Are the scalars visible on the surface model?]]></description>
      </parameter>
      <parameter>
        <label>Active Scalar</label>
        <description><![CDATA[A drop down menu listing the current scalar overlays associated with this model and shows which one is currently active. Most models will have normals, Freesurfer surface models can have multiple scalar overlay files associated with them (e.g. lh.sulc, lh.curv).]]></description>
      </parameter>
      <parameter>
        <label>Active Scalar Range</label>
        <description><![CDATA[Displays the numerical range spanned by the currently active scalar array (used when the Data scalar range type is selected).]]></description>
      </parameter>
      <parameter>
        <label>Color Table</label>
        <description><![CDATA[Select a color look up table used to map the scalar overlay's values  (usually in the range of 0.0 to 1.0) to colors. There are built in color maps that can be browsed in the Colors module. The most commonly used color map for FreeSurfer scalar overlays is the GreenRed one. Legacy color maps from Slicer2 include Grey, Iron, Rainbow, etc. Those color maps with "labels" in their names are usually discrete and don't work well for the continuous scalar overlay ranges.]]></description>
      </parameter>
      <parameter>
        <label>Scalar Range Type</label>
        <description><![CDATA[Select which scalar range to use: range in the scalar data array, Color Table range, Display Scalar Range, range of the data type of the scalar array.]]></description>
        <parameters>
          <parameter>
            <label>Data</label>
            <description><![CDATA[Use the min/max of the overlay data for the scalar range.]]></description>
          </parameter>
          <parameter>
            <label>LUT</label>
            <description><![CDATA[Use the scalar range from the associated color node.]]></description>
          </parameter>
          <parameter>
            <label>Display</label>
            <description><![CDATA[Use the Display Scalar Range set below.]]></description>
          </parameter>
          <parameter>
            <label>Data Type</label>
            <description><![CDATA[Use the min/max of the data type of the scalar array for the range.]]></description>
          </parameter>
        </parameters>
      </parameter>
      <parameter>
        <label>Display Scalar Range</label>
        <description><![CDATA[Set the scalar range on the model's display node.]]></description>
        <parameters>
          <parameter>
            <label>Min</label>
            <description><![CDATA[Low value of Display Scalar Range.]]></description>
          </parameter>
          <parameter>
            <label>Auto/Manual</label>
            <description><![CDATA[Set the auto scalar range flag. Auto updates the Display Scalar Range from the scalar range of the data.]]></description>
          </parameter>
          <parameter>
            <label>Max</label>
            <description><![CDATA[High value of Display Scalar Ranges.]]></description>
          </parameter>
          <parameter>
            <label>Range slider</label>
            <description><![CDATA[Set the display scalar range, used when the Display option is selected.]]></description>
          </parameter>
        </parameters>
      </parameter>
    </parameters>
    <parameters>
      <label>Clipping Panel</label>
      <parameter>
        <label>Clipping</label>
        <description><![CDATA[Control the clipping properties for this surface model]]></description>
      </parameter>
      <parameters>
        <label>Clipping Type</label>
        <description><![CDATA[When more than one slice plane is used, this option controls if it's the union or intersection of the positive and/or negative spaces that is used to clip the model. The parts of the model inside the selected space is kept, parts outside of the selection are clipped away.]]></description>
        <parameter>
          <label>Union</label>
        </parameter>
        <parameter>
          <label>Intersection</label>
        </parameter>
      </parameters>
      <parameters>
        <label>Red Slice Clipping</label>
        <description><![CDATA[Use the positive or negative space defined by the Red slice plane to clip the model. Positive side is toward the Superior, negative is toward the Inferior. Keeps the part of the model in the selected space, clips away the rest.]]></description>
        <parameter>
          <label>Positive</label>
          <description><![CDATA[Positive side is toward the Superior.]]></description>
        </parameter>
        <parameter>
          <label>Negative</label>
          <description><![CDATA[Negative side is toward the Inferior.]]></description>
        </parameter>
      </parameters>
      <parameters>
        <label>Yellow Slice Clipping</label>
        <description><![CDATA[Use the positive or negative space defined by the Yellow slice plane to clip the model. Positive side is toward the Right, negative is toward the Left. Keeps the part of the model in the selected space, clips away the rest.]]></description>
<parameter>
          <label>Positive</label>
          <description><![CDATA[Positive side is toward the Right.]]></description>
        </parameter>
        <parameter>
          <label>Negative</label>
          <description><![CDATA[Toward the left.]]></description>
        </parameter>
      </parameters>
      <parameters>
        <label>Green Slice Clipping</label>
        <description><![CDATA[Use the positive or negative space defined by the Green slice plane to clip the model. Positive side is toward the Anterior, negative is toward the Posterior. Keeps the part of the model in the selected space, clips away the rest.]]></description>
        <parameter>
          <label>Positive</label>
          <description><![CDATA[Positive side is toward the Anterior.]]></description>
        </parameter>
        <parameter>
          <label>Negative</label>
          <description><![CDATA[Toward the Posterior.]]></description>
        </parameter>
      </parameters>
    </parameters>
  </parameters>
</executable>
