Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

remove unused classes

edgarriba5834fac1029d
diff --git a/docs/source/conversions.rst b/docs/source/conversions.rst
index bf286a2df..42742d89e 100644
--- a/docs/source/conversions.rst
+++ b/docs/source/conversions.rst
@@ -19,8 +19,3 @@ Conversions
.. autoclass:: ConvertPointsFromHomogeneous
.. autoclass:: ConvertPointsToHomogeneous
.. autoclass:: TransformPoints
-.. autoclass:: AngleAxisToRotationMatrix
-.. autoclass:: RotationMatrixToAngleAxis
-.. autoclass:: RotationMatrixToQuaternion
-.. autoclass:: QuaternionToAngleAxis
-.. autoclass:: RtvecToPose
diff --git a/torchgeometry/conversions.py b/torchgeometry/conversions.py
index 096e9781e..98fba1953 100644
--- a/torchgeometry/conversions.py
+++ b/torchgeometry/conversions.py
@@ -20,11 +20,6 @@ __all__ = [
"ConvertPointsFromHomogeneous",
"ConvertPointsToHomogeneous",
"TransformPoints",
- "AngleAxisToRotationMatrix",
- "RotationMatrixToAngleAxis",
- "RotationMatrixToQuaternion",
- "QuaternionToAngleAxis",
- "RtvecToPose",
]
@@ -555,43 +550,3 @@ class TransformPoints(nn.Module):
def forward(self, points_src):
return transform_points(self.dst_homo_src, points_src)
-
-
-class AngleAxisToRotationMatrix(nn.Module):
- def __init__(self):
- super(AngleAxisToRotationMatrix, self).__init__()
-
- def forward(self, input):
- return angle_axis_to_rotation_matrix(input)
-
-
-class RotationMatrixToAngleAxis(nn.Module):
- def __init__(self):
- super(RotationMatrixToAngleAxis, self).__init__()
-
- def forward(self, input):
- return rotation_matrix_to_angle_axis(input)
-
-
-class RotationMatrixToQuaternion(nn.Module):
- def __init__(self):
- super(RotationMatrixToQuaterion, self).__init__()
-
- def forward(self, input):
- return rotation_matrix_to_quaterion(input)
-
-
-class QuaternionToAngleAxis(nn.Module):
- def __init__(self):
- super(QuaternionToAngleAxis, self).__init__()
-
- def forward(self, input):
- return quaterion_to_angle_axis(input)
-
-
-class RtvecToPose(nn.Module):
- def __init__(self):
- super(RtvecToPose, self).__init__()
-
- def forward(self, input):
- return rtvec_to_pose(input)