schrodinger.maestro_utils.surface_manager.surface_item module

class schrodinger.maestro_utils.surface_manager.surface_item.SurfaceNodeType

Bases: Enum

Enum for the type of SurfaceNode.

SURFACE_NODE = 0
ENTRY_NODE = 1
class schrodinger.maestro_utils.surface_manager.surface_item.SurfaceItem

Bases: TreeItem

Subclass of maestro_ui.maestro.TreeItem.

__init__()

Constructor for SurfaceItem.

getItemsToSelect() list[PyQt6.QtGui.QStandardItem]

Returns the items to select.

rowItems() list[PyQt6.QtGui.QStandardItem]

Returns the row items.

getEntryID() int

Returns the entry ID associated with this item.

class schrodinger.maestro_utils.surface_manager.surface_item.SurfaceNodeItem(surface: ProjectSurface, entry_id: int)

Bases: SurfaceItem

Subclass of SurfaceItem for SurfaceNode.

__init__(surface: ProjectSurface, entry_id: int)

Constructor for SurfaceNodeItem.

Parameters:
  • surface – The surface.

  • entry_id – The entry ID associated with this surface.

isVolumeBased() bool

Returns True if the surface is volume-based.

getVolumeVisibilty() bool

Returns the visibility of the volume.

getVolumeName() str

Returns the name of the volume.

getSurfaceObject() ProjectSurface

Returns the surface object associated with this item.

getItemType() SurfaceNodeType

Returns the type of the item.

class schrodinger.maestro_utils.surface_manager.surface_item.EntryNodeItem(entry_row: ProjectRow)

Bases: SurfaceItem

Subclass of SurfaceItem for EntryNode.

__init__(entry_row: ProjectRow)

Constructor for EntryNodeItem.

Parameters:

entry_row – The entry row.

getItemType() SurfaceNodeType

Returns the type of the item.

updateText()

Updates the text.