ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 {
30  friend class TEveProjectionAxesGL;
31 
32 public:
35 
36 private:
37  TEveProjectionAxes(const TEveProjectionAxes&); // Not implemented
38  TEveProjectionAxes& operator=(const TEveProjectionAxes&); // Not implemented
39 
40 protected:
41  TEveProjectionManager* fManager; // Model object.
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 
52 public:
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, 1); // Class to draw scales in non-linear projections.
74 };
75 
76 #endif
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Return TEveProjectionAxes icon.
void SetAxesMode(EAxesMode x)
void SetDrawCenter(Bool_t x)
ClassDef(TEveProjectionAxes, 1)
TEveProjectionManager * fManager
void SetLabMode(ELabMode x)
const char Option_t
Definition: RtypesCore.h:62
virtual void ComputeBBox()
Virtual from TAttBBox; fill bounding-box information.
Use this attribute class when an object should have 3D capabilities.
Definition: TAtt3D.h:29
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kFALSE
Definition: Rtypes.h:92
Axes for non-linear projections.
Manages histogram axis attributes.
Definition: TAttAxis.h:32
Double_t x[n]
Definition: legend1.C:17
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
Manager class for steering of projections and managing projected objects.
Bool_t GetDrawCenter() const
TMarker * m
Definition: textangle.C:8
TEveProjectionAxes & operator=(const TEveProjectionAxes &)
TEveProjectionAxes(const TEveProjectionAxes &)
EAxesMode GetAxesMode() const
void SetDrawOrigin(Bool_t x)
virtual ~TEveProjectionAxes()
Destructor.
Bool_t GetDrawOrigin() const
TEveProjectionManager * GetManager()
Helper for management of bounding-box information.
Definition: TAttBBox.h:19
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
const Bool_t kTRUE
Definition: Rtypes.h:91
ELabMode GetLabMode() const
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition: TEveElement.h:33
OpenGL renderer class for TEveProjectionAxes.