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

Public Member Functions

def __init__ (self)
 
def init (self, plugid, win, mgr)
 
def getIcon (self, obj)
 
def getMenu (self, obj)
 
def acceptFile (self, filename)
 
def checkFileOverwrite (self, obj, dirpath, name=None)
 
def objectMenuItem (self, obj, item)
 
def renameObjFiles (self, obj, oldname, overwrite=False)
 
def getObjFiles (self, obj)
 
def copyObjFiles (self, obj, sdir, overwrite=False)
 
def getScriptCode (self, obj, kwargs)
 
def createRepr (self, obj, reprtype, refine=0, kwargs)
 
def createPlotObject (self, filename, name, title, matrix, timesteps, widgettype, srcobject=None, kwargs)
 
def plotSimpleGraph (self, title, values)
 
def plotMatrix (self, mat)
 
def createPlotObjectDock (self, obj, w=400, h=400)
 
def getPlotObjectWidget (self, obj)
 
def loadPlotObject (self, filename, name=None)
 
def loadObject (self, filename, name=None, kwargs)
 
def plotImageMatrix (self, image, title='Image View', width=200, height=200, transpose=True)
 
- 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

 BasePlotWidget
 
 SimpleGraphWidget
 
 TimePlotWidget
 
 RegionPlotWidget
 
 AHAPlotWidget
 
 AHAPoolDockWidget
 
 PoolRegionPlotWidget
 
 AHADockWidget
 
 PoolDockWidget
 
 dockmap
 
- Public Attributes inherited from ScenePlugin
 plugid
 
 win
 
 mgr
 
 name
 

Private Member Functions

def _openFileDialog (self)
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Member Function Documentation

◆ _openFileDialog()

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

◆ acceptFile()

def acceptFile (   self,
  filename 
)
Here is the call graph for this function:

◆ checkFileOverwrite()

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

◆ copyObjFiles()

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

◆ createPlotObject()

def createPlotObject (   self,
  filename,
  name,
  title,
  matrix,
  timesteps,
  widgettype,
  srcobject = None,
  kwargs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createPlotObjectDock()

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

◆ createRepr()

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

◆ getIcon()

def getIcon (   self,
  obj 
)

◆ getMenu()

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

◆ getObjFiles()

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

◆ getPlotObjectWidget()

def getPlotObjectWidget (   self,
  obj 
)
Here is the call graph for this function:
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 caller graph for this function:

◆ loadPlotObject()

def loadPlotObject (   self,
  filename,
  name = None 
)
Deprecated, for compatibility only.
Here is the call graph for this function:

◆ objectMenuItem()

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

◆ plotImageMatrix()

def plotImageMatrix (   self,
  image,
  title = 'Image View',
  width = 200,
  height = 200,
  transpose = True 
)

◆ plotMatrix()

def plotMatrix (   self,
  mat 
)
Plot the RealMatrix `mat' as a graph with the first column containing plotted values. The metadata values
"minx" and "maxx" are used to store integer start and end x-axis values applied as arguments to range() to
produce the x-axis, if these are not present then range(mat.n()) is used instead.
Here is the call graph for this function:

◆ plotSimpleGraph()

def plotSimpleGraph (   self,
  title,
  values 
)
Generate a simple line plot with title `title' and value list/tuple/dict `values'. If a list of values is
provided, these are plotted on x-axis 0 to N for N values and given the name `title'. If a tuple is provided
this should be (x-axis,y-axis) value lists which must have the same length. If a dict is provided this must
map plot names to either list or tuple values as described.

Example:
    p=Plot.plotSimpleGraph('X',{'x1':([0,1],[0,1]),'x2':([0,1],[1,0])})
Here is the call graph for this function:
Here is the caller graph for this function:

◆ renameObjFiles()

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

Member Data Documentation

◆ AHADockWidget

AHADockWidget

◆ AHAPlotWidget

AHAPlotWidget

◆ AHAPoolDockWidget

AHAPoolDockWidget

◆ BasePlotWidget

◆ dockmap

dockmap

◆ PoolDockWidget

PoolDockWidget

◆ PoolRegionPlotWidget

PoolRegionPlotWidget

◆ RegionPlotWidget

◆ SimpleGraphWidget

◆ TimePlotWidget


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