Skip to content

Commit bd62acb

Browse files
committed
Add Blue/Red colormap
1 parent 363b6f2 commit bd62acb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Studio/Visualization/ColorMap.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ColorMaps::ColorMaps() {
5959

6060
add_custom_series("Rainbow", {Qt::blue, Qt::cyan, Qt::green, Qt::yellow, Qt::red});
6161
add_custom_series("Grayscale", {Qt::black, Qt::darkGray, Qt::lightGray, Qt::white});
62-
add_custom_series("Blue to Red", {Qt::blue, Qt::white, Qt::red});
62+
add_custom_series("Blue White Red", {Qt::blue, Qt::white, Qt::red});
6363
add_custom_series("Magenta to Green", {QColor(191, 53, 136), QColor(208, 121, 178), Qt::white, QColor(155, 196, 128),
6464
QColor(102, 167, 61)});
6565
add_custom_series("Black-Body Radiation", {Qt::black, Qt::red, Qt::yellow, Qt::white});
@@ -78,6 +78,7 @@ ColorMaps::ColorMaps() {
7878
for (int i = vtkColorSeries::SPECTRUM; i < vtkColorSeries::CUSTOM; i++) {
7979
add_vtk_series(i);
8080
}
81+
add_custom_series("Blue and Red", {Qt::blue, Qt::red});
8182
}
8283

8384
} // namespace shapeworks

0 commit comments

Comments
 (0)