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

Class StickImage

source code

Common2d3dObject.Common2d3dObject --+    
                                    |    
                    Insert2d.Insert2d --+
                                        |
                                       StickImage

Instance Methods [hide private]
  __init__(self, name='StickImage', 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
  Draw(self)
set the projection matrices, the subclass must call this in their Draw func, otherwise tile rendering and stereo won't work
  setSize(self, event, redo=1)
the trackball transmit the translation info

Inherited from Insert2d.Insert2d: ResetPosition, ResetSize, ResetTransformation, calculateAnchorAndPosition, getState, pickDraw, processHit_cb, respondToDoubleClick, respondToMouseMove, setPosition, 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...

Method Details [hide private]

__init__(self, name='StickImage', 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

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)

setSize(self, event, redo=1)

source code 
the trackball transmit the translation info
Overrides: Insert2d.Insert2d.setSize

Class Variable Details [hide private]

keywords

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