Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-28-2012, 12:05 PM
lees-avg lees-avg is offline
Junior Member
 
Join Date: Apr 2012
Posts: 3
Default How to select a rectangle area with mouse dragging on GLSceneViewer?

Morning everyone,
i’m Delphi-rookie and have been using GLScene for only 2 weeks, rite now i got several questions about GLScene.

My project seems not so difficult for the first 3 Steps:
1). Load a *.stl file (ASCII format) with OpenDialog and then draw it on the GLSceneViewer.
2). Use Trackbars to control the Scale and Rotations.
3). Use Mouse-Dragging (onMouseDown, onMouseMove, onMouseUp) to select a rectangle area on the 3D-Modell within GLSceneViewer.
*. on next step i will use a function to detect the bulge on the surface of loaded 3D-Model WITHIN this selected rectangle area for further robot-deburring (KUKA-Robot).


Questions:

Task 1) and 2) i have finished,

but for 3), i don’t know which commands i should use in GLScene to make a rectangle select-area with mouse-dragging (GLScene is so powerful, but the help-docu is not so good i think L ) over the 3D-Object / GLSceneViewer, because there is no command like this: "GLSceneViewer1.Canvas.Rectangle(x1,y1,x2,y2);"
Please help me!




Thanks for the reply!

Best regards
Lee

Last edited by lees-avg; 05-01-2012 at 09:57 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.