Package DejaVu :: Module glfSticker :: Class Sticker
[hide private]
[frames] | no frames]

Class Sticker

source code

Common2d3dObject.Common2d3dObject --+    
                                    |    
                    Insert2d.Insert2d --+
                                        |
                                       Sticker

Instance Methods [hide private]
  __init__(self, name='sticker', check=1, **kw)
Constructor
  Set(self, check=1, redo=1, updateOwnGui=True, **kw)
set data for this object: check=1 : verify that all the keywords present can be handle by this func redo=1 : append self to viewer.objectsNeedingRedo updateOwnGui=True : allow to update owngui at the end this func
  calculateSize(self)
  drawSticker(self, lLabelbounds)
  Draw(self)
set the projection matrices, the subclass must call this in their Draw func, otherwise tile rendering and stereo won't work

Inherited from Insert2d.Insert2d: ResetPosition, ResetSize, ResetTransformation, calculateAnchorAndPosition, getState, pickDraw, processHit_cb, respondToDoubleClick, respondToMouseMove, setPosition, setSize, setViewer

Inherited from Common2d3dObject.Common2d3dObject: AllObjects, AllVisibleObjects, BuildFullName, DisplayFunction, LastParentBeforeRoot, RedoDisplayList, deleteOpenglList, getDepthMask, getVisible, hideOwnGui, showOwnGui

Inherited from Common2d3dObject.Common2d3dObject (private): _Hide, _Remove


Class Variables [hide private]
  keywords = ['immediateRendering', 'listed', 'name', 'needsRedoD...
  glfVectorFontList = ['arial1.glf', 'courier1.glf', 'crystal1.glf', 'tech...

Method Details [hide private]

__init__(self, name='sticker', check=1, **kw)
(Constructor)

source code 
Constructor
Overrides: Insert2d.Insert2d.__init__

Set(self, check=1, redo=1, updateOwnGui=True, **kw)

source code 
set data for this object: check=1 : verify that all the keywords present can be handle by this func redo=1 : append self to viewer.objectsNeedingRedo updateOwnGui=True : allow to update owngui at the end this func
Overrides: Insert2d.Insert2d.Set

calculateSize(self)

source code 
None

drawSticker(self, lLabelbounds)

source code 
None

Draw(self)

source code 
set the projection matrices, the subclass must call this in their Draw func, otherwise tile rendering and stereo won't work
Overrides: Insert2d.Insert2d.Draw
(inherited documentation)

Class Variable Details [hide private]

keywords

None
Value:
['immediateRendering',
 'listed',
 'name',
 'needsRedoDpyListOnResize',
 'pickable',
 'protected',
 'replace',
 'tagModified',
...                                                                    
      

glfVectorFontList

None
Value:
['arial1.glf',
 'courier1.glf',
 'crystal1.glf',
 'techno0.glf',
 'techno1.glf',
 'times_new1.glf',
 'aksent1.glf',
 'alpine1.glf',
...