Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
ParaView
Commits
43679c8c
Commit
43679c8c
authored
Jul 01, 2004
by
Berk Geveci
Browse files
Added option to interpolate colors before mapping
parent
3556db3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
GUI/Client/vtkPVData.cxx
View file @
43679c8c
...
...
@@ -83,7 +83,7 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro
(
vtkPVData
);
vtkCxxRevisionMacro
(
vtkPVData
,
"1.2
8
9"
);
vtkCxxRevisionMacro
(
vtkPVData
,
"1.29
0
"
);
int
vtkPVDataCommand
(
ClientData
cd
,
Tcl_Interp
*
interp
,
int
argc
,
char
*
argv
[]);
...
...
@@ -2923,6 +2923,11 @@ void vtkPVData::SaveInBatchScript(ofstream *file)
<<
" GetProperty ColorMode] SetElements1 "
<<
part
->
GetPartDisplay
()
->
GetMapper
()
->
GetColorMode
()
<<
endl
;
*
file
<<
" [$pvTemp"
<<
partD
->
GetGeometryID
()
<<
" GetProperty InterpolateColorsBeforeMapping] SetElements1 "
<<
part
->
GetPartDisplay
()
->
GetMapper
()
->
GetInterpolateScalarsBeforeMapping
()
<<
endl
;
*
file
<<
" [$pvTemp"
<<
partD
->
GetGeometryID
()
<<
" GetProperty Representation] SetElements1 "
...
...
Servers/ServerManager/Resources/rendering.xml
View file @
43679c8c
...
...
@@ -66,6 +66,14 @@
default_values=
"0"
>
</IntVectorProperty>
<IntVectorProperty
name=
"InterpolateColorsBeforeMapping"
command=
"SetInterpolateScalarsBeforeMapping"
number_of_elements=
"1"
default_values=
"0"
>
<BooleanDomain
name=
"bool"
/>
</IntVectorProperty>
<StringVectorProperty
name=
"ColorArray"
command=
"SelectColorArray"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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