Package reflectometry :: Package model1d :: Package profileview :: Module layerInteractor :: Class LayerInteractor

Class LayerInteractor

source code


Abstract base class for the layer interactors.

Layers should define:
set_layer move save restore update
Instance Methods
 
__init__(self, base, axes, layer, par, color='black') source code
 
set_n(self, n) source code
 
BestDepthLayerNum(self, x) source code
 
Artist2Name(self, label) source code
 
updateRhoValue(self, name, event)
Update the rho layer
source code
 
updateMuValue(self, name, event)
Update the mu layer
source code
 
updatePhiValue(self, name, event)
Update the phi layer
source code
 
updateThetaValue(self, name, event)
Update the theta layer
source code
 
IsFlatLayer(self, label) source code
 
getBestCurrLayerNum(self, event) source code
 
setValue(self, event)
Update the layer value
source code
 
showRhoValue(self, event)
Show the rho layer
source code
 
showMuValue(self, event)
show the mu layer
source code
 
showPhiValue(self, event)
show the phi layer
source code
 
showThetaValue(self, event)
show the theta layer
source code
 
showValue(self, event)
Update the layer value
source code
 
get_Marker(self, i) source code

Inherited from site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor: clear_markers, connect_markers, dpixel, move, moveend, onClick, onDrag, onHilite, onKey, onLeave, onRelease, restore, save, updateValue

Method Details

__init__(self, base, axes, layer, par, color='black')
(Constructor)

source code 
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.__init__

BestDepthLayerNum(self, x)

source code 
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.BestDepthLayerNum

Artist2Name(self, label)

source code 
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.Artist2Name

setValue(self, event)

source code 
Update the layer value
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.setValue