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

Public Member Functions

def __init__ (self, name)
 
def getScriptCode (self, obj, kwargs)
 
def getIcon (self, obj)
 
def getObjFiles (self, obj)
 
def updateObjPropBox (self, obj, prop)
 
def updateReprPropBox (self, rep, prop)
 
def createObjPropBox (self, obj)
 
def updateReprParamPanel (self, obj, panel, name, val)
 
def createReprPropBox (self, rep)
 
def calculateExtAdj (self, obj, task)
 
def createReprDataset (self, dataset, reprtype, name, refine, externalOnly, task, kwargs)
 
def createRepr (self, obj, reprtype, refine=0, drawInternal=False, externalOnly=True, matname='Default', kwargs)
 
def loadDataField (self, obj, args, kwargs)
 
def getReprParams (self, obj, reprtype)
 
def getReprTypes (self, obj)
 
def getMenu (self, obj)
 
def objectMenuItem (self, obj, item)
 
def applyMaterial (self, rep, mat, kwargs)
 
- 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)
 

Private Member Functions

def _updateMinMaxPropFields (self, rep, prop, recalcMinMax=True)
 
def _setParamPanel (self, obj, prop)
 
def _getUIReprParams (self, obj, prop)
 
def _setReprInternalCheckbox (self, rep)
 

Additional Inherited Members

- Public Attributes inherited from ScenePlugin
 plugid
 
 win
 
 mgr
 
 name
 

Detailed Description

Base plugin for all mesh scene object types. This isn't useful for image-based types because the algorithms are
focused on doing mesh operations needed to create representations.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name 
)

Member Function Documentation

◆ _getUIReprParams()

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

◆ _setParamPanel()

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

◆ _setReprInternalCheckbox()

def _setReprInternalCheckbox (   self,
  rep 
)
private
Here is the caller graph for this function:

◆ _updateMinMaxPropFields()

def _updateMinMaxPropFields (   self,
  rep,
  prop,
  recalcMinMax = True 
)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ applyMaterial()

def applyMaterial (   self,
  rep,
  mat,
  kwargs 
)
Here is the call graph for this function:

◆ calculateExtAdj()

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

◆ createObjPropBox()

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

◆ createRepr()

def createRepr (   self,
  obj,
  reprtype,
  refine = 0,
  drawInternal = False,
  externalOnly = True,
  matname = 'Default',
  kwargs 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createReprDataset()

def createReprDataset (   self,
  dataset,
  reprtype,
  name,
  refine,
  externalOnly,
  task,
  kwargs 
)
Creates a representation dataset using the algorithm defined in ReprType by default. If another algorithm
routine is provided as a keyword argument 'algorithm', this will be used instead. This algorithm must adhere
to the protocol defined in MeshAlgorithms.
Here is the caller graph for this function:

◆ createReprPropBox()

def createReprPropBox (   self,
  rep 
)
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 
)
By default there is no way to save a mesh but they are savable so return [] instead of None.

◆ getReprParams()

def getReprParams (   self,
  obj,
  reprtype 
)

◆ getReprTypes()

def getReprTypes (   self,
  obj 
)

◆ getScriptCode()

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

◆ loadDataField()

def loadDataField (   self,
  obj,
  args,
  kwargs 
)
Loads a data field for the given 'obj' SceneObject instance. This is typically called by the method of 'obj'
of the same name rather than directly. This returns a Future which will contain the loaded data field. The
stated arguments for this method may change in derived plugin definitions.

◆ objectMenuItem()

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

◆ updateObjPropBox()

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

◆ updateReprParamPanel()

def updateReprParamPanel (   self,
  obj,
  panel,
  name,
  val 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateReprPropBox()

def updateReprPropBox (   self,
  rep,
  prop 
)
Here is the call graph for this function:

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