Skip to content

Commit

Permalink
Update python stub
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Dec 3, 2024
1 parent a7702e0 commit f9e3ef6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/stubs-out/mrpt/pymrpt/mrpt/gui.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ class CGlCanvasBase:
cameraPointingX: float
cameraPointingY: float
cameraPointingZ: float
cameraRollDeg: float
cameraZoomDistance: float
@overload
def __init__(self) -> None: ...
Expand Down Expand Up @@ -613,6 +614,10 @@ class CGlCanvasBase:
def getOpenGLSceneRef(self, *args, **kwargs) -> Any: ...
def getRefCameraParams(self, *args, **kwargs) -> Any: ...
@overload
def getRollDegrees(self) -> float: ...
@overload
def getRollDegrees() -> float: ...
@overload
def getUseCameraFromScene(self) -> bool: ...
@overload
def getUseCameraFromScene() -> bool: ...
Expand Down Expand Up @@ -675,6 +680,10 @@ class CGlCanvasBase:
def updateLastPos(self, x: int, y: int) -> None: ...
def updateOrbitCamera(self, params, x: int, y: int) -> None: ...
def updatePan(self, params, x: int, y: int) -> None: ...
@overload
def updateRoll(self, params, x: int, y: int) -> None: ...
@overload
def updateRoll(self, params, x: int, y: int, scale: float) -> None: ...
def updateRotate(self, params, x: int, y: int) -> None: ...
@overload
def updateZoom(self, params, x: int, y: int) -> None: ...
Expand Down
10 changes: 10 additions & 0 deletions python/stubs-out/mrpt/pymrpt/mrpt/opengl/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,10 @@ class CCamera(CRenderizable):
@overload
def getProjectiveFOVdeg() -> float: ...
@overload
def getRollDegrees(self) -> float: ...
@overload
def getRollDegrees() -> float: ...
@overload
def getZoomDistance(self) -> float: ...
@overload
def getZoomDistance() -> float: ...
Expand Down Expand Up @@ -631,6 +635,10 @@ class CCamera(CRenderizable):
@overload
def setProjectiveModel(bool) -> void: ...
@overload
def setRollDegrees(self, ang: float) -> None: ...
@overload
def setRollDegrees(float) -> void: ...
@overload
def setZoomDistance(self, z: float) -> None: ...
@overload
def setZoomDistance(float) -> void: ...
Expand Down Expand Up @@ -3693,6 +3701,7 @@ class TRenderMatrices:
pinhole_model: Optional[mrpt.pymrpt.mrpt.img.TCamera]
pmv_matrix: Any
pointing: Any
roll: float
up: Any
v_matrix: Any
v_matrix_no_translation: Any
Expand Down Expand Up @@ -3799,6 +3808,7 @@ class TTriangle:

class Texture:
class Options:
autoScale16to8bitConversion: bool
enableTransparency: bool
generateMipMaps: bool
magnifyLinearFilter: bool
Expand Down

0 comments on commit f9e3ef6

Please sign in to comment.