3d legend
The 3d legend module places a 3D legend in coordinate space, which helps correlate colors to analytical values or materials. The legend shows the relationship between the selected data component for a particular module and the colors shown in the viewer. For this reason, the legend’s Input Object port must be connected to the output of a module which is connected to the viewer and is generally the dominant colored object in view.
Many modules with renderable output ports have a selector to choose which data component is used for coloring. The name of the selected data component is displayed as the title of the legend when the Title is linked (the default).
If the data component being viewed is Geo_Layer or Material_ID (for models where the grid is based upon geology), the geologic layer or material names carried with the input object are used for automatic labeling.
The minimum and maximum values are taken from the data input as defined in the datamap, and can be overridden with Datamap Min and Datamap Max. Labels can be placed at user defined intervals along the color scale bar, and can consist of user entered text or automatically determined numerical values.
Ports
| Direction | Name | Type | Description |
|---|---|---|---|
| Input | Input Object | Renderable | A renderable object for creating the Legend color scale. |
| Input | Contour levels | Contours | Information required to properly set contour levels within Legend. |
| Output | Title Output | String | Text containing the Title. |
| Output | Output Legend | Field | This field allows the colored legend portion to be texture mapped with modules such as contour texture. |
| Output | Output Object | Renderable | A renderable object displaying the Legend. |
Properties
| Property | Type | Description |
|---|---|---|
| Allow Run | Boolean | The Allow Run toggle, when deselected, will prevent the module from running. |
| Execute | Button | This button will force the module to run even if the Allow Run toggle has been turned off. This allows the user to make a number of changes before updating. |
Legend 3D Options
| Property | Type | Description |
|---|---|---|
| Legend Direction 3D | Choice: +X, +Y, +Z | Sets the orientation of the 3D legend. |
| X Origin | Double | The starting X coordinate to draw the legend from. |
| Y Origin | Double | The starting Y coordinate to draw the legend from. |
| Z Origin | Double | The starting Z coordinate to draw the legend from. |
| Legend Size | Double | The length of the legend in coordinate space in the direction set by Legend Direction 3D. |
| Legend Width | Double | The width of the legend as a percentage of the model size. |
| Legend Depth | Double | The depth of the legend as a percentage of the model size. |
Label Options
| Property | Type | Description |
|---|---|---|
| Labels On | Boolean | Specifies whether or not the data labels are displayed with the legend. |
| Label Min | Boolean | Places a label at the bottom (min) of the data. This only applies to linear or log unformatted labeling. |
| Label Max | Boolean | Places a label at the top (max) of the data. This only applies to linear or log unformatted labeling. |
| Label Color | Color | The color of each label. |
| Label Type | Choice: Set By Data, Set By User | Chooses between data generated labels or user specified labels. |
| Logarithmic Decades | Choice: Log, Unformatted | When the data has been log processed, determines how label increments are placed on the color scale bar. If Log is selected the Labels Per Log Decade value is used. If Unformatted is selected the Number Of Intervals is used. |
| Labels Per Log Decade | Integer | The number of label increments per decade when Logarithmic Decades is set to Log. |
| Number Of Intervals | Integer | The total number of label increments for the color scale bar when the data has been processed in linear space or Logarithmic Decades is set to Unformatted. |
| Type In Labels | Editable Strings | The user specified labels, used when Label Type is set to Set By User. |
| Centered Type In Labels | Boolean | Centers the type-in labels on each color break. Available when Label Type is set to Set By User. |
| Title | String | The title for the legend. When linked, the title is the name of the selected data component of the input object. |
| Units | String | The units to add to the end of each label. When linked, the units are taken from the selected data component of the input object. |
| Units Display | Choice: End of value, End of Title, Below Title | Determines where the units are displayed: after each value, appended to the title, or below the title. |
| Format Label Numbers | Number Formatting | Sets how numbers that are turned into labels will be formatted. |
| Label Offset | Double | The distance from the legend at which the labels are created. |
| Title Offset | Double | The distance from the legend at which the title is created. |
| Font Type | Choice: TrueType Fonts, Line Fonts | Selects between two font types. TrueType fonts are standard fonts. Line fonts are low impact fonts which perform better when large numbers of labels are generated. |
| Forward Facing Text | Boolean | Always orients the labels to face the view. The labels use the selected font style and height, sized in world units (they scale with zoom). |
| TrueType Font Style | Font | Alters the basic look of the font. Available when Font Type is TrueType Fonts. |
| 3D Label Settings | Label Settings | Sets the alignment, orientation (azimuth, inclination, roll), and height of the labels. |
| Width Height Aspect | Double | The aspect ratio of the label text. A small width to height ratio creates narrow text and a large ratio creates wide text. |
| Position Around Scale | Choice: Left Back, Right Back, Right Front, Left Front, Middle Back, Right Middle, Middle Front, Left Middle | Chooses which corner of each break on the color scale to start writing the label at. |
| Prepend Min | String | A string placed before the label for the minimum value in the legend. |
| Prepend Max | String | A string placed before the label for the maximum value in the legend. |
Display Settings
| Property | Type | Description |
|---|---|---|
| Datamap Min | Double | Overrides the default minimum range from the input when setting the color scale. |
| Datamap Max | Double | Overrides the default maximum range from the input when setting the color scale. |
| Flip Legend | Boolean | Inverts the legend, putting high values at the bottom. |
| Boundary Lines | Boolean | Specifies whether or not a boundary box is drawn around the legend scale bar. |
| Value Markers | Boolean | Specifies whether or not a tick mark is drawn at each label location. |
| Boundary | Double | Offsets the boundary lines from the legend. The lines are offset in the directions perpendicular to the orientation. For example, if the legend is oriented in the X direction the boundary is offset in Y and Z. |
| Boundary Color | Color | The color of the lines that surround and divide the legend. |
| Display Scale In Output | Boolean | Specifies whether or not to output the colored portion of the legend in the Output Object port. |
| Force Gradiated Colors | Boolean | Causes the legend to display gradiated colors instead of solid color breaks when contour data is passed in. |