Brian Furtaw (brian++at++sgi.com)
Thu, 20 Feb 1997 12:25:10 -0500
On Feb 17, 4:05pm, Yann Andenmatten wrote:
> Subject: getting hpr form pfDCS
> Hi,
>
> I'm trying to get the hpr values from a pfDCS. I've tried that :
>
> const pfMatrix* m = Coord->getMatPtr();
> if (m != NULL)
> {
> pfCoord* dst=NULL;
pfCoord dst;
m->getOrthoCoord(&dst);
> m->getOrthoCoord(dst);
> if (dst == NULL)
> printf("HPR...NULL\n");
> else
> printf(" HPR : %3.2f %3.2f %3.2f\n",
> dst->hpr[0], dst->hpr[1], dst->hpr[2]);
> }
> else
> printf("HPR...NULL2\n");
>
> but dst is NULL. What is wrong ? Is it the best way ?
>
> Thanks for help !
>
> Yann
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> [][][] [][] [][][] [] > Ecole Polytechnique Federale de Lausanne
> [] [] [] [] [] > Swiss Federal Institute of Technology
> [][] [][][] [][] [] >
> [] [] [] [] > Yann Andenmatten, +41.22 693.58.50
> [][][] [] [] [][][] > yandenmat++at++di.epfl.ch
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Yann Andenmatten
Brian
-- o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-oBrian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:41 PDT