Package parasol :: Module POV_Items :: Class DeclaredItem
[hide private]
[frames] | no frames]

Class DeclaredItem

source code


Will get a #declare statement in the POV file

Instance Methods [hide private]
 
__init__(self, name='myItem', itemList=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
positionStr(self) source code
 
pointAlign(self, face='-x', pointL=[0, 1, 0]) source code
 
center(self, axes='x+y') source code
 
alignAxes(self, axis1L=[0, 1, 0], axis2L=[1, 1, 1]) source code
 
axisRotate(self, vectL=[1, 1, 1], degrees=45) source code
 
pointRotate(self, rotL=[0, 45, 0], pointL=[1, 1, 1]) source code
 
translate(self, vectL=[1, 1, 1]) source code
 
rotate(self, vectL=[0, 20, 0]) source code
 
scale(self, scaleL=[2, 2, 2]) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name='myItem', itemList=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)