Changeset 80 for cpp/gdk/f0classes.h


Ignore:
Timestamp:
02/08/13 03:22:37 (11 years ago)
Author:
Maciej Komosinski
Message:
  • new properties in Parts and Joints: visual red, green, blue, thickness
  • updated list of Neurons and their properties
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/gdk/f0classes.h

    r69 r80  
     1
    12
    23#define FIELDSTRUCT Part
    34ParamEntry f0_part_paramtab[]=
    45{
    5  {"Geometry",3,14,"p" },
     6 {"Geometry",3,18,"p" },
    67 {"Other properties",},
    78 {"Visual",},
     
    2021 {"i",1,0,"info","s",FIELD(info),},
    2122 {"Vstyle",2,0,"vis_style","s 0 -1 part",FIELD(vis_style),},
     23 {"vs",2,0,"visual thickness","f 0.05 0.7 0.2",FIELD(vsize),},
     24 {"vr",2,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     25 {"vg",2,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     26 {"vb",2,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    2227 {0,0,0,}
    2328};
    2429ParamEntry f0_part_xtra_paramtab[]=
    2530{
    26  {"Extra properties",1,5,"p"},
     31 {"Extra properties",1,9,"p"},
    2732 {"m",0,0,"mass","f 0.1 999.0 1.0",FIELD(mass),},
    2833 {"dn",0,0,"density","f 0.2 5.0 1.0",FIELD(density),},
     
    3035 {"ing",0,0,"ingestion","f 0.0 1.0 0.25",FIELD(ingest),},
    3136 {"as",0,0,"assimilation","f 0.0 1.0 0.25",FIELD(assim),},
     37 {"vs",0,0,"visual thickness","f 0.05 0.7 0.2",FIELD(vsize),},
     38 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     39 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     40 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    3241 {0,0,0,}
    3342};
     
    3847ParamEntry f0_joint_paramtab[]=
    3948{
    40  {"Connections",4,13,"j" },
     49 {"Connections",4,16,"j" },
    4150 {"Geometry",},
    4251 {"Other properties",},
     
    5564 {"i",2,0,"info","s",FIELD(info),},
    5665 {"Vstyle",3,0,"vis_style","s 0 -1 joint",FIELD(vis_style),},
     66 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     67 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     68 {"vb",3,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    5769 {0,0,0,}
    5870};
    5971ParamEntry f0_joint_xtra_paramtab[]=
    6072{
    61  {"Extra properties",1,2,"j"},
     73 {"Extra properties",1,5,"j"},
    6274 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    6375 {"rotstif",0,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
     76 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     77 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     78 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    6479 {0,0,0,}
    6580};
     
    7085ParamEntry f0_nodeltajoint_paramtab[]=
    7186{
    72  {"Connections",4,7,"j" },
     87 {"Connections",4,10,"j" },
    7388 {"Geometry",},
    7489 {"Other properties",},
     
    8196 {"i",2,0,"info","s",FIELD(info),},
    8297 {"Vstyle",3,0,"vis_style","s 0 -1 joint",FIELD(vis_style),},
     98 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     99 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     100 {"vb",3,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    83101 {0,0,0,}
    84102};
    85103ParamEntry f0_nodeltajoint_xtra_paramtab[]=
    86104{
    87  {"Extra properties",1,2,"j"},
     105 {"Extra properties",1,5,"j"},
    88106 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),},
    89107 {"rotstif",0,0,"rotation stiffness","f 0.0 1.0 1.0",FIELD(rotstif),},
     108 {"vr",0,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),},
     109 {"vg",0,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),},
     110 {"vb",0,1024,"blue component","f 0.0 1.0 0.5",FIELD(vcolor.z),},
    90111 {0,0,0,}
    91112};
     
    156177
    157178
     179
     180
     181
Note: See TracChangeset for help on using the changeset viewer.