Debian Codegraph @

src/Gui/AxisOrigin.pyi

raw
1 from Base.Metadata import export, constmethod
2 from Base.BaseClass import BaseClass
3 from typing import Any, Final, Tuple, Dict
4
5 @export(
6 Constructor=True,
7 Delete=True,
8 )
9 class AxisOrigin(BaseClass):
10 """
11 Gui.AxisOrigin class.
12
13 Class for creating a Coin3D representation of a coordinate system.
14
15 Author: Zheng, Lei ([email protected])
16 Licence: LGPL
17 """
18
19 @constmethod
20 def getElementPicked(self, pickedPoint: Any) -> str:
21 """
22 getElementPicked(pickedPoint) -> str
23
24 Returns the picked element name.
25
26 pickedPoint : coin.SoPickedPoint
27 """
28 ...
29
30 @constmethod
31 def getDetailPath(self, subname: str, path: Any) -> Any:
32 """
33 getDetailPath(subname, path) -> coin.SoDetail or None
34
35 Returns Coin detail of a subelement.
36 Note: Not fully implemented. Currently only returns None.
37
38 subname : str
39 String reference to the subelement.
40 path: coin.SoPath
41 Output Coin path leading to the returned element detail.
42 """
43 ...
44 AxisLength: float = 0.0
45 """Get/set the axis length."""
46
47 LineWidth: float = 0.0
48 """Get/set the axis line width for rendering."""
49
50 PointSize: float = 0.0
51 """Get/set the origin point size for rendering."""
52
53 Scale: float = 0.0
54 """Get/set auto scaling factor, 0 to disable."""
55
56 Plane: Tuple[Any, ...] = ()
57 """Get/set axis plane size and distance to axis line."""
58
59 Labels: Dict[str, str] = {}
60 """
61 Get/set axis component names as a dictionary.
62 Available keys are:
63 'O': origin
64 'X': x axis
65 'Y': y axis
66 'Z': z axis
67 'XY': xy plane
68 'XZ': xz plane
69 'YZ': yz plane
70 """
71
72 Node: Final[Any] = ...
73 """Get the Coin3D node."""