§ __init__()
| def agroeyepy.View.addnewobjecttolayer.Line.__init__ |
( |
|
self, |
|
|
|
parent |
|
) |
| |
§ connectLine()
| def agroeyepy.View.addnewobjecttolayer.Line.connectLine |
( |
|
self | ) |
|
Emit signal for add polyline.
§ deleteObject()
| def agroeyepy.View.addnewobjecttolayer.Line.deleteObject |
( |
|
self, |
|
|
|
selectedRow, |
|
|
|
signal, |
|
|
|
numVertices |
|
) |
| |
Delete object, from selected row.
- Parameters
-
| selectedRow | index of selected row. |
| signal | signal to remove object. |
| numVertices | number of vertices. |
§ deleteVerticle()
| def agroeyepy.View.addnewobjecttolayer.Line.deleteVerticle |
( |
|
self | ) |
|
Delete verticle of object.
§ draw()
| def agroeyepy.View.addnewobjecttolayer.Line.draw |
( |
|
self | ) |
|
§ getCoordinate()
| def agroeyepy.View.addnewobjecttolayer.Line.getCoordinate |
( |
|
self, |
|
|
|
event |
|
) |
| |
Add coordinates of line, coordinates are from mouse clicked on the QGraphicsView.
- Parameters
-
| event | Mouse click wheel triggers this event |
§ newDraw()
| def agroeyepy.View.addnewobjecttolayer.Line.newDraw |
( |
|
self | ) |
|
§ saveObject()
| def agroeyepy.View.addnewobjecttolayer.Line.saveObject |
( |
|
self | ) |
|
Save draw objects to shapefile.
§ setCoordinate()
| def agroeyepy.View.addnewobjecttolayer.Line.setCoordinate |
( |
|
self | ) |
|
Returns points coordinates as numpy array.
§ alpha
| agroeyepy.View.addnewobjecttolayer.Line.alpha |
§ idObject
| agroeyepy.View.addnewobjecttolayer.Line.idObject |
§ idVertice
| agroeyepy.View.addnewobjecttolayer.Line.idVertice |
§ Lines
| agroeyepy.View.addnewobjecttolayer.Line.Lines |
§ parent
| agroeyepy.View.addnewobjecttolayer.Line.parent |
§ penStyle
| agroeyepy.View.addnewobjecttolayer.Line.penStyle |
§ selectedLine
| def agroeyepy.View.addnewobjecttolayer.Line.selectedLine |
Save draw objects to shapefile.
Lists of all drawn polylines during creating shapefile.
Delete object, from selected row.
- Parameters
-
| selectedRow | index of selected row. |
| signal | signal to remove object. |
| numVertices | number of vertices. |
§ signal
| agroeyepy.View.addnewobjecttolayer.Line.signal |
§ verticleCount
| agroeyepy.View.addnewobjecttolayer.Line.verticleCount |
The documentation for this class was generated from the following file: