Eidolon
Public Member Functions | Public Attributes | Private Member Functions | List of all members
LVSeg2DMixin Class Reference
Inheritance diagram for LVSeg2DMixin:
Inheritance graph
Collaboration diagram for LVSeg2DMixin:
Collaboration graph

Public Member Functions

def __init__ (self, layout, numNodes=defaultNumNodes)
 
def setSegObject (self, segobj)
 
def save (self)
 
def setNumNodes (self, n)
 
def addContourOnPlane (self)
 
def addContour (self, nodes, name=None, timestep=None)
 
def removeContour (self, name)
 
def removeHandle (self, index)
 
def removeHandles (self)
 
def setActiveContour (self, name)
 
def handleSelected (self, handle)
 
def getActiveIndex (self)
 
def isContoursVisible (self)
 
def setContoursVisible (self, isVisible)
 
def updateView (self)
 
def mousePress (self, e)
 
def mouseRelease (self, e)
 
def mouseDrag (self, e, dx, dy)
 
- Public Member Functions inherited from DrawContourMixin
def __init__ (self, numNodes, matname='newContour', drawcolor=color(1, 0, 0))
 
def startContourDraw (self)
 
def fillContourFig (self)
 
def drawMousePress (self, e)
 
def drawMouseDrag (self, e, dx, dy)
 
def drawMouseRelease (self, e)
 

Public Attributes

 uiobj
 
 contourNames
 
 segobj
 
 handlecol
 
 handleradius
 
 planeMargin
 
 numNodes
 
- Public Attributes inherited from DrawContourMixin
 numNodes
 
 drawingContour
 
 contour
 
 drawcolor
 
 contourMat
 
 contourFig
 

Private Member Functions

def _addButton (self)
 
def _selectContour (self)
 
def _deleteActive (self)
 
def _setContourPlane (self)
 
def _setContourTS (self)
 
def _cloneContour (self)
 

Detailed Description

This mixin implements the interface for defining contour segmentations in the 2D view. Contours can be drawn around
features in images using closed line handles defined with a set number of control points and 1D piecewise Catmull-
Rom basis type.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  layout,
  numNodes = defaultNumNodes 
)

Member Function Documentation

◆ _addButton()

def _addButton (   self)
private
Here is the call graph for this function:

◆ _cloneContour()

def _cloneContour (   self)
private
Here is the call graph for this function:

◆ _deleteActive()

def _deleteActive (   self)
private
Here is the call graph for this function:

◆ _selectContour()

def _selectContour (   self)
private
Here is the call graph for this function:

◆ _setContourPlane()

def _setContourPlane (   self)
private
Here is the call graph for this function:

◆ _setContourTS()

def _setContourTS (   self)
private
Here is the call graph for this function:

◆ addContour()

def addContour (   self,
  nodes,
  name = None,
  timestep = None 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addContourOnPlane()

def addContourOnPlane (   self)
Here is the call graph for this function:

◆ getActiveIndex()

def getActiveIndex (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handleSelected()

def handleSelected (   self,
  handle 
)
Here is the call graph for this function:

◆ isContoursVisible()

def isContoursVisible (   self)
Here is the caller graph for this function:

◆ mouseDrag()

def mouseDrag (   self,
  e,
  dx,
  dy 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mousePress()

def mousePress (   self,
  e 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mouseRelease()

def mouseRelease (   self,
  e 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeContour()

def removeContour (   self,
  name 
)
Here is the call graph for this function:

◆ removeHandle()

def removeHandle (   self,
  index 
)
Here is the caller graph for this function:

◆ removeHandles()

def removeHandles (   self)

◆ save()

def save (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setActiveContour()

def setActiveContour (   self,
  name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setContoursVisible()

def setContoursVisible (   self,
  isVisible 
)

◆ setNumNodes()

def setNumNodes (   self,
  n 
)
Here is the caller graph for this function:

◆ setSegObject()

def setSegObject (   self,
  segobj 
)
Here is the call graph for this function:

◆ updateView()

def updateView (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ contourNames

contourNames

◆ handlecol

handlecol

◆ handleradius

handleradius

◆ numNodes

numNodes

◆ planeMargin

planeMargin

◆ segobj

segobj

◆ uiobj

uiobj

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