Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TView.cxx
Go to the documentation of this file.
1// @(#)root/gpad:$Id$
2// Author: Rene Brun 19/02/2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#include "TView.h"
13#include "TROOT.h"
14#include "TPluginManager.h"
15
16
17/** \class TView
18\ingroup gpad
19
20See TView3D.
21*/
22
23////////////////////////////////////////////////////////////////////////////////
24/// Create a concrete default 3-d view via the plug-in manager
25
27{
28 TView *view = nullptr;
30 if ((h = gROOT->GetPluginManager()->FindHandler("TView"))) {
31 if (h->LoadPlugin() == -1)
32 return nullptr;
33 view = (TView*)h->ExecPlugin(3,system,rmin,rmax);
34 }
35 return view;
36}
#define h(i)
Definition RSha256.hxx:106
#define gROOT
Definition TROOT.h:411
See TView3D.
Definition TView.h:25
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.
Definition TView.cxx:26