Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveProjectionAxes.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Author: Matevz Tadel 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#ifndef ROOT_TEveProjectionAxes
13#define ROOT_TEveProjectionAxes
14
15#include "TNamed.h"
16#include "TAtt3D.h"
17#include "TAttBBox.h"
18#include "TAttAxis.h"
19
20#include "TEveElement.h"
21
23
25 public TNamed,
26 public TAtt3D,
27 public TAttBBox,
28 public TAttAxis
29{
31
32public:
35
36private:
37 TEveProjectionAxes(const TEveProjectionAxes&); // Not implemented
38 TEveProjectionAxes& operator=(const TEveProjectionAxes&); // Not implemented
39
40protected:
42
44
45 ELabMode fLabMode; // Division of distorted space.
46 EAxesMode fAxesMode; // Axis vertical/hotrizontal orientation.
47
48 Bool_t fDrawCenter; // Draw center of distortion.
49 Bool_t fDrawOrigin; // Draw origin.
50
51
52public:
54 virtual ~TEveProjectionAxes();
55
57
59 ELabMode GetLabMode() const { return fLabMode;}
61 EAxesMode GetAxesMode() const { return fAxesMode; }
62
64 Bool_t GetDrawCenter() const { return fDrawCenter; }
66 Bool_t GetDrawOrigin() const { return fDrawOrigin; }
67
68 virtual void Paint(Option_t* option="");
69 virtual void ComputeBBox();
70
71 virtual const TGPicture* GetListTreeIcon(Bool_t open=kFALSE);
72
73 ClassDef(TEveProjectionAxes, 0); // Class to draw scales in non-linear projections.
74};
75
76#endif
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kFALSE
Definition RtypesCore.h:101
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:337
Option_t Option_t option
Use this attribute class when an object should have 3D capabilities.
Definition TAtt3D.h:19
Manages histogram axis attributes.
Definition TAttAxis.h:18
Helper for management of bounding-box information.
Definition TAttBBox.h:18
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition TEveElement.h:36
OpenGL renderer class for TEveProjectionAxes.
Axes for non-linear projections.
void SetDrawOrigin(Bool_t x)
TEveProjectionAxes(const TEveProjectionAxes &)
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Return TEveProjectionAxes icon.
void SetLabMode(ELabMode x)
Bool_t GetDrawOrigin() const
virtual ~TEveProjectionAxes()
Destructor.
virtual void ComputeBBox()
Virtual from TAttBBox; fill bounding-box information.
EAxesMode GetAxesMode() const
TEveProjectionAxes & operator=(const TEveProjectionAxes &)
TEveProjectionManager * fManager
void SetAxesMode(EAxesMode x)
TEveProjectionManager * GetManager()
Bool_t GetDrawCenter() const
ELabMode GetLabMode() const
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
void SetDrawCenter(Bool_t x)
Manager class for steering of projections and managing projected objects.
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
Definition TGPicture.h:25
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29
Double_t x[n]
Definition legend1.C:17
TMarker m
Definition textangle.C:8