GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
model.ModelRelation Class Reference

Data - action relation. More...

Inheritance diagram for model.ModelRelation:
Collaboration diagram for model.ModelRelation:

Public Member Functions

def __init__
def __del__
def GetFrom
 Get id of 'from' shape. More...
def GetTo
 Get id of 'to' shape. More...
def GetData
 Get related ModelData instance. More...
def GetName
 Get parameter name. More...
def ResetShapes
 Reset related objects. More...
def SetControlPoints
 Set control points. More...
def GetControlPoints
 Get list of control points. More...
def OnDraw
 Draw relation. More...
def SetName

Data Fields


Detailed Description

Data - action relation.

Definition at line 1250 of file

Constructor & Destructor Documentation

def model.ModelRelation.__init__ (   self,
  param = '' 

Definition at line 1252 of file

def model.ModelRelation.__del__ (   self)

Definition at line 1263 of file

Member Function Documentation

def model.ModelRelation.GetControlPoints (   self)

Get list of control points.

Definition at line 1304 of file

References model.ModelRelation._points.

def model.ModelRelation.GetData (   self)

Get related ModelData instance.

ModelData instance
None if not found

Definition at line 1277 of file

References model.ModelRelation.fromShape, and model.ModelRelation.toShape.

def model.ModelRelation.GetFrom (   self)

Get id of 'from' shape.

Definition at line 1269 of file

References model.ModelRelation.fromShape.

def model.ModelRelation.GetName (   self)
def model.ModelRelation.GetTo (   self)

Get id of 'to' shape.

Definition at line 1273 of file

References model.ModelRelation.toShape.

def model.ModelRelation.OnDraw (   self,

Draw relation.

Definition at line 1315 of file

References model.ModelAction._setPen(), model.ModelData._setPen(), and model.ModelRelation._setPen().

def model.ModelRelation.ResetShapes (   self)

Reset related objects.

Definition at line 1294 of file

def model.ModelRelation.SetControlPoints (   self,

Set control points.

Definition at line 1300 of file

References model.ModelRelation._points.

Field Documentation


Definition at line 1253 of file

Referenced by model.ModelRelation.GetData(), and model.ModelRelation.GetFrom().


Definition at line 1254 of file

Referenced by model.ModelRelation.GetData(), and model.ModelRelation.GetTo().

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