a b/Application/Examples/BikeModel2D/Model/DrawSettings.any
1
// Include the default DrawSettings values so they can be customized below. 
2
#include "<ANYBODY_PATH_BODY>/DrawSettings/DrawSettingsDefault.any"  
3
4
DrawSettings ={
5
6
  
7
  //This is the color definitions of the nodes and segments
8
 Colors = {
9
  AnyBodyRed = {149/256,51/256,55/256};    //AnyBody standard red
10
  AnyBodyGreen = {47/256,131/256,80/256};  //AnyBody standard green
11
  AnyBodyBlue = {82/256,85/256,111/256};   //AnyBody standard blue
12
  AnyBodyYellow= {235/256,197/256,17/256}; //AnyBody standard yellow
13
  AnyBodyPaleYellow = {248/256,204/256,115/256}; //AnyBody standard pale yellow
14
AnyBodyGrey = {153/256,153/256,153/256};    //AnyBody standard grey
15
16
  Nodes = AnyBodyPaleYellow; 
17
  Segments =  AnyBodyPaleYellow; 
18
};
19
20
  Muscle ={ 
21
    RGB = .Colors.AnyBodyRed;
22
    DrawScaleOnOff =Off;
23
    Bulging =0.0;
24
    ColorScale =1.0;
25
    RGBColorScale = {0.957031, 0.785156, 0.785156};
26
    MaxStress = 2500000.000000; //N/m^2 //This number is for graphics only!
27
    Opacity =1.0;
28
    DrawScale = 
29
    {
30
      EnableCreasing = Off;
31
      CreasingAngle = 0.524;
32
      EnableWireframe = Off;
33
      EnableSmoothing = On;
34
      Param = 0.0;
35
      ParamArray = {0.0, 0.167, 0.333, 0.5, 0.667, 0.833, 1.0};
36
      RGBArray = {{0.0, 0.0, 0.6}, {0.0, 0.0, 1.0}, {0.0, 1.0, 1.0}, {0.0, 1.0, 0.0}, {1.0, 1.0, 0.0}, {1.0, 0.0, 0.0}, {0.6, 0.0, 0.0}};
37
      OpacityArray = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0};
38
    };
39
  }; 
40
  
41
  
42
    BonesOpacity ={
43
    
44
    GlobalCoef = 1;
45
    
46
    Skull = 1*GlobalCoef;
47
    Thorax = 1*GlobalCoef;
48
    Pelvis = 1*GlobalCoef;
49
    Sacrum = 1*GlobalCoef;
50
    L5 = 1*GlobalCoef;
51
    L4 = 1*GlobalCoef;
52
    L3 = 1*GlobalCoef;
53
    L2 = 1*GlobalCoef;
54
    L1 = 1*GlobalCoef;
55
    
56
    RightFoot = 1*GlobalCoef;
57
    RightShank = 1*GlobalCoef;
58
    RightThigh = 1*GlobalCoef;
59
    
60
    LeftFoot = 1*GlobalCoef;
61
    LeftShank = 1*GlobalCoef;
62
    LeftThigh = 1*GlobalCoef;
63
64
    
65
    RightClavicula = 1*GlobalCoef;
66
    RightScapula = 1*GlobalCoef;
67
    RightHumerus = 1*GlobalCoef;
68
    RightUlna = 1*GlobalCoef;
69
    RightRadius = 1*GlobalCoef;
70
    RightHand = 1*GlobalCoef;
71
    
72
    LeftClavicula = 1*GlobalCoef;
73
    LeftScapula = 1*GlobalCoef;
74
    LeftHumerus = 1*GlobalCoef;
75
    LeftUlna = 1*GlobalCoef;
76
    LeftRadius = 1*GlobalCoef;
77
    LeftHand = 1*GlobalCoef;
78
79
    
80
    // For leg TD only.
81
    RightTalus = 1*GlobalCoef;
82
    RightPatella = 1*GlobalCoef;
83
    
84
    LeftTalus = 1*GlobalCoef;
85
    LeftPatella = 1*GlobalCoef;
86
87
    
88
    // For detailed cervical model only.
89
    C1 = 1*GlobalCoef;
90
    C2 = 1*GlobalCoef;
91
    C3 = 1*GlobalCoef;
92
    C4 = 1*GlobalCoef;
93
    C5 = 1*GlobalCoef;
94
    C6 = 1*GlobalCoef;
95
    C7 = 1*GlobalCoef;
96
  };
97
98
  
99
  
100
  SegmentAxes ={
101
    RGB ={0,0,1};
102
    ScaleXYZ ={0.0001,0.00001,0.00001};
103
  };
104
  BML ={
105
    ScaleXYZ ={0.0006,0.0006,0.0006};
106
    RGB = .Colors.AnyBodyBlue;
107
  };
108
  JointAxesProximal = {
109
    RGB = .Colors.AnyBodyRed;
110
    ScaleXYZ = {0.015,0.015,0.015};
111
  };
112
  JointAxesDistal = {
113
    RGB = .Colors.AnyBodyGreen;
114
    ScaleXYZ = {0.01,0.01,0.01};
115
  };
116
  
117
  
118
  SegmentNodes ={
119
    ScaleXYZ ={0.0005,0.0005,0.0005};
120
    RGB = .Colors.AnyBodyRed;
121
  };
122
  WrapGeometry ={
123
    RGB ={1,1,1};
124
  };
125
  
126
     DrawSettingsSupport={
127
    Lin={ 
128
        ScaleFactor=0.004; 
129
       RGB = {0,0,1};
130
      Thickness = 0.004;
131
      HeadThickness = 2*Thickness;
132
      HeadLength = 3*Thickness;
133
    };
134
    Rot={ 
135
       ScaleFactor=0.08; 
136
      RGB = {1,0,0};
137
       Thickness = 0.075;
138
       HeadThickness = 2*Thickness;
139
       HeadLength = 5*Thickness;
140
    };
141
  };
142
  
143
  
144
  Marker={
145
  Color={0,0,1};
146
  Radius=0.00;
147
  
148
  };
149
150
}; //DrawSettings