SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::ui::InletJunctionSetupDialog Class Reference

#include <inletjunctionsetupdialog.h>

Inheritance diagram for openswmmvis::ui::InletJunctionSetupDialog:
Collaboration diagram for openswmmvis::ui::InletJunctionSetupDialog:

Public Member Functions

 InletJunctionSetupDialog (SWMMModelLayer *layer, QVector< int > excludeNodes, QWidget *parent=nullptr)
 
 ~InletJunctionSetupDialog () override
 
QString inletDesign () const
 
QString captureNode () const
 
int placement () const
 
void startCaptureNodePick ()
 
void endCaptureNodePick ()
 
bool isPickingCaptureNode () const
 

Constructor & Destructor Documentation

◆ InletJunctionSetupDialog()

openswmmvis::ui::InletJunctionSetupDialog::InletJunctionSetupDialog ( SWMMModelLayer layer,
QVector< int >  excludeNodes,
QWidget *  parent = nullptr 
)
Parameters
layerModel layer (engine + inlet registry source; its editCanvas() hosts the map pick).
excludeNodesNode indices the capture-node list must omit — the host conduit's two end nodes for the split flow, or the node being promoted for the convert flow. Virtual and inlet junctions are excluded already (engine rule 627).
Here is the call graph for this function:

◆ ~InletJunctionSetupDialog()

openswmmvis::ui::InletJunctionSetupDialog::~InletJunctionSetupDialog ( )
override
Here is the call graph for this function:

Member Function Documentation

◆ captureNode()

QString openswmmvis::ui::InletJunctionSetupDialog::captureNode ( ) const

Chosen capture (underdrain) node name. Never empty once accepted.

Here is the call graph for this function:

◆ endCaptureNodePick()

void openswmmvis::ui::InletJunctionSetupDialog::endCaptureNodePick ( )

Stop picking and restore the previous canvas tool.

Here is the caller graph for this function:

◆ inletDesign()

QString openswmmvis::ui::InletJunctionSetupDialog::inletDesign ( ) const

Chosen inlet design name. Never empty once the dialog was accepted.

Here is the call graph for this function:

◆ isPickingCaptureNode()

bool openswmmvis::ui::InletJunctionSetupDialog::isPickingCaptureNode ( ) const

◆ placement()

int openswmmvis::ui::InletJunctionSetupDialog::placement ( ) const

Chosen placement, as a SWMM_InletPlacement ordinal.

◆ startCaptureNodePick()

void openswmmvis::ui::InletJunctionSetupDialog::startCaptureNodePick ( )

Start picking the capture node on the map (the "…" button's action). No-op when the layer has no edit canvas.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: