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
35297443
Commit
35297443
authored
Nov 03, 2009
by
Mark Olesen
Browse files
PV3Reader - render after toggling show point/patch names
parent
f2480858
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/paraview-plugins/PV3Readers/PV3FoamReader/PV3FoamReader/pqPV3FoamReaderPanel.cxx
View file @
35297443
...
...
@@ -39,6 +39,7 @@ License
#include
"pqApplicationCore.h"
#include
"pqPipelineRepresentation.h"
#include
"pqServerManagerModel.h"
#include
"pqView.h"
// Paraview Server Manager
#include
"vtkSMDoubleVectorProperty.h"
...
...
@@ -120,6 +121,14 @@ void pqPV3FoamReaderPanel::ShowPatchNamesToggled()
(
sourceProxy_
->
GetProperty
(
"UiShowPatchNames"
)
)
->
SetElement
(
0
,
ShowPatchNames_
->
isChecked
());
// update the active view
if
(
this
->
view
())
{
this
->
view
()
->
render
();
}
// OR: update all views
// pqApplicationCore::instance()->render();
}
...
...
src/paraview-plugins/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/pqPV3blockMeshReaderPanel.cxx
View file @
35297443
...
...
@@ -39,6 +39,7 @@ License
#include
"pqApplicationCore.h"
#include
"pqPipelineRepresentation.h"
#include
"pqServerManagerModel.h"
#include
"pqView.h"
// Paraview Server Manager
#include
"vtkSMDoubleVectorProperty.h"
...
...
@@ -94,6 +95,14 @@ void pqPV3blockMeshReaderPanel::ShowPointNumbersToggled()
(
sourceProxy_
->
GetProperty
(
"UiShowPointNumbers"
)
)
->
SetElement
(
0
,
ShowPointNumbers_
->
isChecked
());
// update the active view
if
(
this
->
view
())
{
this
->
view
()
->
render
();
}
// OR: update all views
// pqApplicationCore::instance()->render();
}
...
...
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