|
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) |
|
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) |
|
def getCurrentTimestepMaterial |
( |
|
self, |
|
|
|
chosen = None |
|
) |
| |
Get the material for the chose image component of the current timestep. The component is either an image plane
in the stack of the current timestep, in which case the material is the one applied to that image's quad in the
representation, or a vlume in the current timestep, in which case the material is the one applied to the volume
object. If `chosen' is None, then an internal criteria can be use to select the component, ie. choose the first.
def getDefinedTransform |
( |
|
self, |
|
|
|
chosen = None |
|
) |
| |
Get the transform representing the chosen image component of the current timestep. The component is either an
image plane in the stack of the current timestep, in which case the transform defines this plane in space, or
a volume of the current timestep, in which case the transform defines this volume in space. If `chosen'
is None, then an internal criteria can be use to select the component, ie. choose the first.