| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- object FormTriangleBox: TFormTriangleBox
- Left = 281
- Top = 112
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Triangle and Box Intersection'
- ClientHeight = 961
- ClientWidth = 1528
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -19
- Font.Name = 'Arial'
- Font.Style = []
- KeyPreview = True
- Position = poScreenCenter
- OnCreate = FormCreate
- OnKeyPress = FormKeyPress
- OnMouseWheel = FormMouseWheel
- OnResize = FormResize
- PixelsPerInch = 168
- TextHeight = 22
- object Viewer: TGLSceneViewer
- Left = 306
- Top = 0
- Width = 1222
- Height = 961
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Camera = GLCamera1
- Buffer.BackgroundColor = clBackground
- FieldOfView = 168.118560791015600000
- PenAsTouch = False
- Align = alClient
- OnMouseMove = ViewerMouseMove
- TabOrder = 0
- end
- object Panel2: TPanel
- Left = 0
- Top = 0
- Width = 306
- Height = 961
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Align = alLeft
- TabOrder = 1
- object CheckBoxGrid: TCheckBox
- Left = 14
- Top = 298
- Width = 140
- Height = 29
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Grid'
- Checked = True
- State = cbChecked
- TabOrder = 6
- OnClick = CheckBoxVisibleClick
- end
- object ButtonFindIntersect: TButton
- Left = 11
- Top = 140
- Width = 283
- Height = 44
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Find next with intersection'
- Default = True
- TabOrder = 3
- OnClick = ButtonFindIntersectClick
- end
- object CheckBoxPosition: TCheckBox
- Left = 14
- Top = 19
- Width = 210
- Height = 30
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Change box position'
- Checked = True
- State = cbChecked
- TabOrder = 0
- end
- object CheckBoxScale: TCheckBox
- Left = 14
- Top = 60
- Width = 210
- Height = 29
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Change box scale'
- Checked = True
- State = cbChecked
- TabOrder = 1
- end
- object CheckBoxTriangle: TCheckBox
- Left = 14
- Top = 100
- Width = 210
- Height = 30
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Change triangle'
- Checked = True
- State = cbChecked
- TabOrder = 2
- end
- object ButtonNotFindIntersect: TButton
- Left = 11
- Top = 196
- Width = 283
- Height = 44
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Find next without intersection'
- TabOrder = 4
- OnClick = ButtonNotFindIntersectClick
- end
- object CheckBoxVisible: TCheckBox
- Left = 14
- Top = 256
- Width = 140
- Height = 33
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Box visible'
- Checked = True
- State = cbChecked
- TabOrder = 5
- OnClick = CheckBoxVisibleClick
- end
- object CheckBoxAxis: TCheckBox
- Left = 14
- Top = 336
- Width = 140
- Height = 30
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Axis'
- Checked = True
- State = cbChecked
- TabOrder = 7
- OnClick = CheckBoxVisibleClick
- end
- object RadioGroupCoPolygon: TRadioGroup
- Left = 28
- Top = 413
- Width = 196
- Height = 184
- Margins.Left = 5
- Margins.Top = 5
- Margins.Right = 5
- Margins.Bottom = 5
- Caption = 'Coplanar Polygon'
- ItemIndex = 0
- Items.Strings = (
- 'Fill'
- 'Lines'
- 'Points')
- TabOrder = 8
- OnClick = RadioGroupCoPolygonClick
- end
- end
- object GLScene: TGLScene
- Left = 216
- Top = 24
- object GLCamera1: TGLCamera
- DepthOfView = 500.000000000000000000
- FocalLength = 50.000000000000000000
- NearPlaneBias = 0.100000001490116100
- TargetObject = DCCamTarget
- Position.Coordinates = {0000A04000000040000040400000803F}
- Direction.Coordinates = {000000000000803F0000008000000000}
- Up.Coordinates = {00000000000000000000803F00000000}
- Left = 256
- Top = 144
- end
- object DCCamTarget: TGLDummyCube
- CubeSize = 1.000000000000000000
- VisibleAtRunTime = True
- end
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {00007A4400004844000016440000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLLightSource2: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- Position.Coordinates = {0000FAC30000C8C3000096C30000803F}
- SpotCutOff = 180.000000000000000000
- end
- object GLCube1: TGLCube
- Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
- end
- object GLXYZGrid1: TGLXYZGrid
- XSamplingScale.Min = -10.000000000000000000
- XSamplingScale.Max = 10.000000000000000000
- XSamplingScale.Step = 3.000000000000000000
- YSamplingScale.Min = -10.000000000000000000
- YSamplingScale.Max = 10.000000000000000000
- YSamplingScale.Step = 3.000000000000000000
- ZSamplingScale.Step = 0.100000001490116100
- end
- object Triangle: TGLPolygon
- Material.FrontProperties.Diffuse.Color = {000000000000803F000000000000803F}
- Nodes = <
- item
- end
- item
- Y = 1.000000000000000000
- end
- item
- Y = 1.000000000000000000
- Z = 1.000000000000000000
- end>
- end
- object Polygon: TGLPolygon
- Nodes = <>
- end
- object GLLines1: TGLLines
- LineWidth = 3.000000000000000000
- Nodes = <
- item
- Color.Color = {0000803F00000000000000000000803F}
- end
- item
- X = 1.000000000000000000
- Color.Color = {0000803F00000000000000000000803F}
- end
- item
- Color.Color = {000000000000003F000000000000803F}
- end
- item
- Y = 1.000000000000000000
- Color.Color = {0AD7A33E48E1FA3E1F85EB3E0000803F}
- end
- item
- end
- item
- Z = 1.000000000000000000
- end>
- NodesAspect = lnaInvisible
- SplineMode = lsmSegments
- Options = [loUseNodeColorForLines]
- end
- object GLPoints1: TGLPoints
- NoZWrite = False
- Static = False
- Size = 6.000000000000000000
- end
- object GLLines2: TGLLines
- LineWidth = 2.000000000000000000
- Nodes = <>
- NodesAspect = lnaInvisible
- Division = 1
- Options = []
- end
- end
- object GLCadencer: TGLCadencer
- Scene = GLScene
- OnProgress = GLCadencerProgress
- Left = 216
- Top = 64
- end
- end
|