1. pyro.gui.renderer.Renderer
abstract interface for all things Renderable.
In File: pyrobot/gui/renderer/init.py
Every method in this class is abstract
- pyro.gui.renderer.Renderer
- Constructor()
- External Functions
- xformPush(dummy)
- xformPop()
- xformRotate((qty, pt))
- xformXlate((pt))
- xformScale((scale))
- setLocation(x, y, z, theta)
- color((color))
- ray((pta, ptb, arc))
- line((pta, ptb))
- circle((pt, norm, radius))
- triangle((pta, ptb, ptc))
- text((str))
- rectangle((pta, ptb, ptc))
- box((pta, ptb, ptc, ptd))
- tourus((ir, ora, n, r))
- polygon(*args)
- clearState(dummy)
- clearColor(color)
1.1. Constructor()
No Docstring
1.2. External Functions
1.2.1. xformPush(dummy)
No Docstring
Arguments:
-
dummy: ?
1.2.2. xformPop()
No Docstring
1.2.3. xformRotate((qty, pt))
No Docstring
Arguments:
-
2-tuple:
-
qty: Amount to rotate
-
pt: 3-tuple, point (axis?) about which to rotate
1.2.4. xformXlate((pt))
No Docstring
Arguments:
-
(pt): 3-tuple, vector to translate by
1.2.5. xformScale((scale))
No Docstring
Arguments:
-
(scale): ?
1.2.6. setLocation(x, y, z, theta)
No Docstring
Arguments:
-
x: x-position
-
y: y-position
-
z: z-position
-
theta: angle to face
1.2.7. color((color))
No Docstring
Arguments:
-
(color): 3-tuple, RGB value
1.2.8. ray((pta, ptb, arc))
No Docstring
Arguments:
-
3-tuple
-
pta: 3-tuple, origin point
-
ptb: 3-tuple, end point
-
arc: ?
1.2.9. line((pta, ptb))
No Docstring
Arguments:
-
3-tuple
-
pta: 3-tuple, origin point
-
ptb: 3-tuple, end point
1.2.10. circle((pt, norm, radius))
No Docstring
Arguments:
-
3-tuple
-
pt: 3-tuple, origin point
-
norm: ? (a normal vector? line?)
-
radius: float, radius
1.2.11. triangle((pta, ptb, ptc))
No Docstring
Arguments:
-
3-tuple
-
pta: 3-tuple, 1st point
-
ptb: 3-tuple, 2nd point
-
ptc: 3-tuple, 3rd point
1.2.12. text((str))
No Docstring
Arguments:
-
str: string (why the parens?)
1.2.13. rectangle((pta, ptb, ptc))
No Docstring
No Docstring
Arguments:
-
3-tuple
-
pta: 3-tuple, 1st point
-
ptb: 3-tuple, 2nd point
-
ptc: 3-tuple, 3rd point
1.2.14. box((pta, ptb, ptc, ptd))
No Docstring
Arguments:
-
4-tuple
-
pta: 3-tuple, 1st point
-
ptb: 3-tuple, 2nd point
-
ptc: 3-tuple, 3rd point
-
ptd: 3-tuple, 4th point
I think the fourth point is supposed to be on a line perpendicular to the plane formed by the first three, and running through ptc.
1.2.15. tourus((ir, ora, n, r))
No Docstring
Arguments:
-
4-tuple
-
ir: ?
-
ora: ?
-
n: ?
-
r: ?
1.2.16. polygon(*args)
No Docstring
Arguments:
-
*args: As many 3-tuple points as needed to define the polygon
1.2.17. clearState(dummy)
No Docstring
Arguments:
-
dummy: ?
1.2.18. clearColor(color)
No Docstring
Arguments:
-
color: ?
