| To: | Cyril ZEKSER <czekser@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: ScreenArea of an object ??? |
| From: | Haykel ben Jemia <haykel@xxxxxxxxxxxxxxx> |
| Date: | Fri, 2 Mar 2001 15:27:49 +0100 |
| Cc: | hotline@xxxxxxxxxxxxxx, info-inventor@xxxxxxxxxxx |
| In-reply-to: | <3A9F73B8.D60D95F3@xxxxxxxxxxxxxx>; from czekser@xxxxxxxxxxxxxx on Fri, Mar 02, 2001 at 11:19:36AM +0100 |
| References: | <3A9F73B8.D60D95F3@xxxxxxxxxxxxxx> |
| Sender: | owner-inventor@xxxxxxxxxxx |
Hi,
tray to look at the methods of SbViewVolume like projectToScreen() which
"Maps the 3D point in world coordinates to a 2D point in normalized
screen coordinates (0 <= x,y,z <= 1)." (From the man page of SbViewVolume)
You get the view volume with getViewVolume() of the camera.
bye,
Haykel
--
On Fri, Mar 02, 2001 at 11:19:36AM +0100, Cyril ZEKSER wrote:
> Hi all,
>
> I want to perform an action that returns me the Screen Area of an object. I
> know how to retrieve the
> world Bounding Box, but not hte screen area in the viewport of the object.
>
> Is there a fast way to do that ??
>
> Thanks in advance
>
> Cyril ZEKSER
> VISIOSPACE
>
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Haykel Ben Jemia _/_/_/_/_/
_/ Mail : Haykel@xxxxxxxxxxxxxxx _/
_/ Voice : ++49-030-3010 23 32 _/_/
_/ ICQ : 5130782_/_/_/_/_/_/_/_/_/_/
_/_/_/_/_/_/_/_/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ScreenArea of an object ???, Cyril ZEKSER |
|---|---|
| Next by Date: | Re: Problem installing OpenInventor on O2, Sebastien Carpentier |
| Previous by Thread: | ScreenArea of an object ???, Cyril ZEKSER |
| Next by Thread: | Example with threads and Inventor, Johan Jansson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |