]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Reve/NLTProjector.cxx
Add some class docs.
[u/mrichter/AliRoot.git] / EVE / Reve / NLTProjector.cxx
index 05d1b8f916e83d5811b0bd1b7795c50fc5029111..4a619b85a2249077d339b771a92ef4a007b659f1 100644 (file)
@@ -13,6 +13,7 @@ using namespace Reve;
 
 Float_t NLTProjection::fgEps = 0.005f;
 
+
 //______________________________________________________________________________
 // NLTProjection
 //
@@ -20,7 +21,6 @@ Float_t NLTProjection::fgEps = 0.005f;
 // Enables to define an external center of distortion and a scale to
 // fixate a bounding box of a projected point.
 
-
 ClassImp(Reve::NLTProjection)
 
 //______________________________________________________________________________
@@ -156,14 +156,13 @@ Float_t NLTProjection::GetScreenVal(Int_t i, Float_t x)
   return dv[i];
 }
 
+
 //______________________________________________________________________________
-//
 // NLTRhoZ
 //
 // Transformation from 3D to 2D. X axis represent Z coordinate. Y axis have value of
 // radius with a sign of Y coordinate.
 
-
 ClassImp(Reve::NLTRhoZ)
 
 //______________________________________________________________________________
@@ -246,22 +245,23 @@ Bool_t NLTRhoZ::AcceptSegment(Vector& v1, Vector& v2, Float_t tolerance)
   return val;
 }
 
+
 //______________________________________________________________________________
-//
 // NLTCircularFishEye
 //
 // XY projection with distortion around given center.
 
-ClassImp(Reve:: NLTCircularFishEye)
+ClassImp(Reve::NLTCircularFishEye)
 
 //______________________________________________________________________________
-void  NLTCircularFishEye::ProjectPoint(Float_t& x, Float_t& y, Float_t& z, PProc_e proc)
+void NLTCircularFishEye::ProjectPoint(Float_t& x, Float_t& y, Float_t& z,
+                                     PProc_e proc)
 {
   // Project point.
 
   using namespace TMath;
 
-  if(proc !=  PP_Plane)
+  if (proc != PP_Plane)
   {
     x -= fCenter.x;
     y -= fCenter.y;
@@ -275,15 +275,16 @@ void  NLTCircularFishEye::ProjectPoint(Float_t& x, Float_t& y, Float_t& z, PProc
   z = 0.0f;
 }
 
+
+ClassImp(NLTProjector)
+
 //______________________________________________________________________________
-//
 // NLTProjector
 //
 // Recursively projects RenderElement and draws axis in the projected scene.
 // It enables to interactivly set NLTProjection parameters and updates
 // projected scene accordingly.
 
-ClassImp(NLTProjector)
 
 NLTProjector::NLTProjector():
   RenderElementList("NLTProjector",""),
@@ -507,4 +508,3 @@ void NLTProjector::ComputeBBox()
 
   BBoxInit();
 }
-