Package OGL:nodes: cve.render.ogl.node
Import instruction :
import cve.render.ogl.node
Classes
Class | summury |
---|---|
Button | A button is a graphic node acting as a traditional button widget |
ChangeState | A change state button refers other graphic nodes and change their state |
Choice | |
ChoiceButton | |
ColorSelector | A ColorSelector is a graphic node to select color |
Cone | A GRCone is a graphic node visualizing a simple cone |
Cube | A graphic node for a cube between [-1,-1,-1] and [1,1,1] |
CurvedPath | |
Cylinder | A graphic node as a cylinder |
FileSelector | A FileSelector is a graphic node to select a file an path on the local directory. |
Frame | A Frame is a graphic node visualizing a simple Frame with subitems to select axis, rotations, or center. |
Group | A group of OGL Node |
LTItem | |
LayoutXY | |
ListSelector | |
Menu | |
NoteBook | A NoteBook is a graphic node visualizing content depending button selection. |
Numeric | |
OBJPolyhedron | An objpolyhedon merges submeshes associated to various materials |
OGLNode | OGLNode is an abstract class which defines every graphic nodes |
Polyhedron | |
Quad | A flat square face between [-1, -1, 0] and [+1, +1, 0] with a potential texture |
Skeleton | A button is a graphic node acting as a traditional button widget |
Slider | |
Sphere | |
TargetPath | |
Text | A Text is a graphic node visualizing a text which may be editable or not. |
Torus | A graphic node for torus display |
Tree | OGL Tree is a graphic node visualizing a tree of items with icons. |
TreeItem | |
TreeSelector |
Functions
Function | summury |
---|---|
ButtonAppLib(key, label, pull=’button_ok’, push=None) | create a button from the OGLAppImage Library (more…) |
ButtonCancel(key, label) | create a Cancel button (more…) |
ButtonOK(key, label) | create a OK button (more…) |
dump_ltitem(l=[]) |
Functions details
ButtonAppLib
def ButtonAppLib(key, label, pull='button_ok', push=None)
create a button from the OGLAppImage Library
- → the image reference in library
ButtonCancel
def ButtonCancel(key, label)
create a Cancel button
ButtonOK
def ButtonOK(key, label)
create a OK button