Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, January 2007
Re: Clip plane


Message 1 in thread

Till Oliver Knoll wrote:
> Hallo Thomas,
> 
> ich habe folgende Codestelle entdeckt:
> 
> /*---------------------------------------------------------------+
> | If requested or if the user clicked somewhere into the        |
> | geometry window, start the definition of a new clipping plane.|
> +---------------------------------------------------------------*/
> pDlg->bInitPlane = TRUE;
> 
> tr_ui_secDlgStartNewClipPlane(&pDlg->clipPlane,
>                               &pDlg->clipPlaneBar,
>                               &pDlg->viewData,
>                               &coords);
> 
> Die wird aufgerufen, wenn ich das erste mal mit der Maus in die OpenGL 
> area des Dialogs klicke.
> 
> Kommt Dir das bekannt vor? Muss ich dies auch irgendwie aufrufen?

Also in der Funktion tr_ui_secDlgStartNewClipPlane() wird u.a. folgendes 
gesetzt:

   pClipPlaneBar->bIsValid = 1;

Vielleicht reicht es ja schon, wenn ich dies haendisch in meinem Code 
tue, nachdem ich die Clipplane mit

   tr_ui_setSectionsDialogClipPlane (&sectionProperty->clipPlane, FALSE, 
TRUE, TRUE);

gesetzt habe. Andererseits wuerde ich ja eigentlich erwarten, dass dies 
selbst in tr_ui_setSectionsDialogClipPlane geschieht, so dass es mir 
wenig wahrscheinlich erscheint, dass dies das Problem ist... aber mal 
ausprobieren schadet nichts ;)

Gruss, Oliver
-- 
 [ signature omitted ] 

Message 2 in thread

Till Oliver Knoll wrote:
> Till Oliver Knoll wrote:
> 
>> Hallo Thomas,
>>
>> ich habe folgende Codestelle entdeckt:
 >> ..

Please ignore this previous post, wrong recipient.

=====================================================================
The information contained in this e-mail is confidential and is
provided only for the intended addressee's use. If you received this
e-mail in error, please delete it and contact us. Thank you.
=====================================================================

Thanks God for email signatures (how I love them): Now that you know 
that you are the wrong recipient I am sure you know what to do ;)

Cheers, Oliver


--
 [ signature omitted ]