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

Public Member Functions

def __init__ (self)
 
def init (self, plugid, win, mgr)
 
def getMenu (self, obj)
 
def getFilename (self, isOpen=True)
 
def getObjectWidget (self, obj)
 
def objectMenuItem (self, obj, item)
 
def createObjPropBox (self, obj)
 
def updateObjPropBox (self, obj, prop)
 
def acceptFile (self, filename)
 
def checkFileOverwrite (self, obj, dirpath, name=None)
 
def renameObjFiles (self, obj, oldname, overwrite=False)
 
def getObjFiles (self, obj)
 
def copyObjFiles (self, obj, sdir, overwrite=False)
 
def getScriptCode (self, obj, kwargs)
 
def createMeasurementObject (self, filename, name)
 
def createRepr (self, obj, reprtype, refine=0, task=None, kwargs)
 
def getMeasurementDock (self, obj, w=400, h=400)
 
def loadObject (self, filename, name=None, kwargs)
 
def saveObject (self, obj, path, overwrite=False, setFilenames=False, kwargs)
 
def addTrackSource (self, name, func)
 
def removeTrackSource (self, name_or_func)
 
def addMaskSegmentations (self, obj, mask, numctrls, innerseg, minSegSize=100, refine=2, task=None)
 
- Public Member Functions inherited from ScenePlugin
def __init__ (self, name)
 
def init (self, plugid, win, mgr)
 
def cleanup (self)
 
def findObject (self, name, assertFound=True)
 
def removeFilesTask (self, fileglob)
 
def getScriptCode (self, obj, kwargs)
 
def getIcon (self, obj)
 
def getMenu (self, obj)
 
def getHelp (self)
 
def acceptFile (self, filename)
 
def loadObject (self, filename, name=None, kwargs)
 
def saveObject (self, obj, path, overwrite=False, setFilenames=False, kwargs)
 
def checkFileOverwrite (self, obj, dirpath, name=None)
 
def getObjFiles (self, obj)
 
def renameObjFiles (self, obj, oldname, overwrite=False)
 
def copyObjFiles (self, obj, sdir, overwrite=False)
 
def removeObject (self, obj)
 
def createRepr (self, obj, reprtype, kwargs)
 
def getReprParams (self, obj, reprtype)
 
def getReprParamHelp (self, obj, reprtype)
 
def getReprTypes (self, obj)
 
def createHandles (self, rep, kwargs)
 
def updateObjPropBox (self, obj, prop)
 
def updateReprPropBox (self, rep, prop)
 
def createObjPropBox (self, obj)
 
def createReprPropBox (self, rep)
 
def addSceneObject (self, obj)
 
def addSceneObjectRepr (self, rep)
 
def applyMaterial (self, rep, mat, kwargs)
 
def objectMenuItem (self, obj, item)
 

Public Attributes

 dockmap
 
 trackSrcs
 
- Public Attributes inherited from ScenePlugin
 plugid
 
 win
 
 mgr
 
 name
 

Private Member Functions

def _importMeasure (self)
 
def _createMeasure (self)
 
def _createContoursButton (self, prop, obj)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ _createContoursButton()

def _createContoursButton (   self,
  prop,
  obj 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _createMeasure()

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

◆ _importMeasure()

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

◆ acceptFile()

def acceptFile (   self,
  filename 
)

◆ addMaskSegmentations()

def addMaskSegmentations (   self,
  obj,
  mask,
  numctrls,
  innerseg,
  minSegSize = 100,
  refine = 2,
  task = None 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTrackSource()

def addTrackSource (   self,
  name,
  func 
)
Add the tracking source for the name/directory `name'. The `func' callable must accept 2 arguments, the name
it was keyed to and a list of vec3 points, and return a dict mapping timesteps to the motion tracked data
at that time.

◆ checkFileOverwrite()

def checkFileOverwrite (   self,
  obj,
  dirpath,
  name = None 
)
Here is the caller graph for this function:

◆ copyObjFiles()

def copyObjFiles (   self,
  obj,
  sdir,
  overwrite = False 
)

◆ createMeasurementObject()

def createMeasurementObject (   self,
  filename,
  name 
)
Here is the caller graph for this function:

◆ createObjPropBox()

def createObjPropBox (   self,
  obj 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createRepr()

def createRepr (   self,
  obj,
  reprtype,
  refine = 0,
  task = None,
  kwargs 
)
Here is the call graph for this function:

◆ getFilename()

def getFilename (   self,
  isOpen = True 
)
Here is the caller graph for this function:

◆ getMeasurementDock()

def getMeasurementDock (   self,
  obj,
  w = 400,
  h = 400 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMenu()

def getMenu (   self,
  obj 
)
Here is the call graph for this function:

◆ getObjectWidget()

def getObjectWidget (   self,
  obj 
)
Here is the call graph for this function:

◆ getObjFiles()

def getObjFiles (   self,
  obj 
)
Here is the caller graph for this function:

◆ getScriptCode()

def getScriptCode (   self,
  obj,
  kwargs 
)

◆ init()

def init (   self,
  plugid,
  win,
  mgr 
)
Here is the call graph for this function:

◆ loadObject()

def loadObject (   self,
  filename,
  name = None,
  kwargs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ objectMenuItem()

def objectMenuItem (   self,
  obj,
  item 
)
Here is the caller graph for this function:

◆ removeTrackSource()

def removeTrackSource (   self,
  name_or_func 
)
Remove all tracking sources using the given name or function.

◆ renameObjFiles()

def renameObjFiles (   self,
  obj,
  oldname,
  overwrite = False 
)

◆ saveObject()

def saveObject (   self,
  obj,
  path,
  overwrite = False,
  setFilenames = False,
  kwargs 
)
Here is the caller graph for this function:

◆ updateObjPropBox()

def updateObjPropBox (   self,
  obj,
  prop 
)
Here is the caller graph for this function:

Member Data Documentation

◆ dockmap

dockmap

◆ trackSrcs

trackSrcs

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