BoundsDialog

class BoundsDialog.BoundsDialog(parent, title=None)[source]

Bases: Dialog

BoundsDialog initializes a dialog that prompts the user to input bounds for the current point cloud.

Initialize a dialog.

Parameters:
  • window (parent -- a parent) –

  • title (title -- the dialog) –

apply()[source]

Method to loop through the inputted values and make the values usable by the app.

For boxes that did not get values inputted, their values are set to defaults to avoid undesired crops (minimum prompts = -infinity, maximum prompts = +infinity).

body(master)[source]

Method that creates the physical dialog box, allowing users to enter the bounds for the x, y, and z axes. The dialog box is made with tkinters element.

Parameters:

master (PipelineGUI*) – the current instance of PipelineGUI class.