3d legend

3d legend

The 3d legend module is used to place 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 will be displayed as the title of the legend if the label options are set to automatic (the default).

If the data component to be viewed is either Geo_Layer or Material_ID (for models where the grid is based upon geology), the Geology Legend port from gridding and horizons (or lithologic modeling) must also be connected to provide the geologic layer or material names for automatic labeling. When this port is connected it will have no effect if any other data component is selected.

The minimum and maximum values are taken from the data input as defined in the datamap. Labels can be placed at user defined intervals along the color scale bar. Labels can consist of user input alphanumerical values or automatically determined numerical values.

Ports

DirectionNameTypeDescription
InputInput ObjectRenderableA renderable object for creating the Legend color scale.
InputInput Z ScaleNumberThe factor for vertical scaling.
InputGeology LegendGeology LegendGeology legend information.
InputContour levelsContoursInformation required to properly set contour levels within Legend.
OutputOutput Z ScaleNumberThe factor for vertical scaling.
OutputTitle OutputStringText containing the Title.
OutputOutput LegendFieldThis field allows the colored legend portion to be texture mapped with modules such as contour texture.
OutputOutput ObjectRenderableA renderable object displaying the Legend.

Properties

PropertyTypeDescription
Allow RunBooleanThe Allow Run toggle, when deselected, will prevent the module from running.
ExecuteButtonThis 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.
Z ScaleDoubleThe Z Scale is the vertical exaggeration to be applied to the output object.

Legend 3D Options

PropertyTypeDescription
Legend Direction 3DChoice: +X, +Y, +ZThe Legend Direction 3D allows the user to set the orientation of the Legend when creating a 3D Legend.
X OriginDoubleThe starting X coordinate to draw the Legend from.
Y OriginDoubleThe starting Y coordinate to draw the Legend from.
Z OriginDoubleThe starting Z coordinate to draw the Legend from.
Legend SizeDoubleThe length of the Legend in coordinate space in the direction indicated by Orientation.
Legend WidthDoubleThe width of the legend as a percentage of the model size.
Legend DepthDoubleThe depth of the legend as a percentage of the model size.

Label Options

PropertyTypeDescription
Labels OnBooleanThe Labels On toggle is used to specify whether or not the data labels are to be displayed with the Legend.
Label MinBooleanThe Label Min toggle places a label at the bottom (min) of the data. This only applies to linear or log unformatted.
Label MaxBooleanThe Label Max toggle places a label at the top (max) of the data. This only applies to linear or log unformatted.
Label ColorColorThe color to set each label.
Label TypeChoice: Set By Data, Set By UserThe Label Type allows the user to choose between data generated labels or user specified labels.
Logarithmic DecadesChoice: Log, UnformattedWhen the data has been log processed, the Logarithmic Decades determines the number of label increments in the color scale bar. If the Log option is selected the Labels Per Log Decade value is used. If Unformatted is selected the Number Of Intervals is used.
Labels Per Log DecadeIntegerIf the Log Option is selected for Logarithmic Decades, the increments per decade can be set with this value.
Number Of IntervalsIntegerIf the data has been processed in linear space or the Unformatted option is selected for Logarithmic Decades, the total increments for the color scale bar can be set with this value.
Type In LabelsEditable StringsIf the Type-In Labels option is selected for Label Processing, the labels may be set using this control.
Centered Type In LabelsBooleanWhether to center the type-in labels.
TitleStringThe specified title to set for the Legend.
UnitsStringThe Units to add to the end of each label.
Units DisplayChoice: End of value, End of Title, Below TitleThe Units Display will affect where the units for the Legend will display, either after each value or appended to the title.
Format Label NumbersNumber FormattingThe Format Label Numbers control allows the user to set how numbers that are turned into labels will be formatted.
Label OffsetDoubleThe Label Offset is the distance from the Legend the labels are created.
Title OffsetDoubleThe Title Offset is the distance from the Legend the title is created.
Font TypeChoice: Forward Facing Fonts, TrueType Fonts, Line FontsThe Font Type allows the user to select between three font types. Forward Facing Fonts will always be aligned to the View. TrueType fonts are standard fonts. Line fonts are low impact fonts which perform better when large numbers of labels are generated.
TrueType Font StyleFontThe TrueType Font Style allows the user to alter the basic look of the font.
3D Label SettingsLabel Settings3D Label Settings allow the user to align the labels to an appropriate view.
Forward Facing StyleForward FacingForward Facing Style allows the user to align the labels to an appropriate view and to alter the basic layout of the font.
Width Height AspectDoubleThe Width Height Aspect determines the aspect ratio of the label text. A small width to height ratio creates narrow text and a large ratio creates wide text. This is not enabled when using a Forward Facing Font.
Position Around ScaleChoice: Left Back, Right Back, Right Front, Left Front, Middle Back, Right Middle, Middle Front, Left MiddleThe Position Around Scale lets the user choose which corner of the break on the color scale to start writing the label at.
Prepend MinStringThe Prepend Min string is placed before the label for the minimum value in the Legend.
Prepend MaxStringThe Prepend Max string is placed before the label for the maximum value in the Legend.

Display Settings

PropertyTypeDescription
Datamap MinDoubleThe Datamap Min value is used to override the default minimum range from the input when setting the color scale.
Datamap MaxDoubleThe Datamap Max value is used to override the default maximum range from the input when setting the color scale.
Flip LegendBooleanThe Flip Legend toggle inverts the legend putting high values at the bottom.
Boundary LinesBooleanThe Boundary Lines toggle specifies whether or not a boundary box is to be drawn around the Legend scale bar.
Value MarkersBooleanThe Value Markers toggle specifies whether or not a tick mark is to be drawn at each label location.
BoundaryDoubleThe Boundary value offsets the boundary lines from the Legend. The lines are offset in the directions perpendicular to the orientation.
Boundary ColorColorThe Boundary Color sets the color of the lines that surround and divide the Legend.
Display Scale In OutputBooleanThe Display Scale in Output toggle specifies whether or not to output the colored portion of the legend in the Legend’s Output Object port.
Force Gradiated ColorsBooleanThe Force Gradiated Colors toggle will cause the Legend to display gradiated colors instead of solid color breaks when contour data is passed in.