| Home | Trees | Indices | Help |
|
|---|
|
|
Common2d3dObject.Common2d3dObject --+
|
Insert2d.Insert2d --+
|
ColorMapLegend
Class for displaying a colormap legend. arguments for the constructor or Set method are: ramp: Numeric array of shape Nx3 or Nx4 (default is RBGRamp()) height: height of colormap legend width: width of colormap legend interp: 1 or 0 to turn color interpolation on and off resp. mini: minimum values (i.e which corresponds to the first color) maxi: maximum values (i.e which corresponds to the last color) If interp is set to 1 QUAD_STRIPS are used and colors are interpolated, else one QUAD is drawn for each entry in the colormap. If the color provide alpha values, a chechered background is drawn.
|
|||
|
__init__(self,
colormapgui,
name='color map legend',
check=1,
**kw) Constructor |
||
|
Set(self,
check=1,
redo=1,
updateOwnGui=True,
**kw) set data for this object: add faces (polygon or lines) to 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 |
||
|
pickDraw(self) called by the picking process to operate the selection |
||
|
setPosition(self,
event,
redo=1) the trackball transmit the translation info |
||
|
setSize(self,
event,
redo=1) override the Insert2d function |
||
| ResetPosition(self) | ||
| respondToDoubleClick(self, event) | ||
| processHit_cb(self, pick) | ||
| createOwnGui(self) | ||
| setWithOwnGui(self, event=None) | ||
| updateOwnGui(self) | ||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
keywords = ['immediateRendering', 'listed', 'name', 'needsRedoD...
|
||
|
glfVectorFontList = ['arial1.glf', 'courier1.glf', 'crystal1.glf', 'tech...
|
||
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
keywordsNone
|
glfVectorFontListNone
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:07:22 2007 | http://epydoc.sourceforge.net |