Logo ROOT  
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
22private:
23 TEvePlot3D(const TEvePlot3D&); // Not implemented
24 TEvePlot3D& operator=(const TEvePlot3D&); // Not implemented
25
26protected:
27 TObject *fPlot; // Plot object.
28 TString fPlotOption; // Options for the plot-painter.
29
33
34public:
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
const char Option_t
Definition: RtypesCore.h:66
#define ClassDef(name, id)
Definition: Rtypes.h:335
Option_t Option_t option
A list of TEveElements.
Definition: TEveElement.h:433
OpenGL renderer class for TEvePlot3D.
Definition: TEvePlot3DGL.h:24
Description of TEvePlot3D.
Definition: TEvePlot3D.h:19
void SetLogY(Bool_t l)
Definition: TEvePlot3D.h:46
void SetLogX(Bool_t l)
Definition: TEvePlot3D.h:45
Bool_t fLogY
Definition: TEvePlot3D.h:31
void SetLogXYZ(Bool_t lx, Bool_t ly, Bool_t lz)
Definition: TEvePlot3D.h:43
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
Definition: TEvePlot3D.cxx:36
Bool_t GetLogX() const
Definition: TEvePlot3D.h:49
Bool_t GetLogY() const
Definition: TEvePlot3D.h:50
virtual ~TEvePlot3D()
Definition: TEvePlot3D.h:36
TObject * fPlot
Definition: TEvePlot3D.h:27
Bool_t fLogX
Definition: TEvePlot3D.h:30
TEvePlot3D(const TEvePlot3D &)
TString GetPlotOption() const
Definition: TEvePlot3D.h:41
Bool_t GetLogZ() const
Definition: TEvePlot3D.h:51
TEvePlot3D & operator=(const TEvePlot3D &)
TObject * GetPlot() const
Definition: TEvePlot3D.h:40
void SetPlot(TObject *obj, const TString &opt)
Definition: TEvePlot3D.h:38
TString fPlotOption
Definition: TEvePlot3D.h:28
void SetLogZ(Bool_t l)
Definition: TEvePlot3D.h:47
Bool_t fLogZ
Definition: TEvePlot3D.h:32
Mother of all ROOT objects.
Definition: TObject.h:37
Basic string class.
Definition: TString.h:136
const Int_t n
Definition: legend1.C:16
auto * l
Definition: textangle.C:4