Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveFrameBox.hxx
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_REveFrameBox
13#define ROOT_REveFrameBox
14
15#include "ROOT/REveUtil.hxx"
16
17namespace ROOT {
18namespace Experimental {
19
21{
22public:
24
25private:
26 REveFrameBox(const REveFrameBox&) = delete;
28
29protected:
32 Float_t *fFramePoints; //[fFrameSize]
33
41
42public:
44 virtual ~REveFrameBox();
45
48
49 void SetQuadByPoints(const Float_t* pointArr, Int_t nPoints);
50
52 Float_t dx, Float_t dy, Float_t dz);
53
55 Float_t dx, Float_t dy, Float_t dz);
56
57 // ----------------------------------------------------------------
58
60 Int_t GetFrameSize() const { return fFrameSize; }
61 Float_t* GetFramePoints() const { return fFramePoints; }
62
63 Float_t GetFrameWidth() const { return fFrameWidth; }
65
66 Color_t GetFrameColor() const { return fFrameColor; }
69
70 void SetFrameColor(Color_t ci);
73
74 Color_t GetBackColor() const { return fBackColor; }
77
78 void SetBackColor(Color_t ci);
79 void SetBackColorPixel(Pixel_t pix);
81
82 Bool_t GetFrameFill() const { return fFrameFill; }
84
85 Bool_t GetDrawBack() const { return fDrawBack; }
87
88 void OnZeroRefCount() override { delete this; }
89
90};
91
92} // namespace Experimental
93} // namespace ROOT
94#endif
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
ROOT::R::TRInterface & r
Definition Object.C:4
#define b(i)
Definition RSha256.hxx:100
#define f(i)
Definition RSha256.hxx:104
#define g(i)
Definition RSha256.hxx:105
#define a(i)
Definition RSha256.hxx:99
unsigned char UChar_t
Definition RtypesCore.h:38
short Color_t
Definition RtypesCore.h:92
float Float_t
Definition RtypesCore.h:57
void SetAAQuadXZ(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dz)
Setup for axis-aligned rectangle with one corner at x, y, z and given sizes in x (dx) and z (dz).
void SetFrameColor(Color_t ci)
Set color of the frame.
void SetBackColor(Color_t ci)
Set color of the background polygon.
void SetQuadByPoints(const Float_t *pointArr, Int_t nPoints)
Setup frame with explicitly given corner coordinates.
void SetAAQuadXY(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy)
Setup for axis-aligned rectangle with one corner at x, y, z and given sizes in x (dx) and y (dy).
REveFrameBox(const REveFrameBox &)=delete
void SetFrameColorPixel(Pixel_t pix)
Set color of the frame.
virtual ~REveFrameBox()
Destructor.
EFrameType_e GetFrameType() const
void SetAABox(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy, Float_t dz)
Setup for axis-aligned box with one corner at x, y, z and given sizes in x (dx), y (dy) and z (dz).
void SetFrameColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set color of the frame.
REveFrameBox & operator=(const REveFrameBox &)=delete
void SetAABoxCenterHalfSize(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy, Float_t dz)
Setup for axis-aligned box with center at x, y, z and given half-sizes in x (dx), y (dy) and z (dz).
void SetBackColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set color of the background polygon.
void SetBackColorPixel(Pixel_t pix)
Set color of the background polygon.
REveRefBackPtr reference-count with back pointers.
Definition REveUtil.hxx:130
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...