/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisLib/BesVisLib-00-04-04/src/Bes2DView.cxx File Reference

#include "BesVisLib/Bes2DView.h"
#include <iostream>
#include <TGeometry.h>
#include <TPad.h>
#include <TPaveLabel.h>
#include <TROOT.h>
#include <TMath.h>
#include <TCanvas.h>

Go to the source code of this file.

Functions

 ClassImp (Bes2DView) Bes2DView


Function Documentation

ClassImp ( Bes2DView   ) 

Definition at line 40 of file Bes2DView.cxx.

References k3DView, kXYView, and kZRView.

00047                      : BesTView(1) {
00048     //
00049     // Bes2DView normal constructor
00050     if ( gDebug ) cout << "Bes2DView normal ctor called" << endl;
00051 
00052     // init Label
00053     fLabel = new TPaveLabel(0.02,0.17,0.02,0.09,"3D View");
00054     fLabel->SetFillColor(42);
00055 
00056 
00057     // init status of 3D view
00058     fStatus3D = new BesStatus();
00059     fStatus3D->Default(k3DView);
00060 
00061     // init status of XY view
00062     fStatusXY = new BesStatus();
00063     fStatusXY->Default(kXYView);
00064 
00065     // init status of ZR view
00066     fStatusZR = new BesStatus();
00067     fStatusZR->Default(kZRView);
00068 
00069     // init status of current view
00070     fStatusCurrent = new BesStatus();
00071 
00072     // Init
00073     f2DViewType = 0;  // XY:0, ZR:1;
00074     fStatusCurrent->Transfer(fStatus3D,1);
00075     SetRange(-200,-200,-200,200,200,200);
00076     fZoomFactor = 1.5;
00077 
00078     fMarkerSize = 0.1;
00079 }


Generated on Tue Nov 29 23:15:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7