Hi Dmitri, Thanks for this suggestion. I have added TView::NDCtoWC in the dev version. Rene Brun Dmitri Litvintsev wrote: > > > > are visible with either rotation angle. > > > > > > Myself see no reason for a new class. > > > > > > May be one should contribute a new method (approach) > > > > > Hi Rootters, > > What really needs to be added to TView's methods is the following: > > //______________________________________________________________________________ > void TView::NDCtoWC(Float_t* pn, Float_t* pw) > { > //*-*-*-*-*-*-*Transfer point from normalized to world coordinates*-*-*-*-* > //*-* =================================================== * > //*-* * > //*-* Input: PN(3) - point in world coordinate system * > //*-* PW(3) - point in normalized coordinate system * > //*-* * > //*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > > pw[0] = fTback[0]*pn[0] + fTback[1]*pn[1] + fTback[2]*pn[2] + fTback[3]; > pw[1] = fTback[4]*pn[0] + fTback[5]*pn[1] + fTback[6]*pn[2] + fTback[7]; > pw[2] = fTback[8]*pn[0] + fTback[9]*pn[1] + fTback[10]*pn[2] + fTback[11]; > } > > Sometimes it is needed > > regards, > Dmitri Litvintsev
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET