Skip to content

Commit

Permalink
Add integration var selector
Browse files Browse the repository at this point in the history
  • Loading branch information
StasJ committed Nov 30, 2021
1 parent e1f1505 commit b74cfa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/vaporgui/FlowEventRouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ FlowEventRouter::FlowEventRouter(QWidget *parent, ControlExec *ce) : RenderEvent
AddSubtab(IntegrationTabName, new PGroup({
new PSection("Integration Settings", {
new PCheckbox(FP::_doIntegrationTag, "Integrate particle values along trajectory"),
(new PVariableSelector(RenderParams::_colorMapVariableNameTag, "Scalar to Integrate"))->EnableBasedOnParam(FP::_doIntegrationTag),
(new PDoubleInput(FP::_integrationScalarTag, "Integration distance scale"))->EnableBasedOnParam(FP::_doIntegrationTag),
}),
(new PSection("Integration Region", {
Expand Down

0 comments on commit b74cfa6

Please sign in to comment.