Agroeye  1.0
Public Member Functions | Public Attributes | List of all members
agroeyepy.View.addnewobjecttolayer.Point Class Reference
Collaboration diagram for agroeyepy.View.addnewobjecttolayer.Point:

Public Member Functions

def __init__ (self, parent)
 
def connectPoint (self)
 Emit signal for add point. More...
 
def getCoordinate (self, event)
 Add coordinates of point, coordinates are from mouse clicked on the QGraphicsView. More...
 
def draw (self)
 Draw all drawn points. More...
 
def saveObject (self)
 Save draw objects to shapefile. More...
 
def setCoordinate (self)
 Returns points coordinates as numpy array. More...
 
def deleteObject (self, selectedRow, signal, numVertices)
 Delete object, from selected row. More...
 
def deleteVerticle (self)
 Delete verticle of object. More...
 

Public Attributes

 parent
 
 alpha
 
 idObject
 
 verticleCount
 
 idVertice
 
 selectedPoint
 Save draw objects to shapefile. More...
 
 Points
 
 signal
 
 penStyle
 Draw all drawn points. More...
 
 brushStyle
 

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.View.addnewobjecttolayer.Point.__init__ (   self,
  parent 
)

Member Function Documentation

§ connectPoint()

def agroeyepy.View.addnewobjecttolayer.Point.connectPoint (   self)

Emit signal for add point.

Here is the call graph for this function:

§ deleteObject()

def agroeyepy.View.addnewobjecttolayer.Point.deleteObject (   self,
  selectedRow,
  signal,
  numVertices 
)

Delete object, from selected row.

Parameters
selectedRowindex of selected row.
signalsignal to remove object.
numVerticesnumber of vertices.
Here is the caller graph for this function:

§ deleteVerticle()

def agroeyepy.View.addnewobjecttolayer.Point.deleteVerticle (   self)

Delete verticle of object.

Here is the call graph for this function:

§ draw()

def agroeyepy.View.addnewobjecttolayer.Point.draw (   self)

Draw all drawn points.

Here is the caller graph for this function:

§ getCoordinate()

def agroeyepy.View.addnewobjecttolayer.Point.getCoordinate (   self,
  event 
)

Add coordinates of point, coordinates are from mouse clicked on the QGraphicsView.

Parameters
eventMouse click wheel triggers this event
Here is the call graph for this function:
Here is the caller graph for this function:

§ saveObject()

def agroeyepy.View.addnewobjecttolayer.Point.saveObject (   self)

Save draw objects to shapefile.

§ setCoordinate()

def agroeyepy.View.addnewobjecttolayer.Point.setCoordinate (   self)

Returns points coordinates as numpy array.

Member Data Documentation

§ alpha

agroeyepy.View.addnewobjecttolayer.Point.alpha

§ brushStyle

agroeyepy.View.addnewobjecttolayer.Point.brushStyle

§ idObject

agroeyepy.View.addnewobjecttolayer.Point.idObject

§ idVertice

agroeyepy.View.addnewobjecttolayer.Point.idVertice

§ parent

agroeyepy.View.addnewobjecttolayer.Point.parent

§ penStyle

agroeyepy.View.addnewobjecttolayer.Point.penStyle

Draw all drawn points.

§ Points

agroeyepy.View.addnewobjecttolayer.Point.Points

§ selectedPoint

def agroeyepy.View.addnewobjecttolayer.Point.selectedPoint

Save draw objects to shapefile.

Lists of all drawn points during creating shapefile.

Delete object, from selected row.

Parameters
selectedRowindex of selected row.
signalsignal to remove object.
numVerticesnumber of vertices.

§ signal

agroeyepy.View.addnewobjecttolayer.Point.signal

§ verticleCount

agroeyepy.View.addnewobjecttolayer.Point.verticleCount

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