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

Public Member Functions

def __init__ (self, parent, reprtype, reprcount, imgmaterial, imgmatrices=[], texformat=TF_RGBA32, useSpecTex=True, kwargs)
 
def isInScene (self)
 
def getParamDefs (self)
 
def getParam (self, name)
 
def setParam (self, name, value)
 
def setTimestep (self, ts)
 
def getCurrentTimestepMaterial (self, chosen=0)
 
def getDefinedTransform (self, chosen=None)
 
def getPlaneIntersects (self, planept, planenorm, transformPlane=False, isXiPoint=False)
 
def getVolumeDims (self)
 
def enumInternalMaterials (self)
 
def setGPUParam (self, name, val, progtype, transformVec=False, rotateVec=False, kwargs)
 
def getPropTuples (self)
 
def removeFromScene (self, scene)
 
def setVisible (self, isVisible)
 
def addToScene (self, scene)
 
def prepareBuffers (self)
 
def update (self, scene)
 
def getNumPlanes (self)
 
def setNumPlanes (self, num)
 
- Public Member Functions inherited from ImageSceneObjectRepr
def __init__ (self, parent, reprtype, reprcount, imgmaterial, imgmatrices=[], texformat=TF_RGBA32, useSpecTex=True)
 
def isTransparent (self)
 
def getTimestepList (self)
 
def getTimestep (self)
 
def getCurrentTimestepIndices (self)
 
def getCurrentTimestepMaterial (self, chosen=None)
 
def getDefinedTransform (self, chosen=None)
 
def getNumStackSlices (self)
 
def useDepthCheck (self, val)
 
def useDepthWrite (self, val)
 
def useTexFiltering (self, val)
 
def usesDepthCheck (self)
 
def usesDepthWrite (self)
 
def usesTexFiltering (self)
 
def useLighting (self, useLight)
 
def getPosition (self, isDerived=False)
 
def getRotation (self, isDerived=False)
 
def getScale (self, isDerived=False)
 
def setPosition (self, pos)
 
def setRotation (self, yaw, pitch, roll)
 
def setScale (self, scale)
 
- Public Member Functions inherited from SceneObjectRepr
def __init__ (self, parent, reprtype, reprcount, matname='Default')
 
def __getattr__ (self, name)
 
def isInScene (self)
 
def getAABB (self, isTransformed=False, isDerived=True, recalculate=False)
 
def calculateAABB (self)
 
def getLabel (self)
 
def getName (self)
 
def setName (self, name)
 
def getDataset (self)
 
def getMaterialName (self)
 
def setTimestep (self, ts)
 
def getTimestep (self)
 
def getTimestepList (self)
 
def getTimestepRange (self)
 
def getTimestepInterval (self)
 
def getTimestepRepr (self, ts=0)
 
def setParent (self, prepr)
 
def getParent (self)
 
def enumChildren (self, allChildren=False)
 
def addChild (self, child)
 
def removeChild (self, child)
 
def enumSubreprs (self)
 
def enumFigures (self)
 
def enumInternalMaterials (self)
 
def addModifier (self, mod)
 
def removeModifier (self, mod)
 
def getParamDefs (self)
 
def getParam (self, name)
 
def setParam (self, name, value)
 
def setGPUParam (self, name, val, progtype, kwargs)
 
def getRayIntersect (self, ray)
 
def getPropTuples (self)
 
def removeFromScene (self, scene)
 
def applySpectrum (self, spec)
 
def createHandles (self, kwargs)
 
def setMaterialName (self, matname)
 
def setVisible (self, isVisible)
 
def isVisible (self)
 
def setTransparent (self, isTrans)
 
def isTransparent (self)
 
def addToScene (self, scene)
 
def prepareBuffers (self)
 
def update (self, scene)
 
def setPosition (self, pos)
 
def getPosition (self, isDerived=False)
 
def setRotation (self, yaw, pitch, roll)
 
def getRotation (self, isDerived=False)
 
def setScale (self, scale)
 
def getScale (self, isDerived=False)
 
def getTransform (self, isDerived=False)
 
def setTransform (self, trans)
 
def __repr__ (self)
 

Public Attributes

 numPlanes
 
 copySpec
 
 figs
 
 figtexbb
 
 figmats
 
 figtextures
 
 figpositions
 
 figorients
 
 figdims
 
 figinds
 
 fighexes
 
 subalphas
 
 timesteplist
 
 reprtype
 
 timestepIndex
 
 timestep
 
 aabb
 
 imgmat
 
- Public Attributes inherited from ImageSceneObjectRepr
 position
 
 scale
 
 rotation
 
 aabb
 
 imgmat
 
 texformat
 
 useSpecTex
 
 mulAlpha
 
 images
 
 imgmatrices
 
 timestep
 
 timestepIndex
 
 timesteplist
 
- Public Attributes inherited from SceneObjectRepr
 parent
 
 plugin
 
 name
 
 matname
 
 reprcount
 
 reprtype
 
 aabb
 
 rparent
 
 children
 

Private Member Functions

def _getInteralFigures (self)
 
def _setFigureTransforms (self)
 

Private Attributes

 _isVisible
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parent,
  reprtype,
  reprcount,
  imgmaterial,
  imgmatrices = [],
  texformat = TF_RGBA32,
  useSpecTex = True,
  kwargs 
)

Member Function Documentation

◆ _getInteralFigures()

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

◆ _setFigureTransforms()

def _setFigureTransforms (   self)
private

◆ addToScene()

def addToScene (   self,
  scene 
)
Here is the call graph for this function:

◆ enumInternalMaterials()

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

◆ getCurrentTimestepMaterial()

def getCurrentTimestepMaterial (   self,
  chosen = 0 
)

◆ getDefinedTransform()

def getDefinedTransform (   self,
  chosen = None 
)
Here is the call graph for this function:

◆ getNumPlanes()

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

◆ getParam()

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

◆ getParamDefs()

def getParamDefs (   self)

◆ getPlaneIntersects()

def getPlaneIntersects (   self,
  planept,
  planenorm,
  transformPlane = False,
  isXiPoint = False 
)

◆ getPropTuples()

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

◆ getVolumeDims()

def getVolumeDims (   self)

◆ isInScene()

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

◆ prepareBuffers()

def prepareBuffers (   self)

◆ removeFromScene()

def removeFromScene (   self,
  scene 
)
Here is the call graph for this function:

◆ setGPUParam()

def setGPUParam (   self,
  name,
  val,
  progtype,
  transformVec = False,
  rotateVec = False,
  kwargs 
)
Here is the call graph for this function:

◆ setNumPlanes()

def setNumPlanes (   self,
  num 
)
Here is the caller graph for this function:

◆ setParam()

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

◆ setTimestep()

def setTimestep (   self,
  ts 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisible()

def setVisible (   self,
  isVisible 
)
Here is the caller graph for this function:

◆ update()

def update (   self,
  scene 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _isVisible

_isVisible
private

◆ aabb

aabb

◆ copySpec

copySpec

◆ figdims

figdims

◆ fighexes

fighexes

◆ figinds

figinds

◆ figmats

figmats

◆ figorients

figorients

◆ figpositions

figpositions

◆ figs

figs

◆ figtexbb

figtexbb

◆ figtextures

figtextures

◆ imgmat

imgmat

◆ numPlanes

numPlanes

◆ reprtype

reprtype

◆ subalphas

subalphas

◆ timestep

timestep

◆ timestepIndex

timestepIndex

◆ timesteplist

timesteplist

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