Module Expr Str TryExcept body ImportFrom alias Expr Call NameLoad Str Num Expr Call NameLoad Str Num handlers ExceptHandler type NameLoad body Pass ImportFrom alias alias Import alias Import alias identifier ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias identifier ImportFrom alias identifier Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num ListLoad TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num ListLoad TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num ListLoad TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num TupleLoad Str Num Num Str Num Assign NameStore Str Assign NameStore Str Assign NameStore TupleLoad Num Num Num Num ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr Num TupleLoad Str AttributeLoad NameLoad attr Num TupleLoad Str AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign SubscriptStore SubscriptLoad NameLoad Slice Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Slice Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Slice Index Str NameLoad Return TupleLoad NameLoad Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad For TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Str SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore ListLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameStore NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpDiv NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Num Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpDiv Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr TupleLoad Num Num Num Call NameLoad AttributeLoad NameLoad attr TupleLoad Num Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Num NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpDiv NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Call NameLoad NameLoad Num AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str TupleLoad Num Num Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr If CompareNotEq NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword ListLoad NameLoad NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Return Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A 
Test the fps capability of Vispy with meshdata primitive
 N/A N/A sip setapi N/A N/A setapi QVariant 2 N/A N/A setapi QString 2 N/A N/A N/A ImportError N/A N/A PyQt4 QtGui QtCore N/A sys N/A numpy np vispy app gloo vispy.util.transforms perspective translate rotate vispy.geometry meshdata md vispy.geometry generation gen N/A OBJECT N/A sphere cylinder cone arrow N/A N/A rows 3 1000 int 3 N/A cols 3 1000 int 3 N/A radius 0.1 10 double 1.0 N/A N/A rows 4 1000 int 4 N/A cols 4 1000 int 4 N/A radius 0.1 10 double 1.0 N/A radius Top. 0.1 10 double 1.0 N/A length 0.1 10 double 1.0 N/A N/A cols 3 1000 int 3 N/A radius 0.1 10 double 1.0 N/A length 0.1 10 double 1.0 N/A N/A rows 4 1000 int 4 N/A cols 4 1000 int 4 N/A radius 0.01 10 double 0.1 N/A length 0.1 10 double 1.0 N/A cone_radius 0.1 10 double 0.2 N/A cone_length 0.0 10.0 double 0.3 N/A vert 
// Uniforms
// ------------------------------------
uniform   mat4 u_model;
uniform   mat4 u_view;
uniform   mat4 u_projection;
uniform   vec4 u_color;

// Attributes
// ------------------------------------
attribute vec3 a_position;
attribute vec3 a_normal;
attribute vec4 a_color;

// Varying
// ------------------------------------
varying vec4 v_color;

void main()
{
    v_color = a_color * u_color;
    gl_Position = u_projection * u_view * u_model * vec4(a_position,1.0);
}
 N/A frag 
// Varying
// ------------------------------------
varying vec4 v_color;

void main()
{
    gl_FragColor = v_color;
}
 N/A DEFAULT_COLOR N/A 0 1 1 1 MyMeshData N/A N/A md MeshData N/A N/A  Add to Meshdata class the capability to export good data for gloo  __init__ N/A N/A self vertices faces edges vertex_colors face_colors N/A None None None None None N/A N/A N/A N/A N/A md MeshData __init__ self vertices None faces None edges None vertex_colors None face_colors None N/A get_glTriangles N/A N/A self N/A N/A N/A 
        Build vertices for a colored mesh.
            V  is the vertices
            I1 is the indices for a filled mesh (use with GL_TRIANGLES)
            I2 is the indices for an outline mesh (use with GL_LINES)
         N/A vtype N/A N/A a_position N/A np float32 3 N/A a_normal N/A np float32 3 N/A a_color N/A np float32 4 N/A vertices N/A N/A self get_vertices N/A normals N/A N/A self get_vertex_normals N/A faces N/A N/A np uint32 N/A N/A self get_faces N/A edges N/A N/A np uint32 N/A N/A N/A N/A self get_edges reshape -1 N/A colors N/A N/A self get_vertex_colors N/A nbrVerts N/A N/A vertices shape N/A 0 N/A V N/A N/A np zeros nbrVerts dtype vtype N/A N/A N/A V N/A N/A a_position vertices N/A N/A N/A V N/A N/A a_normal normals N/A N/A N/A V N/A N/A a_color colors N/A N/A V N/A N/A faces reshape -1 N/A N/A edges reshape -1 N/A N/A ObjectParam N/A object N/A N/A 
    OBJECT parameter test
     __init__ N/A N/A self name list_param N/A N/A N/A N/A self name name N/A N/A self list_param list_param N/A N/A self props N/A N/A N/A N/A self props N/A visible True N/A N/A nameV minV maxV typeV iniV list_param N/A N/A N/A N/A self props N/A nameV iniV N/A N/A ObjectWidget N/A N/A QtGui QWidget N/A N/A 
    Widget for editing OBJECT parameters
     N/A signal_objet_changed N/A N/A QtCore pyqtSignal ObjectParam name objectChanged __init__ N/A N/A self parent param N/A None None N/A N/A N/A N/A N/A super ObjectWidget self __init__ parent N/A N/A param None N/A N/A N/A self param N/A ObjectParam sphere N/A OBJECT N/A sphere N/A N/A N/A self param param N/A N/A self gb_c N/A N/A QtGui QGroupBox N/A Hide/Show %s N/A N/A self param name N/A N/A N/A N/A self gb_c setCheckable True N/A N/A N/A N/A self gb_c setChecked N/A N/A N/A self param props N/A visible N/A N/A N/A N/A N/A self gb_c toggled connect N/A self update_param N/A lL N/A N/A N/A self sp N/A N/A gb_c_lay N/A N/A QtGui QGridLayout N/A N/A nameV minV maxV typeV iniV N/A N/A self param list_param N/A N/A N/A N/A lL append N/A N/A QtGui QLabel nameV N/A self gb_c N/A N/A typeV double N/A N/A N/A N/A N/A self sp append N/A N/A QtGui QDoubleSpinBox N/A self gb_c N/A N/A N/A N/A N/A self sp N/A -1 setDecimals 2 N/A N/A N/A N/A N/A self sp N/A -1 setSingleStep 0.1 N/A N/A N/A N/A N/A self sp N/A -1 setLocale N/A N/A QtCore QLocale N/A N/A QtCore QLocale English N/A N/A N/A typeV int N/A N/A N/A N/A N/A self sp append N/A N/A QtGui QSpinBox N/A self gb_c N/A N/A N/A N/A N/A self sp N/A -1 setMinimum minV N/A N/A N/A N/A N/A self sp N/A -1 setMaximum maxV N/A N/A N/A N/A N/A self sp N/A -1 setValue iniV N/A pos N/A range N/A len lL N/A N/A N/A N/A gb_c_lay addWidget N/A lL N/A pos pos 0 N/A N/A N/A gb_c_lay addWidget N/A N/A self sp N/A pos pos 1 N/A N/A N/A N/A N/A N/A self sp N/A pos valueChanged connect N/A self update_param N/A N/A N/A N/A self gb_c setLayout gb_c_lay N/A vbox N/A N/A QtGui QVBoxLayout N/A hbox N/A N/A QtGui QHBoxLayout N/A N/A N/A hbox addWidget N/A self gb_c N/A N/A N/A hbox addStretch 1.0 N/A N/A N/A vbox addLayout hbox N/A N/A N/A vbox addStretch 1.0 N/A N/A N/A self setLayout vbox N/A update_param N/A N/A self option N/A N/A N/A 
        update param and emit a signal
         N/A N/A N/A N/A self param props N/A visible N/A N/A N/A self gb_c isChecked N/A keys N/A map N/A N/A N/A x N/A N/A x N/A 0 N/A N/A self param list_param N/A N/A pos nameV N/A enumerate keys N/A N/A N/A N/A N/A self param props N/A nameV N/A N/A N/A N/A self sp N/A pos value N/A N/A N/A N/A self signal_objet_changed emit N/A self param N/A N/A Canvas N/A N/A app Canvas N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A app Canvas __init__ self N/A N/A self size N/A 800 600 N/A N/A self fovy 45.0 N/A N/A self zfar 10.0 N/A N/A width height N/A self size N/A N/A self aspect N/A width N/A float height N/A N/A self program N/A N/A gloo Program vert frag N/A N/A self model N/A N/A np eye 4 dtype N/A np float32 N/A N/A self projection N/A N/A np eye 4 dtype N/A np float32 N/A N/A self view N/A translate N/A 0 0 -5.0 N/A N/A N/A self program N/A u_model N/A self model N/A N/A N/A self program N/A u_view N/A self view N/A N/A self theta 0 N/A N/A self phi 0 N/A N/A self visible True N/A N/A self _timer N/A N/A app Timer N/A 1.0 60 N/A N/A N/A N/A self _timer connect N/A self on_timer N/A N/A N/A N/A self _timer start N/A N/A N/A gloo set_clear_color N/A 1 1 1 1 N/A N/A N/A gloo set_state opaque N/A N/A N/A gloo set_polygon_offset 1 1 N/A on_timer N/A N/A self event N/A N/A N/A N/A self theta 0.5 N/A N/A self phi 0.5 N/A N/A self model N/A N/A np dot N/A rotate N/A self theta N/A 0 0 1 N/A rotate N/A self phi N/A 0 1 0 N/A N/A N/A self program N/A u_model N/A self model N/A N/A N/A self update N/A on_resize N/A N/A self event N/A N/A N/A N/A width height N/A event size N/A N/A self size N/A event size N/A N/A N/A gloo set_viewport 0 0 width height N/A N/A self aspect N/A width N/A float height N/A N/A self projection N/A perspective N/A self fovy N/A width N/A float height 1.0 N/A self zfar N/A N/A N/A self program N/A u_projection N/A self projection N/A on_draw N/A N/A self event N/A N/A N/A N/A N/A gloo clear N/A N/A self visible N/A N/A N/A N/A gloo set_state blend False depth_test True polygon_offset_fill True N/A N/A N/A self program N/A u_color N/A 1 1 1 1 N/A N/A N/A N/A self program draw triangles N/A self filled_buf N/A N/A N/A gloo set_state blend True depth_test True polygon_offset_fill False N/A N/A N/A gloo set_depth_mask False N/A N/A N/A self program N/A u_color N/A 0 0 0 1 N/A N/A N/A N/A self program draw lines N/A self outline_buf N/A N/A N/A gloo set_depth_mask True N/A set_data N/A N/A self vertices filled outline N/A N/A N/A N/A self filled_buf N/A N/A gloo IndexBuffer filled N/A N/A self outline_buf N/A N/A gloo IndexBuffer outline N/A N/A self vertices_buff N/A N/A gloo VertexBuffer vertices N/A N/A N/A N/A self program bind N/A self vertices_buff N/A N/A N/A self update N/A N/A MainWindow N/A N/A QtGui QMainWindow N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A QtGui QMainWindow __init__ self N/A N/A N/A self resize 700 500 N/A N/A N/A self setWindowTitle vispy example ... N/A N/A self list_object N/A N/A QtGui QListWidget N/A N/A N/A N/A self list_object setAlternatingRowColors True N/A N/A N/A N/A N/A self list_object itemSelectionChanged connect N/A self list_objectChanged N/A N/A N/A N/A self list_object addItems N/A list N/A N/A OBJECT keys N/A N/A self props_widget N/A ObjectWidget self N/A N/A N/A N/A N/A self props_widget signal_objet_changed connect N/A self update_view N/A N/A self splitter_v N/A N/A QtGui QSplitter N/A N/A QtCore Qt Vertical N/A N/A N/A N/A self splitter_v addWidget N/A self list_object N/A N/A N/A N/A self splitter_v addWidget N/A self props_widget N/A N/A self canvas N/A Canvas N/A N/A N/A N/A self canvas create_native N/A N/A N/A N/A N/A self canvas native setParent self N/A N/A N/A N/A self canvas measure_fps 0.1 N/A self show_fps N/A splitter1 N/A N/A QtGui QSplitter N/A N/A QtCore Qt Horizontal N/A N/A N/A splitter1 addWidget N/A self splitter_v N/A N/A N/A splitter1 addWidget N/A N/A self canvas native N/A N/A N/A self setCentralWidget splitter1 N/A N/A self status N/A N/A self statusBar N/A N/A N/A N/A self status showMessage ... N/A N/A self mesh N/A MyMeshData N/A N/A N/A self update_view N/A N/A self props_widget param N/A list_objectChanged N/A N/A self N/A N/A N/A row N/A N/A N/A N/A N/A self list_object currentIndex row N/A name N/A N/A N/A N/A N/A self list_object currentIndex data N/A N/A row -1 N/A N/A N/A N/A N/A self props_widget deleteLater N/A N/A self props_widget N/A ObjectWidget self param N/A ObjectParam name N/A OBJECT N/A name N/A N/A N/A N/A self splitter_v addWidget N/A self props_widget N/A N/A N/A N/A N/A self props_widget signal_objet_changed connect N/A self update_view N/A N/A N/A self update_view N/A N/A self props_widget param N/A show_fps N/A N/A self fps N/A N/A N/A nbr_tri N/A N/A self mesh n_faces N/A N/A N/A N/A self status showMessage N/A FPS - %.2f and nbr Tri %s  N/A fps nbr_tri N/A update_view N/A N/A self param N/A N/A N/A cols N/A N/A param props N/A cols N/A radius N/A N/A param props N/A radius N/A N/A N/A param name sphere N/A N/A rows N/A N/A param props N/A rows N/A mesh N/A N/A gen create_sphere cols rows radius radius N/A N/A N/A N/A param name cone N/A N/A length N/A N/A param props N/A length N/A mesh N/A N/A gen create_cone cols radius radius length length N/A N/A N/A N/A param name cylinder N/A N/A rows N/A N/A param props N/A rows N/A length N/A N/A param props N/A length N/A radius2 N/A N/A param props N/A radius Top. N/A mesh N/A N/A gen create_cylinder rows cols radius N/A radius radius2 length length N/A N/A N/A N/A param name arrow N/A N/A length N/A N/A param props N/A length N/A rows N/A N/A param props N/A rows N/A cone_radius N/A N/A param props N/A cone_radius N/A cone_length N/A N/A param props N/A cone_length N/A mesh N/A N/A gen create_arrow rows cols radius radius length length cone_radius cone_radius cone_length cone_length N/A N/A N/A N/A N/A self canvas visible N/A N/A param props N/A visible N/A N/A N/A N/A self mesh set_vertices N/A N/A mesh get_vertices N/A N/A N/A N/A self mesh set_faces N/A N/A mesh get_faces N/A colors N/A N/A np tile DEFAULT_COLOR N/A N/A N/A self mesh n_vertices 1 N/A N/A N/A N/A self mesh set_vertex_colors colors N/A N/A vertices filled outline N/A N/A N/A self mesh get_glTriangles N/A N/A N/A N/A self canvas set_data vertices filled outline N/A N/A N/A N/A __name__ __main__ N/A N/A appQt N/A N/A QtGui QApplication N/A sys argv N/A win N/A MainWindow N/A N/A N/A win show N/A N/A N/A appQt exec_