Skip to content

Commit

Permalink
RF: Uncommented the animation sections and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maharshi-gor committed Dec 18, 2024
1 parent 8df2f94 commit 70584d3
Show file tree
Hide file tree
Showing 4 changed files with 1,525 additions and 1,529 deletions.
48 changes: 24 additions & 24 deletions fury/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__all__ = [
# "actor",
# "actors",
# "animation",
"animation",
"colormap",
# "convert",
"data",
Expand Down Expand Up @@ -37,7 +37,7 @@ __all__ = [

from . import (
# actors,
# animation,
animation,
colormap,
# convert,
data,
Expand Down Expand Up @@ -121,28 +121,28 @@ from . import (
# # main_dir_uncertainty as main_dir_uncertainty,
# # tensor_ellipsoid as tensor_ellipsoid,
# # )
# from .animation import (
# Animation as Animation,
# Timeline as Timeline,
# color_interpolator as color_interpolator,
# cubic_bezier_interpolator as cubic_bezier_interpolator,
# cubic_spline_interpolator as cubic_spline_interpolator,
# euclidean_distances as euclidean_distances,
# get_next_timestamp as get_next_timestamp,
# get_previous_timestamp as get_previous_timestamp,
# get_time_tau as get_time_tau,
# get_timestamps_from_keyframes as get_timestamps_from_keyframes,
# get_values_from_keyframes as get_values_from_keyframes,
# hsv_color_interpolator as hsv_color_interpolator,
# lab_color_interpolator as lab_color_interpolator,
# lerp as lerp,
# linear_interpolator as linear_interpolator,
# slerp as slerp,
# spline_interpolator as spline_interpolator,
# step_interpolator as step_interpolator,
# tan_cubic_spline_interpolator as tan_cubic_spline_interpolator,
# xyz_color_interpolator as xyz_color_interpolator,
# )
from .animation import (
Animation as Animation,
# Timeline as Timeline,
color_interpolator as color_interpolator,
cubic_bezier_interpolator as cubic_bezier_interpolator,
cubic_spline_interpolator as cubic_spline_interpolator,
euclidean_distances as euclidean_distances,
get_next_timestamp as get_next_timestamp,
get_previous_timestamp as get_previous_timestamp,
get_time_tau as get_time_tau,
get_timestamps_from_keyframes as get_timestamps_from_keyframes,
get_values_from_keyframes as get_values_from_keyframes,
hsv_color_interpolator as hsv_color_interpolator,
lab_color_interpolator as lab_color_interpolator,
lerp as lerp,
linear_interpolator as linear_interpolator,
slerp as slerp,
spline_interpolator as spline_interpolator,
step_interpolator as step_interpolator,
tan_cubic_spline_interpolator as tan_cubic_spline_interpolator,
xyz_color_interpolator as xyz_color_interpolator,
)
from .colormap import (
_lab2rgb as _lab2rgb,
_lab2xyz as _lab2xyz,
Expand Down
4 changes: 2 additions & 2 deletions fury/animation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# import lazy_loader as lazy
import lazy_loader as lazy

# __getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
__getattr__, __dir__, __all__ = lazy.attach_stub(__name__, __file__)
98 changes: 49 additions & 49 deletions fury/animation/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
# # This file is used to enable type hinting for the `fury.animation` module.
# # explicit definition of `__all__` will enable type inference for engines.
# This file is used to enable type hinting for the `fury.animation` module.
# explicit definition of `__all__` will enable type inference for engines.

# __all__ = [
# "Animation",
# "CameraAnimation",
# # "Timeline",
# "euclidean_distances",
# "get_next_timestamp",
# "get_previous_timestamp",
# "get_time_tau",
# "get_timestamps_from_keyframes",
# "get_values_from_keyframes",
# "lerp",
# "color_interpolator",
# "cubic_bezier_interpolator",
# "cubic_spline_interpolator",
# "hsv_color_interpolator",
# "lab_color_interpolator",
# "linear_interpolator",
# "slerp",
# "spline_interpolator",
# "step_interpolator",
# "tan_cubic_spline_interpolator",
# "xyz_color_interpolator",
# ]
__all__ = [
"Animation",
"CameraAnimation",
# "Timeline",
"euclidean_distances",
"get_next_timestamp",
"get_previous_timestamp",
"get_time_tau",
"get_timestamps_from_keyframes",
"get_values_from_keyframes",
"lerp",
"color_interpolator",
"cubic_bezier_interpolator",
"cubic_spline_interpolator",
"hsv_color_interpolator",
"lab_color_interpolator",
"linear_interpolator",
"slerp",
"spline_interpolator",
"step_interpolator",
"tan_cubic_spline_interpolator",
"xyz_color_interpolator",
]

# from .animation import Animation, CameraAnimation
# from .helpers import (
# euclidean_distances,
# get_next_timestamp,
# get_previous_timestamp,
# get_time_tau,
# get_timestamps_from_keyframes,
# get_values_from_keyframes,
# lerp,
# )
# from .interpolator import (
# color_interpolator,
# cubic_bezier_interpolator,
# cubic_spline_interpolator,
# hsv_color_interpolator,
# lab_color_interpolator,
# linear_interpolator,
# slerp,
# spline_interpolator,
# step_interpolator,
# tan_cubic_spline_interpolator,
# xyz_color_interpolator,
# )
# # from .timeline import Timeline
from .animation import Animation, CameraAnimation
from .helpers import (
euclidean_distances,
get_next_timestamp,
get_previous_timestamp,
get_time_tau,
get_timestamps_from_keyframes,
get_values_from_keyframes,
lerp,
)
from .interpolator import (
color_interpolator,
cubic_bezier_interpolator,
cubic_spline_interpolator,
hsv_color_interpolator,
lab_color_interpolator,
linear_interpolator,
slerp,
spline_interpolator,
step_interpolator,
tan_cubic_spline_interpolator,
xyz_color_interpolator,
)
# from .timeline import Timeline
Loading

0 comments on commit 70584d3

Please sign in to comment.