You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46-38Lines changed: 46 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ The control panel has three sections, top to bottom:
113
113
114
114
The toolbar has three areas, left to right:
115
115
116
-
-**Icon buttons** — Eight buttons separated into three groups by vertical
116
+
-**Icon buttons** — Nine buttons separated into three groups by vertical
117
117
dividers. Active toggles show a primary-colored square outline; the icon
118
118
itself stays black. The NaN color button opens a dropdown instead of
119
119
toggling. Details on each button below.
@@ -140,6 +140,7 @@ The toolbar has three areas, left to right:
140
140
||||||
141
141
| 7 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/gradient-horizontal.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/gradient-horizontal.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Discrete | Switches between continuous gradient and discrete color banding. Exposes band count in *Settings panel*. |
142
142
| 8 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/pencil.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/pencil.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Custom Range | Toggles between data-driven range and manual Min/Max inputs. Disabled in Δ mode. Cannot be active at the same time as Δ Difference. |
143
+
| 9 | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/scissors-cutting.svg"width="24"> | <imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/scissors-cutting.svg"width="24"style="border: 2pxsolid#1867C0; border-radius: 4px; padding: 2px;"> | Cut Outside Range | Switches between clamp mode (out-of-range values get endpoint color) and cut mode (out-of-range values get NaN color). Disabled unless Custom Range or Δ mode is active. |
143
144
144
145
Empty rows in the table indicate the vertical separator dividers between
145
146
button groups.
@@ -149,6 +150,8 @@ button groups.
149
150
-**Δ Difference** is disabled when Scale is Log or when Custom Range is on.
150
151
You can always turn Δ Difference *off*.
151
152
-**Custom Range** is disabled when Δ Difference is on.
153
+
-**Cut Outside Range** is disabled when neither Custom Range nor Δ
154
+
Difference is active.
152
155
-**Category dropdown** is disabled when Δ Difference is on (presets forced
153
156
to Diverging). When Δ is turned off, category resets to Sequential.
154
157
@@ -171,50 +174,54 @@ on both the main CTF and any render CTF (e.g. symlog).
-**Discrete** — *Settings panel* shows band count. Label adapts: "Colors
192
-
per tick interval" (Linear) or "Colors per order of magnitude" (Log/SymLog).
193
-
-**Search** — Text field contains "V"; a clear button (✕) appears.
194
-
195
-
The only difference between the three images is the **Scale** icon, which
196
-
cycles through Linear (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/stairs.svg"width="16">), Log (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/math-log.svg"width="16">), and SymLog (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/sine-wave.svg"width="16">).
197
-
The colorbar tick labels switch between decimal (Linear) and scientific
198
-
notation (Log/SymLog).
177
+
The Scale button cycles through three modes. The colorbar and tick labels
178
+
update to match the active scale:
179
+
180
+
-**Linear** — evenly spaced ticks, decimal labels. Colorbar image is a
181
+
direct mapping of the preset. Discrete label reads "Colors per tick
When Δ Difference is active (outlined with primary):
210
-
211
-
-**Preset list** is forced to diverging-only presets (vik shown here).
212
-
-**Scale** only toggles between Linear (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/stairs.svg"width="16">) and SymLog (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/sine-wave.svg"width="16">) — Log is
213
-
not available.
197
+
-**Preset list** is forced to diverging-only presets.
198
+
-**Scale** only toggles between Linear and SymLog — Log is not available.
214
199
-**Settings panel** replaces Min/Max with **|max|** (symmetric range
215
200
centered at zero) and **ε tolerance** (dead zone around zero).
216
-
-**Custom Range**button is disabled — range is always driven by |max|.
201
+
-**Custom Range** is disabled — range is driven by |max|.
217
202
-**Category** dropdown is disabled — presets locked to Diverging.
203
+
-**Cut Outside Range** is available — out-of-range values can use the
204
+
NaN color instead of endpoint clamping.
205
+
206
+
#### Cut Outside Range
207
+
208
+
The Cut button (<imgsrc="https://cdn.jsdelivr.net/npm/@mdi/svg/svg/scissors-cutting.svg"width="16">)
209
+
toggles between two modes for values outside the color range:
210
+
211
+
-**Clamp (default)** — out-of-range values are assigned the nearest
212
+
endpoint color. This is VTK's default behavior.
213
+
-**Cut** — out-of-range values are assigned the NaN color (set via the
214
+
NaN Color dropdown). With the default transparent NaN color, out-of-range
215
+
regions become invisible.
216
+
217
+
Cut mode is only available when **Custom Range** or **Δ Difference** is
218
+
active — these are the modes where the color range may intentionally
219
+
exclude part of the data. When neither is active, the button is disabled
0 commit comments