Eidolon
Classes | Functions | Variables
eidolon.ScenePlugin Namespace Reference

Classes

class  CombinedScenePlugin
 
class  ImageScenePlugin
 
class  MeshScenePlugin
 
class  PluginError
 
class  ScenePlugin
 

Functions

def getReprTypeFromStrBox (strbox)
 
def delegatedmethod (meth)
 

Variables

 ctImageRange
 

Function Documentation

◆ delegatedmethod()

def eidolon.ScenePlugin.delegatedmethod (   meth)
Decorator for marking plugin methods as callable from scene objects or representations associated with that plugin.
The method should accept an scene object/representation as its first argument after self. When the method is called
with the scene object/representation as the receiver, a proxy callable is returned which places the receiver as the
first argument followed by whatever other arguments are given. This allows calls of the form obj.plugin.foo(obj,...)
to be replaced with obj.foo(...). Decorated methods have a new member '__isdelegatedmethod__' containing True. An
overridden method will still be treated as a delegated method even if it does not have this decorator applied.

◆ getReprTypeFromStrBox()

def eidolon.ScenePlugin.getReprTypeFromStrBox (   strbox)
Returns the ReprType name for the representation description found in `strbox', which is either a str object or an
object with a currentText() method which returns one (ie. a QComboBox).
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ctImageRange

ctImageRange