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

Class TetheredPolymerInteractor

source code


Interactor for TetheredPolymer to handle bspline control points.

For TetheredPolymer layer, we use "circle" marker

Instance Methods
 
Artist2Name(self, label) source code
 
setValue(self, event)
Update the layer value
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
 
getMarkerSize(self) source code
 
set_layer(self, n)
Setup the widgets required to edit layer n.
source code
 
update(self)
Draw the widgets in their new positions.
source code
 
move(self, x, y, evt)
Update the model with the new widget position.
source code
 
save(self, evt)
Save the current state of the model represented by the widget.
source code
 
restore(self)
Restore the widget and model to the saved state.
source code

Inherited from LayerInteractor: BestDepthLayerNum, IsFlatLayer, __init__, getBestCurrLayerNum, get_Marker, set_n, showMuValue, showPhiValue, showRhoValue, showThetaValue, showValue

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

Method Details

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

updateRhoValue(self, name, event)

source code 
Update the rho layer
Overrides: LayerInteractor.updateRhoValue

updateMuValue(self, name, event)

source code 
Update the mu layer
Overrides: LayerInteractor.updateMuValue

updatePhiValue(self, name, event)

source code 
Update the phi layer
Overrides: LayerInteractor.updatePhiValue

updateThetaValue(self, name, event)

source code 
Update the theta layer
Overrides: LayerInteractor.updateThetaValue

move(self, x, y, evt)

source code 
Update the model with the new widget position.
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.move

save(self, evt)

source code 
Save the current state of the model represented by the widget.
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.save

restore(self)

source code 
Restore the widget and model to the saved state.
Overrides: site-packages.reflectometry.model1d.profileview.baseInteractor.BaseInteractor.restore