Re: getting hpr form pfDCS

New Message Reply Date view Thread view Subject view Author view

Timothy Moore (moore++at++WOLFENET.com)
Mon, 17 Feb 1997 13:43:59 -0800 (PST)


   From: "Yann Andenmatten" <andenmat++at++imtsg12.epfl.ch>
   Date: Mon, 17 Feb 1997 16:05:21 +0100
   Mime-Version: 1.0
   Content-Type: text/plain; charset=us-ascii

   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;
         m->getOrthoCoord(dst);
pfMatrix::getOrthoCoord takes a pointer to a pfCoord and fills in the
values from the matrix. It doesn't allocate a pfCoord for this or
return a static pfCoord. Do this instead:
         pfCoord dst;
         m->getOrthoCoord(&dst);

Tim

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:40 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.