Eidolon
|
Public Member Functions | |
def | __init__ (self, parent=None) |
def | fillSecondsMenu (self, seconds) |
def | mouseWheelMove (self, e) |
def | setSourceName (self, name) |
def | setPlaneName (self, plane) |
def | setSliceWidth (self, width) |
def | setLineWidth (self, width) |
def | setSecondary (self, name, isVisible) |
def | setImageStackMax (self, maxval) |
def | setPlaneBoxVisible (self, vis) |
def | setImageStackPosition (self, val) |
def | getImageStackPosition (self) |
def | getImageStackMax (self) |
def | setLeftSideVisible (self, isVisible) |
def | isLeftSideVisible (self) |
Public Attributes | |
secondsSelected | |
secondsMenu | |
UI class derived from the generated form, it defines callbacks for UI operations and connects appropriate sockets. This class implements UI behaviour only and is meant to be used with Base2DWidget in a subtype which inherits both. The methods setSourceName() and setPlaneName() must be overriddent.
def __init__ | ( | self, | |
parent = None |
|||
) |
def fillSecondsMenu | ( | self, | |
seconds | |||
) |
Fill the selection menu with the list of named secondary objects `seconds.
def getImageStackMax | ( | self | ) |
Get the maximum stack index.
def getImageStackPosition | ( | self | ) |
Get the index in the image stack of the source object.
def isLeftSideVisible | ( | self | ) |
def mouseWheelMove | ( | self, | |
e | |||
) |
Move through the image stack when the mouse wheel moves with the cursor over the 2D drawing widget.
def setImageStackMax | ( | self, | |
maxval | |||
) |
Set the maximum stack index to `maxval' and update the UI, passing a value of 0 hides the image slider UI.
def setImageStackPosition | ( | self, | |
val | |||
) |
Set the position index within the image stack of the source object to `val', callable by clients or through the UI but must be called in the main thread.
def setLeftSideVisible | ( | self, | |
isVisible | |||
) |
def setLineWidth | ( | self, | |
width | |||
) |
Set the width of drawn lines representing sliced geometry, callable by clients or through the UI.
def setPlaneBoxVisible | ( | self, | |
vis | |||
) |
Set the visibility of the plane indicator UI.
def setPlaneName | ( | self, | |
plane | |||
) |
Called when the view plane's name has been set to `plane', in which case the view should be moved. This can be called by clients of this object or through user action by changing the index of self.planeBox.
def setSecondary | ( | self, | |
name, | |||
isVisible | |||
) |
Set the visibility of the secondary object named by `name' to `isVisible'. This can be called by clients of the object or through user action by changing the selections in self.secondsMenu.
def setSliceWidth | ( | self, | |
width | |||
) |
Set the width of slices viewed at oblique angles, callable by clients or through the UI.
def setSourceName | ( | self, | |
name | |||
) |
Called when the source object's name has been set to `name', in which case the source data should be changed. This can be called by clients of this object or through user action by changing the index of self.sourceBox.
secondsMenu |
secondsSelected |