Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Modules
Visualization
Commits
bc715611
Commit
bc715611
authored
May 30, 2019
by
Mark OLESEN
Browse files
BUG: scalarBar range ignored in runTimePostProcessing
- was missing range setting for the colour lookup table
parent
85cfbd8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runTimePostProcessing/fieldVisualisationBase.C
View file @
bc715611
...
...
@@ -270,6 +270,7 @@ setField
auto
lut
=
vtkSmartPointer
<
vtkLookupTable
>::
New
();
setColourMap
(
lut
);
lut
->
SetVectorMode
(
vtkScalarsToColors
::
MAGNITUDE
);
lut
->
SetTableRange
(
range_
.
first
(),
range_
.
second
());
// Configure the mapper
const
char
*
fieldName
=
colourFieldName
.
c_str
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment