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
39f06215
Commit
39f06215
authored
Jun 30, 2004
by
Charles Law
Browse files
Trace and State work with direct color and texture color.
parent
4ad8a0ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
GUI/Client/vtkPVData.cxx
View file @
39f06215
...
...
@@ -83,7 +83,7 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro
(
vtkPVData
);
vtkCxxRevisionMacro
(
vtkPVData
,
"1.28
8
"
);
vtkCxxRevisionMacro
(
vtkPVData
,
"1.28
9
"
);
int
vtkPVDataCommand
(
ClientData
cd
,
Tcl_Interp
*
interp
,
int
argc
,
char
*
argv
[]);
...
...
@@ -2696,9 +2696,9 @@ void vtkPVData::MapScalarsCheckCallback()
//----------------------------------------------------------------------------
void
vtkPVData
::
SetMapScalarsFlag
(
int
val
)
{
this
->
AddTraceEntry
(
"$kw(%s) SetMapScalarsFlag %d"
,
this
->
GetTclName
(),
val
);
if
(
this
->
MapScalarsCheck
->
GetState
()
!=
val
)
{
this
->
AddTraceEntry
(
"$kw(%s) SetMapScalarsFlag %d"
,
this
->
GetTclName
(),
val
);
this
->
MapScalarsCheck
->
SetState
(
val
);
}
...
...
@@ -2734,9 +2734,9 @@ void vtkPVData::InterpolateColorsCheckCallback()
//----------------------------------------------------------------------------
void
vtkPVData
::
SetInterpolateColorsFlag
(
int
val
)
{
this
->
AddTraceEntry
(
"$kw(%s) SetInterpolateColorsFlag %d"
,
this
->
GetTclName
(),
val
);
if
(
this
->
InterpolateColorsCheck
->
GetState
()
!=
val
)
{
this
->
AddTraceEntry
(
"$kw(%s) SetInterpolateColorsFlag %d"
,
this
->
GetTclName
(),
val
);
this
->
InterpolateColorsCheck
->
SetState
(
val
);
}
...
...
@@ -3075,6 +3075,10 @@ void vtkPVData::SaveState(ofstream *file)
}
}
*
file
<<
"$kw("
<<
this
->
GetTclName
()
<<
") SetMapScalarsFlag "
<<
this
->
MapScalarsCheck
->
GetState
()
<<
endl
;
*
file
<<
"$kw("
<<
this
->
GetTclName
()
<<
") SetInterpolateColorsFlag "
<<
this
->
InterpolateColorsCheck
->
GetState
()
<<
endl
;
if
(
strcmp
(
this
->
RepresentationMenu
->
GetValue
(),
VTK_PV_OUTLINE_LABEL
)
==
0
)
{
...
...
Write
Preview
Markdown
is supported
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