csc.layers.CyclesViewer¶
- class csc.layers.CyclesViewer¶
Cycle viewer class. Provides methods for viewing and interacting with cycles within a layer.
- __init__(self: csc.layers.CyclesViewer, layer: csc.layers.Layer) None¶
Methods
__init__(self, layer)any_cycles_exist_in_frames(self, arg0, arg1)Checks if any cycles exist within the specified frames.
cycle_contains_frame_index(self, arg0, arg1)Checks if the cycle contains the specified frame index.
find_cycle(self, arg0)Finds a cycle by the specified position.
get_active_pos(self, arg0)Retrieves the active position of the cycle.
get_active_section_pos(self, arg0)Retrieves the active section position of the cycle.
get_cycles_in_frames(self, arg0, arg1)Retrieves the cycles within the specified frames.
Retrieves the most left and right frame indices of the cycle.
is_pos_in_active_cycle_zone(self, arg0)Checks if the specified position is within the active cycle zone.
is_pos_in_inactive_cycle_zone(self, arg0)Checks if the specified position is within the inactive cycle zone.
last_pos(self)- __annotations__ = {}¶
- __init__(self: csc.layers.CyclesViewer, layer: csc.layers.Layer) None¶
- __module__ = 'csc.layers'¶
- any_cycles_exist_in_frames(self: csc.layers.CyclesViewer, arg0: int, arg1: int) bool¶
Checks if any cycles exist within the specified frames.
- cycle_contains_frame_index(self: csc.layers.CyclesViewer, arg0: csc.layers.Cycle, arg1: int) bool¶
Checks if the cycle contains the specified frame index.
- find_cycle(self: csc.layers.CyclesViewer, arg0: int) object¶
Finds a cycle by the specified position.
- Parameters:
pos (int) – The position to search for.
- Returns:
The found cycle.
- Return type:
- get_active_pos(self: csc.layers.CyclesViewer, arg0: int) int¶
Retrieves the active position of the cycle.
- Returns:
The active position of the cycle.
- Return type:
- get_active_section_pos(self: csc.layers.CyclesViewer, arg0: int) int¶
Retrieves the active section position of the cycle.
- Returns:
The active section position of the cycle.
- Return type:
- get_cycles_in_frames(self: csc.layers.CyclesViewer, arg0: int, arg1: int) list[csc.layers.Cycle]¶
Retrieves the cycles within the specified frames.
- Parameters:
- Returns:
The cycles within the frames.
- Return type:
List[csc.layers.Cycle]
- get_most_left_and_right_frame_indices_of_cycle(self: csc.layers.CyclesViewer, arg0: csc.layers.Cycle) tuple[int, int]¶
Retrieves the most left and right frame indices of the cycle.
- is_pos_in_active_cycle_zone(self: csc.layers.CyclesViewer, arg0: int) bool¶
Checks if the specified position is within the active cycle zone.
- is_pos_in_inactive_cycle_zone(self: csc.layers.CyclesViewer, arg0: int) bool¶
Checks if the specified position is within the inactive cycle zone.
- last_pos(self: csc.layers.CyclesViewer) int¶