| To: | info-inventor-dev@xxxxxxxxxxx |
|---|---|
| Subject: | Changing ViewportMapping properties |
| From: | Tomás Aguado Gómez <tomas.aguado@xxxxxxxxxxxxxx> |
| Date: | Thu, 25 Nov 2004 09:34:38 +0100 |
| Sender: | info-inventor-dev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.8 (X11/20040926) |
|
Hello everyone: My project is now highly advanced, but I can't change the SoCamera ViewporMapping property. As SoCamera is an abstract class I don't tr to access this property doing an SoCamera casting, I access it like this: SoPerspectiveCamera *Camera: ........... if (Camera->ViewportMapping.getValue()==SoCamera::CROP_VIEWPORT_FILL_FRAME) { ......... } But the compiler complains: form1.ui.h:166: error: invalid use of `enum SoCamera::ViewportMapping'
Thanks in advance Tomás Aguado Gómez Grupo de Modelado y Realidad Virtual http://dac.escet.urjc.es/investigacion/GMRV/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: The end of the SoMFVec3f, Lars J. Aas |
|---|---|
| Next by Date: | Re: Changing ViewportMapping properties, Peder Blekken |
| Previous by Thread: | The end of the SoMFVec3f, Tomás Aguado Gómez |
| Next by Thread: | Re: Changing ViewportMapping properties, Peder Blekken |
| Indexes: | [Date] [Thread] [Top] [All Lists] |