Logo ROOT   6.14/05
Reference Guide
TEvePlot3D.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel, 2009
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 #ifndef ROOT_TEvePlot3D
13 #define ROOT_TEvePlot3D
14 
15 #include "TEveElement.h"
16 #include "TAttBBox.h"
17 
19 {
20  friend class TEvePlot3DGL;
21 
22 private:
23  TEvePlot3D(const TEvePlot3D&); // Not implemented
24  TEvePlot3D& operator=(const TEvePlot3D&); // Not implemented
25 
26 protected:
27  TObject *fPlot; // Plot object.
28  TString fPlotOption; // Options for the plot-painter.
29 
33 
34 public:
35  TEvePlot3D(const char* n="TEvePlot3D", const char* t="");
36  virtual ~TEvePlot3D() {}
37 
38  void SetPlot(TObject* obj, const TString& opt) { fPlot = obj; fPlotOption = opt; }
39 
40  TObject* GetPlot() const { return fPlot; }
41  TString GetPlotOption() const { return fPlotOption; }
42 
43  void SetLogXYZ(Bool_t lx, Bool_t ly, Bool_t lz) { fLogX = lx; fLogY = ly; fLogZ = lz; }
44 
45  void SetLogX(Bool_t l) { fLogX = l; }
46  void SetLogY(Bool_t l) { fLogY = l; }
47  void SetLogZ(Bool_t l) { fLogZ = l; }
48 
49  Bool_t GetLogX() const { return fLogX; }
50  Bool_t GetLogY() const { return fLogY; }
51  Bool_t GetLogZ() const { return fLogZ; }
52 
53  virtual void Paint(Option_t* option="");
54 
55  ClassDef(TEvePlot3D, 0); // Short description.
56 };
57 
58 #endif
void SetLogY(Bool_t l)
Definition: TEvePlot3D.h:46
TEvePlot3D(const TEvePlot3D &)
const char Option_t
Definition: RtypesCore.h:62
Bool_t fLogZ
Definition: TEvePlot3D.h:32
Basic string class.
Definition: TString.h:131
bool Bool_t
Definition: RtypesCore.h:59
void SetPlot(TObject *obj, const TString &opt)
Definition: TEvePlot3D.h:38
A list of TEveElements.
Definition: TEveElement.h:459
Bool_t GetLogZ() const
Definition: TEvePlot3D.h:51
void SetLogZ(Bool_t l)
Definition: TEvePlot3D.h:47
#define ClassDef(name, id)
Definition: Rtypes.h:320
TString GetPlotOption() const
Definition: TEvePlot3D.h:41
TObject * fPlot
Definition: TEvePlot3D.h:27
TObject * GetPlot() const
Definition: TEvePlot3D.h:40
virtual ~TEvePlot3D()
Definition: TEvePlot3D.h:36
OpenGL renderer class for TEvePlot3D.
Definition: TEvePlot3DGL.h:23
Description of TEvePlot3D.
Definition: TEvePlot3D.h:18
Bool_t fLogY
Definition: TEvePlot3D.h:31
void SetLogXYZ(Bool_t lx, Bool_t ly, Bool_t lz)
Definition: TEvePlot3D.h:43
TString fPlotOption
Definition: TEvePlot3D.h:28
Bool_t fLogX
Definition: TEvePlot3D.h:30
Mother of all ROOT objects.
Definition: TObject.h:37
Bool_t GetLogX() const
Definition: TEvePlot3D.h:49
Bool_t GetLogY() const
Definition: TEvePlot3D.h:50
void SetLogX(Bool_t l)
Definition: TEvePlot3D.h:45
auto * l
Definition: textangle.C:4
TEvePlot3D & operator=(const TEvePlot3D &)
const Int_t n
Definition: legend1.C:16
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
Definition: TEvePlot3D.cxx:36