MathgeomGLS
262 строки · 6.0 Кб
1object FrmMain: TFrmMain
2Left = 192
3Top = 107
4Margins.Left = 5
5Margins.Top = 5
6Margins.Right = 5
7Margins.Bottom = 5
8Caption = 'IsoSurface Cube'
9ClientHeight = 886
10ClientWidth = 1190
11Color = clBtnFace
12Font.Charset = DEFAULT_CHARSET
13Font.Color = clWindowText
14Font.Height = -19
15Font.Name = 'MS Sans Serif'
16Font.Style = []
17Menu = MainMenu
18Position = poScreenCenter
19OnCreate = FormCreate
20OnMouseWheel = FormMouseWheel
21PixelsPerInch = 168
22TextHeight = 24
23object GLSceneViewer: TGLSceneViewer
24Left = 268
25Top = 0
26Width = 922
27Height = 886
28Margins.Left = 5
29Margins.Top = 5
30Margins.Right = 5
31Margins.Bottom = 5
32Camera = Camera
33Buffer.BackgroundColor = clGray
34FieldOfView = 154.559234619140600000
35PenAsTouch = False
36Align = alClient
37OnMouseDown = GLSceneViewerMouseDown
38OnMouseMove = GLSceneViewerMouseMove
39TabOrder = 0
40end
41object PUSerInterface: TPanel
42Left = 0
43Top = 0
44Width = 268
45Height = 886
46Margins.Left = 5
47Margins.Top = 5
48Margins.Right = 5
49Margins.Bottom = 5
50Align = alLeft
51BevelOuter = bvLowered
52TabOrder = 1
53object Label1: TLabel
54Left = 14
55Top = 350
56Width = 68
57Height = 24
58Margins.Left = 5
59Margins.Top = 5
60Margins.Right = 5
61Margins.Bottom = 5
62Caption = 'Vertices'
63end
64object Label2: TLabel
65Left = 14
66Top = 378
67Width = 78
68Height = 24
69Margins.Left = 5
70Margins.Top = 5
71Margins.Right = 5
72Margins.Bottom = 5
73Caption = 'Triangles'
74end
75object lblVertices: TLabel
76Left = 154
77Top = 350
78Width = 100
79Height = 23
80Margins.Left = 5
81Margins.Top = 5
82Margins.Right = 5
83Margins.Bottom = 5
84Alignment = taRightJustify
85AutoSize = False
86Caption = '0'
87end
88object lblTriangles: TLabel
89Left = 154
90Top = 378
91Width = 100
92Height = 23
93Margins.Left = 5
94Margins.Top = 5
95Margins.Right = 5
96Margins.Bottom = 5
97Alignment = taRightJustify
98AutoSize = False
99Caption = '0'
100end
101object LEXDim: TLabeledEdit
102Left = 18
103Top = 42
104Width = 239
105Height = 32
106Margins.Left = 5
107Margins.Top = 5
108Margins.Right = 5
109Margins.Bottom = 5
110EditLabel.Width = 109
111EditLabel.Height = 24
112EditLabel.Margins.Left = 7
113EditLabel.Margins.Top = 7
114EditLabel.Margins.Right = 7
115EditLabel.Margins.Bottom = 7
116EditLabel.Caption = 'X Dimension'
117Enabled = False
118TabOrder = 0
119Text = '27'
120end
121object LEYDim: TLabeledEdit
122Left = 14
123Top = 126
124Width = 240
125Height = 32
126Margins.Left = 5
127Margins.Top = 5
128Margins.Right = 5
129Margins.Bottom = 5
130EditLabel.Width = 107
131EditLabel.Height = 24
132EditLabel.Margins.Left = 7
133EditLabel.Margins.Top = 7
134EditLabel.Margins.Right = 7
135EditLabel.Margins.Bottom = 7
136EditLabel.Caption = 'Y Dimension'
137Enabled = False
138TabOrder = 1
139Text = '27'
140end
141object LEZDim: TLabeledEdit
142Left = 14
143Top = 210
144Width = 240
145Height = 32
146Margins.Left = 5
147Margins.Top = 5
148Margins.Right = 5
149Margins.Bottom = 5
150EditLabel.Width = 107
151EditLabel.Height = 24
152EditLabel.Margins.Left = 7
153EditLabel.Margins.Top = 7
154EditLabel.Margins.Right = 7
155EditLabel.Margins.Bottom = 7
156EditLabel.Caption = 'Z Dimension'
157Enabled = False
158TabOrder = 2
159Text = '27'
160end
161object LEIsoVal: TLabeledEdit
162Left = 14
163Top = 294
164Width = 240
165Height = 32
166Margins.Left = 5
167Margins.Top = 5
168Margins.Right = 5
169Margins.Bottom = 5
170EditLabel.Width = 69
171EditLabel.Height = 24
172EditLabel.Margins.Left = 7
173EditLabel.Margins.Top = 7
174EditLabel.Margins.Right = 7
175EditLabel.Margins.Bottom = 7
176EditLabel.Caption = 'Isovalue'
177Enabled = False
178TabOrder = 3
179Text = '128'
180end
181object rbgAlgorithm: TRadioGroup
182Left = 4
183Top = 434
184Width = 253
185Height = 128
186Margins.Left = 5
187Margins.Top = 5
188Margins.Right = 5
189Margins.Bottom = 5
190Caption = 'Algorithm'
191ItemIndex = 0
192Items.Strings = (
193'Marching Tetras'
194'Marching Cubes')
195TabOrder = 4
196OnClick = rbgAlgorithmClick
197end
198object rbgSurface: TRadioGroup
199Left = 14
200Top = 585
201Width = 242
202Height = 122
203Margins.Left = 5
204Margins.Top = 5
205Margins.Right = 5
206Margins.Bottom = 5
207Caption = 'Surface type'
208ItemIndex = 1
209Items.Strings = (
210'Fill'
211'Lines')
212TabOrder = 5
213OnClick = rbgSurfaceClick
214end
215end
216object GLScene: TGLScene
217Left = 232
218Top = 120
219object dcBox: TGLDummyCube
220Direction.Coordinates = {F304353F86768AB2F304353F00000000}
221Position.Coordinates = {000000BF000000BF000000BF0000803F}
222TurnAngle = 45.000000000000000000
223Up.Coordinates = {F40435320000803FF404353200000000}
224CubeSize = 1.000000000000000000
225EdgeColor.Color = {0000000000000000000000000000803F}
226object ffCube: TGLFreeForm
227end
228end
229object Camera: TGLCamera
230DepthOfView = 1000.000000000000000000
231FocalLength = 100.000000000000000000
232TargetObject = dcBox
233Position.Coordinates = {0000000000000000000048420000803F}
234object Light: TGLLightSource
235ConstAttenuation = 1.000000000000000000
236SpotCutOff = 180.000000000000000000
237end
238end
239end
240object OpenDialog: TOpenDialog
241Left = 232
242Top = 56
243end
244object MainMenu: TMainMenu
245Left = 344
246Top = 56
247object File1: TMenuItem
248Caption = '&File'
249object miFileOpen: TMenuItem
250Caption = '&Open...'
251OnClick = miFileOpenClick
252end
253object N3: TMenuItem
254Caption = '-'
255end
256object miFileExit: TMenuItem
257Caption = 'E&xit'
258OnClick = miFileExitClick
259end
260end
261end
262end
263