Re: Help for pfDCS class !

New Message Reply Date view Thread view Subject view Author view

Bernard Leclerc (bleclerc++at++poster.cae.ca)
Fri, 16 May 1997 12:08:49 -0400


Binoy Marvar wrote:

> I would like to know the functionality of "void setCoord(pfCoord *c)"
> method available in the pfDCS class.
>
> Is it a method for setting the center(origin) for the transformations?

No. setCoord() is a short for setRot() and setTrans(). The man page
explains this:

      pfDCS::setCoord sets the rotation and translation portion of the
      pfDCS according to coord. This is equivalent to:

          dcs->setRot(coord->hpr[0], coord->hpr[1], coord->hpr[2]);
          dcs->setTrans(coord->xyz[0], coord->xyz[1], coord->xyz[2]);

-- 
Bernard Leclerc, Technical Leader, 3-D Graphics Applications
CAE Electronics Ltd. (http://www.cae.ca)
8585 Cote De Liesse, Saint-Laurent, Quebec, Canada, H4L-4X4
tel: +1 514 341 2000 extension 2275, fax: +1 514 340 5496
=======================================================================
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:55:15 PDT

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