UAV Coverage Path Planner
Public Member Functions | Public Attributes | List of all members
specify_rect.PolygonBuilder Class Reference

GUI class to specify a polygon. More...

Inheritance diagram for specify_rect.PolygonBuilder:
Inheritance graph
[legend]
Collaboration diagram for specify_rect.PolygonBuilder:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self)
 Constructor. More...
 
def __call__ (self, event)
 Callback function for button_press_event. More...
 
def update_params (self)
 Update values of coverage parameters. More...
 
def update_param_texts (self)
 Update texts of coverage parameters. More...
 
def draw_polygon (self, event)
 Callback function for "Draw Polygon" button. More...
 
def calculate_path (self, event)
 Callback function for "Calculate CP" button. More...
 
def clear_figure (self, event)
 Callback function for "Clear" button. More...
 
def image_resolution_h_update (self, event)
 Called when content of "Image Height" is submitted. More...
 
def image_resolution_w_update (self, event)
 Called when content of "Image Width" is submitted. More...
 
def angle_of_view_update (self, event)
 Called when content of "Angle of view" is submitted. More...
 
def height_update (self, event)
 Called when content of "Height" is submitted. More...
 
def horizontal_overwrap_update (self, event)
 Called when content of "Horizontal overwrap" is submitted. More...
 
def vertical_overwrap_update (self, event)
 Called when content of "Vertical overwrap" is submitted. More...
 

Public Attributes

 fig
 
 axis
 
 is_polygon_drawn
 
 is_path_drawn
 
 server_node
 
 lines
 
 points
 
 subpolygons
 
 patches
 
 shooting_cond
 
 coverage_params
 
 buttons
 
 text_boxes
 
 labels
 

Detailed Description

GUI class to specify a polygon.

Definition at line 44 of file specify_rect.py.

Constructor & Destructor Documentation

def specify_rect.PolygonBuilder.__init__ (   self)

Constructor.

Definition at line 49 of file specify_rect.py.

Member Function Documentation

def specify_rect.PolygonBuilder.__call__ (   self,
  event 
)

Callback function for button_press_event.

Parameters
eventMouseEvent object

Definition at line 240 of file specify_rect.py.

def specify_rect.PolygonBuilder.angle_of_view_update (   self,
  event 
)

Called when content of "Angle of view" is submitted.

Parameters
eventContent of TextBox

Definition at line 471 of file specify_rect.py.

def specify_rect.PolygonBuilder.calculate_path (   self,
  event 
)

Callback function for "Calculate CP" button.

Parameters
eventMouseEvent object

Definition at line 311 of file specify_rect.py.

def specify_rect.PolygonBuilder.clear_figure (   self,
  event 
)

Callback function for "Clear" button.

Parameters
eventMouseEvent object

Definition at line 398 of file specify_rect.py.

def specify_rect.PolygonBuilder.draw_polygon (   self,
  event 
)

Callback function for "Draw Polygon" button.

Parameters
eventMouseEvent object

Definition at line 295 of file specify_rect.py.

def specify_rect.PolygonBuilder.height_update (   self,
  event 
)

Called when content of "Height" is submitted.

Parameters
eventContent of TextBox

Definition at line 485 of file specify_rect.py.

def specify_rect.PolygonBuilder.horizontal_overwrap_update (   self,
  event 
)

Called when content of "Horizontal overwrap" is submitted.

Parameters
eventContent of TextBox

Definition at line 499 of file specify_rect.py.

def specify_rect.PolygonBuilder.image_resolution_h_update (   self,
  event 
)

Called when content of "Image Height" is submitted.

Parameters
eventContent of TextBox

Definition at line 443 of file specify_rect.py.

def specify_rect.PolygonBuilder.image_resolution_w_update (   self,
  event 
)

Called when content of "Image Width" is submitted.

Parameters
eventContent of TextBox

Definition at line 457 of file specify_rect.py.

def specify_rect.PolygonBuilder.update_param_texts (   self)

Update texts of coverage parameters.

Definition at line 283 of file specify_rect.py.

def specify_rect.PolygonBuilder.update_params (   self)

Update values of coverage parameters.

Definition at line 272 of file specify_rect.py.

def specify_rect.PolygonBuilder.vertical_overwrap_update (   self,
  event 
)

Called when content of "Vertical overwrap" is submitted.

Parameters
eventContent of TextBox

Definition at line 515 of file specify_rect.py.

Member Data Documentation

specify_rect.PolygonBuilder.axis

Definition at line 59 of file specify_rect.py.

specify_rect.PolygonBuilder.buttons

Definition at line 151 of file specify_rect.py.

specify_rect.PolygonBuilder.coverage_params

Definition at line 136 of file specify_rect.py.

specify_rect.PolygonBuilder.fig

Definition at line 55 of file specify_rect.py.

specify_rect.PolygonBuilder.is_path_drawn

Definition at line 76 of file specify_rect.py.

specify_rect.PolygonBuilder.is_polygon_drawn

Definition at line 72 of file specify_rect.py.

specify_rect.PolygonBuilder.labels

Definition at line 222 of file specify_rect.py.

specify_rect.PolygonBuilder.lines

Definition at line 87 of file specify_rect.py.

specify_rect.PolygonBuilder.patches

Definition at line 109 of file specify_rect.py.

specify_rect.PolygonBuilder.points

Definition at line 103 of file specify_rect.py.

specify_rect.PolygonBuilder.server_node

Definition at line 80 of file specify_rect.py.

specify_rect.PolygonBuilder.shooting_cond

Definition at line 117 of file specify_rect.py.

specify_rect.PolygonBuilder.subpolygons

Definition at line 108 of file specify_rect.py.

specify_rect.PolygonBuilder.text_boxes

Definition at line 175 of file specify_rect.py.


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