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

Public Member Functions

def __init__ (self, name, filename, plugin, kwargs)
 
def getPropTuples (self)
 
def getWidget (self)
 
def get (self, name, default=None)
 
def set (self, name, value)
 
def enumContours (self)
 
def numContours (self)
 
def getContourNames (self)
 
def addContour (self, nodes, name=None, timestep=0)
 
def setContour (self, name, timestep, nodes)
 
def removeContour (self, name)
 
def clearContours (self)
 
def load (self)
 
def save (self)
 
- Public Member Functions inherited from SceneObject
def __init__ (self, name, plugin=None, kwargs)
 
def __getattr__ (self, name)
 
def getLabel (self)
 
def getPropTuples (self)
 
def getName (self)
 
def setName (self, name)
 
def getReprTypes (self)
 
def removeRepr (self, rep)
 
def getDataset (self)
 
def setTimestepList (self, tslist)
 
def setTimestepScheme (self, starttime, interval)
 
def getTimestepList (self)
 
def getTimestepScheme (self)
 
def __repr__ (self)
 

Public Attributes

 filename
 
 datamap
 
 proptuples
 
- Public Attributes inherited from SceneObject
 name
 
 reprs
 
 reprcount
 
 plugin
 
 kwargs
 
 reprtypes
 
 proptuples
 

Private Member Functions

def _updatePropTuples (self)
 

Detailed Description

This represents a segmentation object containing the contours defining the segmentation's shapes. It loads and stores
data from a basic config file which can have any sort of key-value pairs, however each contour's name must start with
"contour_" and be unique.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name,
  filename,
  plugin,
  kwargs 
)

Member Function Documentation

◆ _updatePropTuples()

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

◆ addContour()

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

◆ clearContours()

def clearContours (   self)

◆ enumContours()

def enumContours (   self)
Yields (nodes,name,timestep) tuples for each contour in name order.
Here is the call graph for this function:

◆ get()

def get (   self,
  name,
  default = None 
)
Here is the caller graph for this function:

◆ getContourNames()

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

◆ getPropTuples()

def getPropTuples (   self)

◆ getWidget()

def getWidget (   self)
Get the docked widget for this segmentation, or None if the user hasn't created one.

◆ load()

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

◆ numContours()

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

◆ removeContour()

def removeContour (   self,
  name 
)

◆ save()

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

◆ set()

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

◆ setContour()

def setContour (   self,
  name,
  timestep,
  nodes 
)

Member Data Documentation

◆ datamap

datamap

◆ filename

filename

◆ proptuples

proptuples

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