class documentation
Wire_Widget class.
Method | __init__ |
Populates the widget. |
Method | clear |
Clears the rotational symmetry values. |
Method | clear |
Clears the stretch values. |
Method | on |
Gets called after a table cell has been edited. |
Method | on |
Gets called after a row has been added to the table. |
Method | on |
Gets called after a row has been deleted from the table. |
Method | reload |
Reloads the widget. |
Method | set |
Handles changes to rotational symmetry transform parameters. |
Method | set |
Handles changes to stretch transform parameters. |
Method | set |
Sets the wire. This will overwrite the currently set wire in the model. Any underscored parameter may be left set to None in order to load its default value. |
Method | update |
Updates the widget. |
Method | update |
Updates the controls. |
Method | update |
Updates the labels. |
Method | update |
Updates the rotational symmetry controls. |
Method | update |
Updates the stretch controls. |
Method | update |
Populates the table. |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Class Variable |
|
Undocumented |
Instance Variable | close |
Undocumented |
Instance Variable | dc |
Undocumented |
Instance Variable | gui |
Undocumented |
Instance Variable | rotational |
Undocumented |
Instance Variable | rotational |
Undocumented |
Instance Variable | rotational |
Undocumented |
Instance Variable | rotational |
Undocumented |
Instance Variable | sliced |
Undocumented |
Instance Variable | slicer |
Undocumented |
Instance Variable | stretch |
Undocumented |
Instance Variable | table |
Undocumented |
Instance Variable | table |
Undocumented |
Instance Variable | transformed |
Undocumented |
Inherited from QGroupBox2
:
Method | set |
Sets the style and label color of the groupbox. |
Inherited from QLayouted
(via QGroupBox2
):
Method | add |
Adds buttons. |
Method | add |
Adds layout. |
Method | add |
Adds spacing. |
Method | add |
Adds widget. |
Method | install |
Installs this layout in the parent. |
Instance Variable | _layout |
Undocumented |
Gets called after a table cell has been edited.
Parameters | |
value:float | Cell value |
row:int | Row index |
column:int | Column index |
def set_wire(self, _points_:
list | np.ndarray | None
= None, _stretch_: list | None
= None, _rotational_symmetry_: dict | None
= None, _close_loop_: bool | None
= None, _slicer_limit_: float | None
= None, _dc_: float | None
= None, invalidate: bool
= True, recalculate: bool
= True, readjust_sampling_volume: bool
= True):
¶
Sets the wire. This will overwrite the currently set wire in the model. Any underscored parameter may be left set to None in order to load its default value.
Note: Currently, only `stretch` and `rotational symmetry` controls are automatically updated by this function.
Parameters | |
_points_:list | np.ndarray | None | Points (List of 3D points) |
_stretch_:list | None | XYZ stretch transform factors (3D point) |
_rotationaldict | None | Dictionary for rotational symmetry transform |
_closebool | None | Enable to transform the wire into a closed loop (append first point) |
_slicerfloat | None | Slicer limit |
_dc_:float | None | DC value |
invalidate:bool | Enable to invalidate this model hierarchy level |
recalculate:bool | Enable to trigger final recalculation |
readjustbool | Enable to readjust sampling volume |