3d legend

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

DirectionNameTypeDescription
InputInput ObjectRenderableA renderable object for creating the Legend color scale.
InputContour levelsContoursInformation required to properly set contour levels within Legend.
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.

Legend 3D Options

PropertyTypeDescription
Legend Direction 3DChoice: +X, +Y, +ZSets the orientation of the 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 set by Legend Direction 3D.
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 OnBooleanSpecifies whether or not the data labels are displayed with the legend.
Label MinBooleanPlaces a label at the bottom (min) of the data. This only applies to linear or log unformatted labeling.
Label MaxBooleanPlaces a label at the top (max) of the data. This only applies to linear or log unformatted labeling.
Label ColorColorThe color of each label.
Label TypeChoice: Set By Data, Set By UserChooses between data generated labels or user specified labels.
Logarithmic DecadesChoice: Log, UnformattedWhen 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 DecadeIntegerThe number of label increments per decade when Logarithmic Decades is set to Log.
Number Of IntervalsIntegerThe 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 LabelsEditable StringsThe user specified labels, used when Label Type is set to Set By User.
Centered Type In LabelsBooleanCenters the type-in labels on each color break. Available when Label Type is set to Set By User.
TitleStringThe title for the legend. When linked, the title is the name of the selected data component of the input object.
UnitsStringThe 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 DisplayChoice: End of value, End of Title, Below TitleDetermines where the units are displayed: after each value, appended to the title, or below the title.
Format Label NumbersNumber FormattingSets how numbers that are turned into labels will be formatted.
Label OffsetDoubleThe distance from the legend at which the labels are created.
Title OffsetDoubleThe distance from the legend at which the title is created.
Font TypeChoice: TrueType Fonts, Line FontsSelects 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 TextBooleanAlways 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 StyleFontAlters the basic look of the font. Available when Font Type is TrueType Fonts.
3D Label SettingsLabel SettingsSets the alignment, orientation (azimuth, inclination, roll), and height of the labels.
Width Height AspectDoubleThe aspect ratio of the label text. A small width to height ratio creates narrow text and a large ratio creates wide text.
Position Around ScaleChoice: Left Back, Right Back, Right Front, Left Front, Middle Back, Right Middle, Middle Front, Left MiddleChooses which corner of each break on the color scale to start writing the label at.
Prepend MinStringA string placed before the label for the minimum value in the legend.
Prepend MaxStringA string placed before the label for the maximum value in the legend.

Display Settings

PropertyTypeDescription
Datamap MinDoubleOverrides the default minimum range from the input when setting the color scale.
Datamap MaxDoubleOverrides the default maximum range from the input when setting the color scale.
Flip LegendBooleanInverts the legend, putting high values at the bottom.
Boundary LinesBooleanSpecifies whether or not a boundary box is drawn around the legend scale bar.
Value MarkersBooleanSpecifies whether or not a tick mark is drawn at each label location.
BoundaryDoubleOffsets 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 ColorColorThe color of the lines that surround and divide the legend.
Display Scale In OutputBooleanSpecifies whether or not to output the colored portion of the legend in the Output Object port.
Force Gradiated ColorsBooleanCauses the legend to display gradiated colors instead of solid color breaks when contour data is passed in.