ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
graf2d
gpad
src
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-2007, 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
ClassImp
(
TView
)
17
18
/** \class TView
19
\ingroup gpad
20
21
See TView3D.
22
*/
23
24
////////////////////////////////////////////////////////////////////////////////
25
/// Copy constructor.
26
27
TView
::
TView
(const
TView
& tv) :
28
TObject
(tv),
29
TAttLine
(tv)
30
{
31
}
32
33
////////////////////////////////////////////////////////////////////////////////
34
/// Create a concrete default 3-d view via the plug-in manager
35
36
TView
*
TView::CreateView
(
Int_t
system,
const
Double_t
*rmin,
const
Double_t
*rmax)
37
{
38
TView
*
view
= 0;
39
TPluginHandler
*
h
;
40
if
((h =
gROOT
->GetPluginManager()->FindHandler(
"TView"
))) {
41
if
(h->
LoadPlugin
() == -1)
42
return
0;
43
view = (
TView
*)h->
ExecPlugin
(3,system,rmin,rmax);
44
}
45
return
view
;
46
}
TPluginManager.h
h
TH1 * h
Definition:
legend2.C:5
TView
See TView3D.
Definition:
TView.h:36
gROOT
#define gROOT
Definition:
TROOT.h:344
TPluginHandler::LoadPlugin
Int_t LoadPlugin()
Load the plugin library for this handler.
Definition:
TPluginManager.cxx:246
Int_t
int Int_t
Definition:
RtypesCore.h:41
TPluginHandler::ExecPlugin
Long_t ExecPlugin(int nargs, const T &...params)
Definition:
TPluginManager.h:169
TView.h
TROOT.h
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:279
Double_t
double Double_t
Definition:
RtypesCore.h:55
tornado.view
tuple view
Definition:
tornado.py:20
TView::CreateView
static TView * CreateView(Int_t system=1, const Double_t *rmin=0, const Double_t *rmax=0)
Create a concrete default 3-d view via the plug-in manager.
Definition:
TView.cxx:36
TObject
Mother of all ROOT objects.
Definition:
TObject.h:58
TAttLine
Line Attributes class.
Definition:
TAttLine.h:32
TPluginHandler
Definition:
TPluginManager.h:112