Changeset 1039 for cpp/frams/model
- Timestamp:
- 11/30/20 03:44:14 (4 years ago)
- Location:
- cpp/frams/model
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/defassign-f0-SDK.h
r952 r1039 20 20 assim=0.25; 21 21 vis_style="part"; 22 vsize=0.2;23 22 vcolor.x=1.0; 24 23 vcolor.y=1.0; -
cpp/frams/model/f0-SDK-classes.h
r1012 r1039 24 24 ParamEntry f0_part_paramtab[]= 25 25 { 26 {"Geometry",3,2 2,"p",NULL,0,NULL,NULL,"Part"},26 {"Geometry",3,21,"p",NULL,0,NULL,NULL,"Part"}, 27 27 {"Other properties",}, 28 28 {"Visual",}, … … 45 45 {"i",1,0,"info","s",FIELD(info),}, 46 46 {"Vstyle",2,0,"vis_style","s 0 0 part",FIELD(vis_style),}, 47 {"vs",2,0,"visual thickness","f 0.05 0.7 0.2",FIELD(vsize),},48 47 {"vr",2,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),}, 49 48 {"vg",2,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),}, … … 53 52 ParamEntry f0_part_xtra_paramtab[]= 54 53 { 55 {"Extra properties",1, 9,"p"},54 {"Extra properties",1,8,"p"}, 56 55 {"h",0,0,"hollow","f 0 1 0",FIELD(hollow),}, 57 56 {"dn",0,0,"density","f 0.2 5.0 1.0",FIELD(density),}, … … 59 58 {"ing",0,0,"ingestion","f 0.0 1.0 0.25",FIELD(ingest),}, 60 59 {"as",0,0,"assimilation","f 0.0 1.0 0.25",FIELD(assim),}, 61 {"vs",0,0,"visual thickness","f 0.05 0.7 0.2",FIELD(vsize),},62 60 {"vr",0,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),}, 63 61 {"vg",0,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),}, -
cpp/frams/model/model.cpp
r1002 r1039 920 920 VALIDMINMAX(p, Part, ingest); 921 921 VALIDMINMAX(p, Part, assim); 922 VALIDMINMAX(p, Part, vsize);923 922 VALIDMINMAX(p, Part, vcolor.x); 924 923 VALIDMINMAX(p, Part, vcolor.y); -
cpp/frams/model/modelparts.cpp
r999 r1039 591 591 refno = src.refno; 592 592 vcolor = src.vcolor; 593 vsize = src.vsize;594 593 vis_style = src.vis_style; 595 594 shape = src.shape; -
cpp/frams/model/modelparts.h
r1004 r1039 111 111 112 112 Pt3D vcolor; 113 double vsize;114 113 115 114 Part(enum Shape s = SHAPE_BALL);
Note: See TracChangeset
for help on using the changeset viewer.