TView.cxx

Go to the documentation of this file.
00001 // @(#)root/gpad:$Id: TView.cxx 21345 2007-12-12 15:33:54Z couet $
00002 // Author: Rene Brun  19/02/2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #include "TView.h"
00013 #include "TROOT.h"
00014 #include "TPluginManager.h"
00015 
00016 ClassImp(TView)
00017 
00018 //______________________________________________________________________________
00019 /* Begin_Html
00020 See TView3D
00021 End_Html */
00022 
00023 //____________________________________________________________________________
00024 TView::TView(const TView& tv) :
00025    TObject(tv),
00026    TAttLine(tv)
00027 {
00028    // Copy constructor.
00029 }
00030 
00031 //____________________________________________________________________________
00032 TView *TView::CreateView(Int_t system, const Double_t *rmin, const Double_t *rmax) 
00033 {
00034    // Create a concrete default 3-d view via the plug-in manager
00035    
00036    TView *view = 0;
00037    TPluginHandler *h;
00038    if ((h = gROOT->GetPluginManager()->FindHandler("TView"))) {
00039       if (h->LoadPlugin() == -1)
00040          return 0;
00041       view = (TView*)h->ExecPlugin(3,system,rmin,rmax);
00042    }
00043    return view;
00044 }

Generated on Tue Jul 5 14:14:08 2011 for ROOT_528-00b_version by  doxygen 1.5.1