Changeset 80 for cpp/gdk/f0classes.h
- Timestamp:
- 02/08/13 03:22:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/f0classes.h
r69 r80 1 1 2 2 3 #define FIELDSTRUCT Part 3 4 ParamEntry f0_part_paramtab[]= 4 5 { 5 {"Geometry",3,1 4,"p" },6 {"Geometry",3,18,"p" }, 6 7 {"Other properties",}, 7 8 {"Visual",}, … … 20 21 {"i",1,0,"info","s",FIELD(info),}, 21 22 {"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),}, 22 27 {0,0,0,} 23 28 }; 24 29 ParamEntry f0_part_xtra_paramtab[]= 25 30 { 26 {"Extra properties",1, 5,"p"},31 {"Extra properties",1,9,"p"}, 27 32 {"m",0,0,"mass","f 0.1 999.0 1.0",FIELD(mass),}, 28 33 {"dn",0,0,"density","f 0.2 5.0 1.0",FIELD(density),}, … … 30 35 {"ing",0,0,"ingestion","f 0.0 1.0 0.25",FIELD(ingest),}, 31 36 {"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),}, 32 41 {0,0,0,} 33 42 }; … … 38 47 ParamEntry f0_joint_paramtab[]= 39 48 { 40 {"Connections",4,1 3,"j" },49 {"Connections",4,16,"j" }, 41 50 {"Geometry",}, 42 51 {"Other properties",}, … … 55 64 {"i",2,0,"info","s",FIELD(info),}, 56 65 {"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),}, 57 69 {0,0,0,} 58 70 }; 59 71 ParamEntry f0_joint_xtra_paramtab[]= 60 72 { 61 {"Extra properties",1, 2,"j"},73 {"Extra properties",1,5,"j"}, 62 74 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),}, 63 75 {"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),}, 64 79 {0,0,0,} 65 80 }; … … 70 85 ParamEntry f0_nodeltajoint_paramtab[]= 71 86 { 72 {"Connections",4, 7,"j" },87 {"Connections",4,10,"j" }, 73 88 {"Geometry",}, 74 89 {"Other properties",}, … … 81 96 {"i",2,0,"info","s",FIELD(info),}, 82 97 {"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),}, 83 101 {0,0,0,} 84 102 }; 85 103 ParamEntry f0_nodeltajoint_xtra_paramtab[]= 86 104 { 87 {"Extra properties",1, 2,"j"},105 {"Extra properties",1,5,"j"}, 88 106 {"stif",0,0,"stiffness","f 0.0 1.0 1.0",FIELD(stif),}, 89 107 {"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),}, 90 111 {0,0,0,} 91 112 }; … … 156 177 157 178 179 180 181
Note: See TracChangeset
for help on using the changeset viewer.