Package PyFoam :: Package Paraview :: Module SimpleSources :: Class Text
[hide private]
[frames] | no frames]

Class Text

source code

           object --+        
                    |        
SourceBase.SourceBase --+    
                        |    
             SimpleSource --+
                            |
                           Text

Displays a Vector-Text

Instance Methods [hide private]
 
__init__(self, name, text, scale=1, position=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from SimpleSource: __del__, unregister

Inherited from SourceBase.SourceBase: characteristicLength, getBounds, getCenter, getExtent, getMax, getMin, makeVector

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, text, scale=1, position=None)
(Constructor)

source code 

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

Parameters:
  • name - name under which the sphere should be displayed
  • text - the text that will be displayed
  • scale - the scaling of the text (in terms ofcharacterist length of the geometry
  • position - the actual position at which the object should be centered
Overrides: object.__init__