Eidolon
Classes | Functions | Variables
eidolon.plugins.X4DFPlugin Namespace Reference

Classes

class  TestX4DFPlugin
 
class  X4DFPlugin
 

Functions

def shapeStr (arr)
 
def array2MatrixForm (arr, dtype)
 
def convertMesh (obj, arrayformat=ASCII, filenamePrefix=None)
 
def convertImage (obj, plugin, arrayformat=ASCII, datatype='f4', filenamePrefix=None)
 
def importMeshes (x4)
 
def importImages (x4, plugin)
 

Variables

 ConfigArgs
 

Function Documentation

◆ array2MatrixForm()

def eidolon.plugins.X4DFPlugin.array2MatrixForm (   arr,
  dtype 
)
Return the equivalent of `arr' with a 2D shape and with the given type.
Here is the caller graph for this function:

◆ convertImage()

def eidolon.plugins.X4DFPlugin.convertImage (   obj,
  plugin,
  arrayformat = ASCII,
  datatype = 'f4',
  filenamePrefix = None 
)
Convert the ImageSceneObject `obj' into a x4df structure. The arrays are all formatted the same using `arrayformat'
and are stored in files whose names begin with `filenamePrefix' if this is given, otherwise they are stored in the 
XML document. If the format is binary and `filenamePrefix' is not given, the name of `obj' is used instead. The 
`plugin' value should be an ImageScenePlugin instance used to generate an object array from obj, typically this is
`obj.plugin' but doesn't have to be. The return value is a single x4df object containing a single mesh.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convertMesh()

def eidolon.plugins.X4DFPlugin.convertMesh (   obj,
  arrayformat = ASCII,
  filenamePrefix = None 
)
Convert the MeshSceneObject `obj' into a x4df structure. The arrays are all formatted the same using `arrayformat'
and are stored in files whose names begin with `filenamePrefix' if this is given, otherwise they are stored in the 
XML document. If the format is binary and `filenamePrefix' is not given, the name of `obj' is used instead. The
return value is a single x4df object containing a single mesh.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ importImages()

def eidolon.plugins.X4DFPlugin.importImages (   x4,
  plugin 
)
Import images from the X4DF object `x4', returning a list of ImageSceneObject instances. The `plugin' must be an
ImageScenePlugin instance used to create the objects.
Here is the call graph for this function:

◆ importMeshes()

def eidolon.plugins.X4DFPlugin.importMeshes (   x4)
Import meshes from the X4DF object `x4', returning a list of MeshSceneObject instances.
Here is the call graph for this function:

◆ shapeStr()

def eidolon.plugins.X4DFPlugin.shapeStr (   arr)
Here is the caller graph for this function:

Variable Documentation

◆ ConfigArgs

ConfigArgs