⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _altimeter.gls

📁 实现gl studio在vc中的仪表开发
💻 GLS
📖 第 1 页 / 共 3 页
字号:
      Shading: GOURAUD
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
-17.3863678 49.45454407        0 27 28 27 96
-17.3863678 -49.45454407        0 27 28 27 96
17.3863678 -49.45454407        0 27 28 27 96
17.3863678 49.45454407        0 27 28 27 96
      TexturePoints: 
-17.3863678 -49.45454407        0
-17.3863678 49.45454407        0
81.52270508 49.45454407        0
81.52270508 -49.45454407        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: D126E118
    }

    EndMarker: altDigitTopShadowGroup
  }
  ObjectClass: GlsKnob 1
  {
    Name: baroGlsKnob
    Location: 52.50001526 57.00003052 0
    Visible: 1
    Pickable: 1
    RotationOrigin: 0        0 0
    Rotation:               0 0 0 
    DynamicTranslate:               0 0 0 
    DynamicScale:               1 1 1 
    DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
    LineWidth: 1
    CullBackFace: 0
    AlphaMode: ALPHA_MODE_256_LEVEL
    AntiAlias: 0
    DepthTest: 2
    Color: 0 0 0 255
    TextureIndex: -1
    TextureRepeat: 1
    TextureMap: TEXTURE_MAP_REPLACE
    BlendColor: 255 255 255 255
    TextureMinFilter: TEXTURE_FILTER_LINEAR
    TextureMagFilter: TEXTURE_FILTER_LINEAR
    PolygonMode: POLY_MODE_OUTLINE
    PolygonEnd: POLY_CLOSED
    PolygonOffset: 0
    Shading: FLAT
    LineStippleMultiplier: 1
    LineStipplePattern: 65535
    Blink: 0
    BlinkRate: 2
    LightingEnabled: 0
    MaterialIndex: 0
    Vertices: 8
-32.50000381    -32.5        0 255 255 255 255
32.5    -32.5        0 255 255 255 255
32.5     32.5        0 255 255 255 255
-32.50000381     32.5        0 255 255 255 255
-32.50000381    -32.5        0 255 255 255 255
32.5    -32.5        0 255 255 255 255
32.5     32.5        0 255 255 255 255
-32.50000381     32.5        0 255 255 255 255
    TexturePoints: 
32.5    -32.5        0
-32.50000381    -32.5        0
-32.50000381     32.5        0
32.5     32.5        0
    PerformGroupCullCheck: 0
    CullTestChildren: 1
    AngleRange: 2880
    NumDetents: 0
    PositionVal: 0
    Continuous: 0
    WhichObject: 0
    StartAngle: 0
    EmitDetentValEvent: 1
    EmitPositionValEvent: 1
    DetentVal: 1
    PositionVal: 0
    ObjectCallbackCode: #$STRING_START$#bool rval = false;
if ( ObjectEventIs(ev,"PositionVal") )
{
 barometric_display->Value(28.6f+(self->PositionVal()/100.0f)*2.4f);
 rval = true;
}
return rval;

#$STRING_END$#
    ProtectionMode: PUBLIC
    Locked: 0
    IsStatic: 0
        ObjectClass: GLPolygon
    {
      Name: baroKnob
      Location: 52.50001526 57.00003052 0
      Visible: 1
      Pickable: 1
      RotationOrigin: 0        0 0
      Rotation:               0 0 0 
      DynamicTranslate:               0 0 0 
      DynamicScale:               1 1 1 
      DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
      LineWidth: 1
      CullBackFace: 0
      AlphaMode: ALPHA_MODE_256_LEVEL
      AntiAlias: 0
      DepthTest: 2
      Color: 255 10 48 255
      TextureIndex: 0
      TextureRepeat: 1
      TextureMap: TEXTURE_MAP_REPLACE
      BlendColor: 255 255 255 255
      TextureMinFilter: TEXTURE_FILTER_LINEAR
      TextureMagFilter: TEXTURE_FILTER_LINEAR
      PolygonMode: POLY_MODE_FILLED
      PolygonEnd: POLY_CLOSED
      PolygonOffset: 0
      Shading: FLAT
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
-32.50000381    -32.5        0 21 21 21 255
32.49999619    -32.5        0 21 21 21 255
32.49999619     32.5        0 21 21 21 255
-32.50000381     32.5        0 21 21 21 255
      TexturePoints: 
366.5   -138.5        0
-433.5   -138.5        0
-433.5    261.5        0
366.5    261.5        0
      TextureCoords: 4
0.5012500286 0.2649999857        0
0.5824999809 0.2649999857        0
0.5824999809 0.4275000095        0
0.5012500286 0.4275000095        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: baroKnob
    }

    Preview: 1
    EndMarker: baroGlsKnob
  }
  ObjectClass: GlsSwitch 1
  {
    Name: peGlsSwitch
    Location: 333.4252319 48.39132309 0
    Visible: 1
    Pickable: 1
    RotationOrigin: 0        0 0
    Rotation:               0 0 0 
    DynamicTranslate:               0 0 0 
    DynamicScale:               1 1 1 
    DCSMatrix:   -0.8046534203 0.593744788 -8.954796812e-018 0 -0.593744788 -0.8046534203 3.721043222e-016 0 2.13729494e-016 3.047318795e-016 1 0 0 0 0 1 
    LineWidth: 1
    CullBackFace: 0
    AlphaMode: ALPHA_MODE_256_LEVEL
    AntiAlias: 0
    DepthTest: 2
    Color: 0 0 0 255
    TextureIndex: -1
    TextureRepeat: 1
    TextureMap: TEXTURE_MAP_REPLACE
    BlendColor: 255 255 255 255
    TextureMinFilter: TEXTURE_FILTER_LINEAR
    TextureMagFilter: TEXTURE_FILTER_LINEAR
    PolygonMode: POLY_MODE_OUTLINE
    PolygonEnd: POLY_CLOSED
    PolygonOffset: 0
    Shading: FLAT
    LineStippleMultiplier: 1
    LineStipplePattern: 65535
    Blink: 0
    BlinkRate: 2
    LightingEnabled: 0
    MaterialIndex: 0
    Vertices: 8
-35.88955688 -34.96289444        0 255 255 255 255
35.88952637 -34.96289444        0 255 255 255 255
35.88952637 34.96289444        0 255 255 255 255
-35.88955688 34.96289444        0 255 255 255 255
-35.88955688 -34.96289444        0 255 255 255 255
35.88952637 -34.96289444        0 255 255 255 255
35.88952637 34.96289444        0 255 255 255 255
-35.88955688 34.96289444        0 255 255 255 255
    TexturePoints: 
35.88952637 -34.96289444        0
-35.88955688 -34.96289444        0
-35.88955688 36.81618881        0
35.88952637 36.81618881        0
    PerformGroupCullCheck: 0
    CullTestChildren: 1
    DetentVal: 2
    WhichObjectBackground: 0
    FirstDetentSnapback: 0
    LastDetentSnapback: 0
    EmitDetentValEvent: 1
    DetentVal: 2
    ObjectCallbackCode: #$STRING_START$#bool rval = false;
if ( ObjectEventIs(ev,"DetentVal")) )
{
    elecFlag->Visibility(self->DetentVal()==1);
    rval = true;
}
return rval;

#$STRING_END$#
    ProtectionMode: PUBLIC
    Locked: 0
    IsStatic: 0
        ObjectClass: GLPolygon
    {
      Name: elecSwitch
      Location: 312.8855591 46.19438934 0
      Visible: 1
      Pickable: 1
      RotationOrigin: 0        0 0
      Rotation:               0 0 0 
      DynamicTranslate:               0 0 0 
      DynamicScale:               1 1 1 
      DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
      LineWidth: 1
      CullBackFace: 0
      AlphaMode: ALPHA_MODE_256_LEVEL
      AntiAlias: 0
      DepthTest: 2
      Color: 255 10 48 255
      TextureIndex: 0
      TextureRepeat: 1
      TextureMap: TEXTURE_MAP_REPLACE
      BlendColor: 255 255 255 255
      TextureMinFilter: TEXTURE_FILTER_LINEAR
      TextureMagFilter: TEXTURE_FILTER_LINEAR
      PolygonMode: POLY_MODE_FILLED
      PolygonEnd: POLY_CLOSED
      PolygonOffset: 0
      Shading: FLAT
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
-14.73239136 -32.76596069        0 0 0 0 0
14.73239136 -32.76596069        0 0 0 0 0
14.73239136 32.76596069        0 0 0 0 0
-14.73239136 32.76596069        0 0 0 0 0
      TexturePoints: 
390.6498718 -42.98840332        0
-409.3510132 -42.98840332        0
-409.3510132 357.0112305        0
390.6498718 357.0112305        0
      TextureCoords: 4
0.4932727516 0.0255561322        0
0.5301036835 0.0255561322        0
0.5301036835 0.1893860847        0
0.4932727516 0.1893860847        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: elecSwitch
    }
    ObjectClass: GLPolygon
    {
      Name: pneuSwitch
      Location: 333.4253235 57.57704926 0
      Visible: 1
      Pickable: 1
      RotationOrigin: -18.88699341 8.195274353 0
      Rotation:               0 0 0 
      DynamicTranslate:               0 0 0 
      DynamicScale:               1 1 1 
      DCSMatrix:    0.3687703091 0.9295205534 0 0 -0.9295205534 0.3687703091 0 0 0 0 1 0 0 0 0 1 
      LineWidth: 1
      CullBackFace: 0
      AlphaMode: ALPHA_MODE_256_LEVEL
      AntiAlias: 0
      DepthTest: 2
      Color: 255 10 48 255
      TextureIndex: 0
      TextureRepeat: 1
      TextureMap: TEXTURE_MAP_REPLACE
      BlendColor: 255 255 255 255
      TextureMinFilter: TEXTURE_FILTER_LINEAR
      TextureMagFilter: TEXTURE_FILTER_LINEAR
      PolygonMode: POLY_MODE_FILLED
      PolygonEnd: POLY_CLOSED
      PolygonOffset: 0
      Shading: FLAT
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
25.02365112 -25.7771492        0 0 0 0 0
35.88943481 1.610908508        0 0 0 0 0
-25.02380371 25.77716827        0 0 0 0 0
-35.88964844 -1.610988617        0 0 0 0 0
      TexturePoints: 
184.0185852 347.2631531        0
-110.9978943 -396.3542175        0
-482.8054199 -248.8450012        0
-187.7887878 494.7704163        0
      TextureCoords: 4
0.4932727516 0.0255561322        0
0.5301036835 0.0255561322        0
0.5301036835 0.1893860847        0
0.4932727516 0.1893860847        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: pneuSwitch
    }

    Preview: 1
    EndMarker: peGlsSwitch
  }
  ObjectClass: Group
  {
    Name: peFlag
    Location: 115.5681915 240.7045593 0
    Visible: 1
    Pickable: 1
    RotationOrigin: 0        0 0
    Rotation:               0 0 0 
    DynamicTranslate:               0 0 0 
    DynamicScale:               1 1 1 
    DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
    LineWidth: 1
    CullBackFace: 0
    AlphaMode: ALPHA_MODE_256_LEVEL
    AntiAlias: 0
    DepthTest: 2
    Color: 0 0 0 255
    TextureIndex: -1
    TextureRepeat: 1
    TextureMap: TEXTURE_MAP_REPLACE
    BlendColor: 255 255 255 255
    TextureMinFilter: TEXTURE_FILTER_LINEAR
    TextureMagFilter: TEXTURE_FILTER_LINEAR
    PolygonMode: POLY_MODE_OUTLINE
    PolygonEnd: POLY_CLOSED
    PolygonOffset: 0
    Shading: FLAT
    LineStippleMultiplier: 1
    LineStipplePattern: 65535
    Blink: 0
    BlinkRate: 2
    LightingEnabled: 0
    MaterialIndex: 0
    Vertices: 8
-25.88636017 -11.97727966        0 255 255 255 255
25.8863678 -11.97727966        0 255 255 255 255
25.8863678 11.9772644        0 255 255 255 255
-25.88636017 11.9772644        0 255 255 255 255
-25.88636017 -11.97727966        0 255 255 255 255
25.8863678 -11.97727966        0 255 255 255 255
25.8863678 11.9772644        0 255 255 255 255
-25.88636017 11.9772644        0 255 255 255 255
    TexturePoints: 
25.8863678 -11.97727966        0
-25.88636017 -11.97727966        0
-25.88636017 39.7954483        0
25.8863678 39.7954483        0
    PerformGroupCullCheck: 0
    CullTestChildren: 1
    ProtectionMode: PUBLIC
    Locked: 0
    IsStatic: 0
        ObjectClass: GLPolygon
    {
      Name: pneuFlag
      Location: 115.5681915 240.7045593 0
      Visible: 1
      Pickable: 1
      RotationOrigin: 0        0 0
      Rotation:               0 0 0 
      DynamicTranslate:               0 0 0 
      DynamicScale:               1 1 1 
      DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
      LineWidth: 1
      CullBackFace: 0
      AlphaMode: ALPHA_MODE_256_LEVEL
      AntiAlias: 0
      DepthTest: 2
      Color: 255 10 48 255
      TextureIndex: 0
      TextureRepeat: 1
      TextureMap: TEXTURE_MAP_REPLACE
      BlendColor: 255 255 255 255
      TextureMinFilter: TEXTURE_FILTER_LINEAR
      TextureMagFilter: TEXTURE_FILTER_LINEAR
      PolygonMode: POLY_MODE_FILLED
      PolygonEnd: POLY_CLOSED
      PolygonOffset: 0
      Shading: FLAT
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
-25.88636017 -11.97727966        0 0 0 0 0
25.8863678 -11.97727966        0 0 0 0 0
25.8863678 11.9772644        0 0 0 0 0
-25.88636017 11.9772644        0 0 0 0 0
      TexturePoints: 
367.7631836 -209.0228424        0
-432.2384644 -209.0228424        0
-432.2384644 190.9770813        0
367.7631836 190.9770813        0
      TextureCoords: 4
0.5079391003 0.492614001        0
0.5726548433 0.492614001        0
0.5726548433 0.5525003672        0
0.5079391003 0.5525003672        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: pneuFlag
    }
    ObjectClass: GLPolygon
    {
      Name: elecFlag
      Location: 115.5681915 240.7045593 0
      Visible: 1
      Pickable: 1
      RotationOrigin: 0        0 0
      Rotation:               0 0 0 
      DynamicTranslate:               0 0 0 
      DynamicScale:               1 1 1 
      DCSMatrix:               1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 
      LineWidth: 1
      CullBackFace: 0
      AlphaMode: ALPHA_MODE_256_LEVEL
      AntiAlias: 0
      DepthTest: 2
      Color: 255 10 48 255
      TextureIndex: 0
      TextureRepeat: 1
      TextureMap: TEXTURE_MAP_REPLACE
      BlendColor: 255 255 255 255
      TextureMinFilter: TEXTURE_FILTER_LINEAR
      TextureMagFilter: TEXTURE_FILTER_LINEAR
      PolygonMode: POLY_MODE_FILLED
      PolygonEnd: POLY_CLOSED
      PolygonOffset: 0
      Shading: FLAT
      LineStippleMultiplier: 1
      LineStipplePattern: 65535
      Blink: 0
      BlinkRate: 2
      LightingEnabled: 0
      MaterialIndex: 0
      Vertices: 4
-25.88636017 -11.97727966        0 0 0 0 0
25.8863678 -11.97727966        0 0 0 0 0
25.8863678 11.9772644        0 0 0 0 0
-25.88636017 11.9772644        0 0 0 0 0
      TexturePoints: 
367.7631836 -245.3410339        0
-432.2384644 -245.3410339        0
-432.2384644 154.6588898        0
367.7631836 154.6588898        0
      TextureCoords: 4
0.5079391003 0.5834094882        0
0.5726548433 0.5834094882        0
0.5726548433 0.6432958841        0
0.5079391003 0.6432958841        0
      Normals: 4
0        0        1
0        0        1
0        0        1
0        0        1
      ProtectionMode: PUBLIC
      Locked: 0
      EndMarker: elecFlag
    }

    EndMarker: peFlag
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -