Package reflectometry :: Package model1d :: Package profileview :: Module roughnessInteractor :: Class RoughnessInteractor

Class RoughnessInteractor

source code


Control the roughness of the layers.
Instance Methods
 
__init__(self, base, axes, color='black') source code
 
set_layer(self, n)
Set the layer number
source code
 
update(self)
Draw the new roughness on the graph.
source code
 
clear(self)
clear roughness( line and marker) on the graph.
source code
 
save(self, event)
Remember the roughness for this layer and the next so that we can restore on Esc.
source code
 
moveend(self, event) source code
 
restore(self)
Restore the roughness for this layer.
source code
 
GetMaxRough(self, n)
Get the max rough for layer n
source code
 
move(self, x, y, event)
Process move to a new position, making sure that the move is allowed.
source code
 
getRough(self, n)
Get the rough for layer n
source code
 
setValue(self, event)
Set the rough
source code
 
showValue(self, event)
Show the rough
source code

Inherited from baseInteractor.BaseInteractor: Artist2Name, BestDepthLayerNum, clear_markers, connect_markers, dpixel, onClick, onDrag, onHilite, onKey, onLeave, onRelease, updateValue

Method Details

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

source code 
Overrides: baseInteractor.BaseInteractor.__init__

save(self, event)

source code 
Remember the roughness for this layer and the next so that we can restore on Esc.
Overrides: baseInteractor.BaseInteractor.save

moveend(self, event)

source code 
Overrides: baseInteractor.BaseInteractor.moveend

restore(self)

source code 
Restore the roughness for this layer.
Overrides: baseInteractor.BaseInteractor.restore

move(self, x, y, event)

source code 
Process move to a new position, making sure that the move is allowed.
Overrides: baseInteractor.BaseInteractor.move

setValue(self, event)

source code 

Set the rough

First call move(), so we can directly use the updated data(rough).

Overrides: baseInteractor.BaseInteractor.setValue