omde.povray
index
/usr/local/lib/python2.1/site-packages/omde/povray.py

Currently broken

 
Modules
            
UserList
types

 
Classes
            
Color
Point
Prism
Sphere
UserList.UserList
PovSection

 
class Color
      #---------------------------------------------------------------
# Simple color class with red, green, blue and transparency
#---------------------------------------------------------------
 
  
__init__(self, r=1.0, g=1.0, b=1.0, t=0.0)
__str__(self)
set(self, r=1.0, g=1.0, b=1.0, t=0.0)

 
class Point
      #---------------------------------------------------------------
Point class with rotation, translation, set.
#---------------------------------------------------------------
 
  
__init__(self, x=0.0, y=0.0, z=0.0)
__str__(self)
rotate(self, xy=0.0, xz=0.0, yz=0.0)
set(self, x=0.0, y=0.0, z=0.0)
translate(self, dx=0.0, dy=0.0, dz=0.0)

 
class PovSection(UserList.UserList)
      #---------------------------------------------------------------
# POV Section Class
#---------------------------------------------------------------
 
  
_UserList__cast = __cast(self, other) from UserList.UserList
__add__(self, other) from UserList.UserList
__cmp__(self, other) from UserList.UserList
__contains__(self, item) from UserList.UserList
__delitem__(self, i) from UserList.UserList
__delslice__(self, i, j) from UserList.UserList
__eq__(self, other) from UserList.UserList
__ge__(self, other) from UserList.UserList
__getitem__(self, i) from UserList.UserList
__getslice__(self, i, j) from UserList.UserList
__gt__(self, other) from UserList.UserList
__iadd__(self, other) from UserList.UserList
__imul__(self, n) from UserList.UserList
__init__(self, number, shape, *args)
__le__(self, other) from UserList.UserList
__len__(self) from UserList.UserList
__lt__(self, other) from UserList.UserList
__mul__(self, n) from UserList.UserList
__ne__(self, other) from UserList.UserList
__radd__(self, other) from UserList.UserList
__repr__(self) from UserList.UserList
__rmul__ = __mul__(self, n) from UserList.UserList
__setitem__(self, i, item) from UserList.UserList
__setslice__(self, i, j, other) from UserList.UserList
__str__(self)
append(self, item) from UserList.UserList
count(self, item) from UserList.UserList
extend(self, other) from UserList.UserList
genl(self, l, n, gen)
index(self, item) from UserList.UserList
insert(self, i, item) from UserList.UserList
mirror(self)
#---------------------------------------------------------------
# Reflect the list of objects through x
#---------------------------------------------------------------
pop(self, i=-1) from UserList.UserList
recolor(self, scheme=1, x=1.0)
remove(self, item) from UserList.UserList
reverse(self) from UserList.UserList
sort(self, *args) from UserList.UserList
symmetry(self, n=6)

 
class Prism
      #---------------------------------------------------------------
Prism object
#---------------------------------------------------------------
 
  
__init__(self, x=0.0, y=0.0, z=0.0, h=1.0, c=None)
__str__(self)
dup(self)
locate(self, x, y, z)
paint(self, r=1.0, g=1.0, b=1.0, t=0.0)
reflect(self)
rotate(self, xy)
set_rot(self, xy=0.0, xz=0.0, yz=0.0)

 
class Sphere
      #---------------------------------------------------------------
Sphere class, paint, locate, rotate, duplicate, size, reflect
#---------------------------------------------------------------
 
  
__init__(self, r=1.0, x=0.0, y=0.0, z=0.0, red=1.0, green=1.0, blue=1.0, trans=0.0)
__str__(self)
dup(self)
locate(self, x, y, z)
paint(self, r=1.0, g=1.0, b=1.0, t=0.0)
reflect(self)
rotate(self, rx=0.0, ry=0.0, rz=0.0)
size(self, r=1.0)

 
Functions
            
acos(...)
acos(x)
 
Return the arc cosine of x.
asin(...)
asin(x)
 
Return the arc sine of x.
atan(...)
atan(x)
 
Return the arc tangent of x.
atan2(...)
atan2(y, x)
 
Return atan(y/x).
ceil(...)
ceil(x)
 
Return the ceiling of x as a real.
colorscheme(n=1.0, x=0.0)
#---------------------------------------------------------------
Color scheme
#---------------------------------------------------------------
cos(...)
cos(x)
 
Return the cosine of x.
cosh(...)
cosh(x)
 
Return the hyperbolic cosine of x.
exp(...)
exp(x)
 
Return e raised to the power of x.
fabs(...)
fabs(x)
 
Return the absolute value of the real x.
floor(...)
floor(x)
 
Return the floor of x as a real.
fmod(...)
fmod(x,y)
 
Return fmod(x, y), according to platform C.  x % y may differ.
frexp(...)
frexp(x)
 
Return the mantissa and exponent of x, as pair (m, e).
m is a float and e is an int, such that x = m * 2.**e.
If x is 0, m and e are both 0.  Else 0.5 <= abs(m) < 1.0.
hypot(...)
hypot(x,y)
 
Return the Euclidean distance, sqrt(x*x + y*y).
ldexp(...)
ldexp_doc(x, i)
 
Return x * (2**i).
log(...)
log(x)
 
Return the natural logarithm of x.
log10(...)
log10(x)
 
Return the base-10 logarithm of x.
modf(...)
modf(x)
 
Return the fractional and integer parts of x. Both results carry the sign
of x.  The integer part is returned as a real.
pow(...)
pow(x,y)
 
Return x**y.
sin(...)
sin(x)
 
Return the sine of x.
sinh(...)
sinh(x)
 
Return the hyperbolic sine of x.
sqrt(...)
sqrt(x)
 
Return the square root of x.
tan(...)
tan(x)
 
Return the tangent of x.
tanh(...)
tanh(x)
 
Return the hyperbolic tangent of x.

 
Data
             __file__ = '/usr/local/lib/python2.1/site-packages/omde/povray.pyc'
__name__ = 'omde.povray'
e = 2.7182818284590451
pi = 3.1415926535897931