Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::Experimental::REveFrameBox Class Reference

Definition at line 20 of file REveFrameBox.hxx.

Public Types

enum  EFrameType_e { kFT_None , kFT_Quad , kFT_Box }

Public Member Functions

 REveFrameBox ()
 ~REveFrameBox () override
 Destructor.
void DecRefCount ()
virtual void DecRefCount (REveElement *re)
 Decrease reference count and remove re from the list of back-references.
Color_t GetBackColor () const
UChar_tGetBackRGBA ()
Bool_t GetDrawBack () const
Color_t GetFrameColor () const
Bool_t GetFrameFill () const
Float_tGetFramePoints () const
UChar_tGetFrameRGBA ()
Int_t GetFrameSize () const
EFrameType_e GetFrameType () const
Float_t GetFrameWidth () const
void IncRefCount ()
virtual void IncRefCount (REveElement *re)
 Increase reference count and add re to the list of back-references.
void OnZeroRefCount () override
Color_tPtrBackColor ()
Color_tPtrFrameColor ()
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 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 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).
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 SetBackColor (Color_t ci)
 Set color of the background polygon.
void SetBackColorPixel (Pixel_t pix)
 Set color of the background polygon.
void SetBackColorRGBA (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
 Set color of the background polygon.
void SetDrawBack (Bool_t f)
void SetFrameColor (Color_t ci)
 Set color of the frame.
void SetFrameColorPixel (Pixel_t pix)
 Set color of the frame.
void SetFrameColorRGBA (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
 Set color of the frame.
void SetFrameFill (Bool_t f)
void SetFrameWidth (Float_t f)
void SetQuadByPoints (const Float_t *pointArr, Int_t nPoints)
 Setup frame with explicitly given corner coordinates.
virtual void StampBackPtrElements (UChar_t stamps)
 Add given stamps to elements in the list of reverse references.

Protected Types

typedef std::map< REveElement *, Int_tRefMap_t

Protected Attributes

Color_t fBackColor
RefMap_t fBackRefs
UChar_t fBackRGBA [4]
Bool_t fDrawBack
Color_t fFrameColor
Bool_t fFrameFill
Float_tfFramePoints
UChar_t fFrameRGBA [4]
Int_t fFrameSize
EFrameType_e fFrameType
Float_t fFrameWidth
Int_t fRefCount {0}

Private Member Functions

 REveFrameBox (const REveFrameBox &)=delete
REveFrameBoxoperator= (const REveFrameBox &)=delete

#include <ROOT/REveFrameBox.hxx>

Inheritance diagram for ROOT::Experimental::REveFrameBox:
ROOT::Experimental::REveRefBackPtr ROOT::Experimental::REveRefCnt

Member Typedef Documentation

◆ RefMap_t

typedef std::map<REveElement *, Int_t> ROOT::Experimental::REveRefBackPtr::RefMap_t
protectedinherited

Definition at line 138 of file REveUtil.hxx.

Member Enumeration Documentation

◆ EFrameType_e

Enumerator
kFT_None 
kFT_Quad 
kFT_Box 

Definition at line 23 of file REveFrameBox.hxx.

Constructor & Destructor Documentation

◆ REveFrameBox() [1/2]

ROOT::Experimental::REveFrameBox::REveFrameBox ( const REveFrameBox & )
privatedelete

◆ REveFrameBox() [2/2]

REveFrameBox::REveFrameBox ( )

Definition at line 25 of file REveFrameBox.cxx.

◆ ~REveFrameBox()

REveFrameBox::~REveFrameBox ( )
override

Destructor.

Definition at line 45 of file REveFrameBox.cxx.

Member Function Documentation

◆ DecRefCount() [1/2]

Definition at line 118 of file REveUtil.hxx.

◆ DecRefCount() [2/2]

void REveRefBackPtr::DecRefCount ( REveElement * re)
virtualinherited

Decrease reference count and remove re from the list of back-references.

Definition at line 426 of file REveUtil.cxx.

◆ GetBackColor()

Color_t ROOT::Experimental::REveFrameBox::GetBackColor ( ) const
inline

Definition at line 74 of file REveFrameBox.hxx.

◆ GetBackRGBA()

UChar_t * ROOT::Experimental::REveFrameBox::GetBackRGBA ( )
inline

Definition at line 76 of file REveFrameBox.hxx.

◆ GetDrawBack()

Bool_t ROOT::Experimental::REveFrameBox::GetDrawBack ( ) const
inline

Definition at line 85 of file REveFrameBox.hxx.

◆ GetFrameColor()

Color_t ROOT::Experimental::REveFrameBox::GetFrameColor ( ) const
inline

Definition at line 66 of file REveFrameBox.hxx.

◆ GetFrameFill()

Bool_t ROOT::Experimental::REveFrameBox::GetFrameFill ( ) const
inline

Definition at line 82 of file REveFrameBox.hxx.

◆ GetFramePoints()

Float_t * ROOT::Experimental::REveFrameBox::GetFramePoints ( ) const
inline

Definition at line 61 of file REveFrameBox.hxx.

◆ GetFrameRGBA()

UChar_t * ROOT::Experimental::REveFrameBox::GetFrameRGBA ( )
inline

Definition at line 68 of file REveFrameBox.hxx.

◆ GetFrameSize()

Int_t ROOT::Experimental::REveFrameBox::GetFrameSize ( ) const
inline

Definition at line 60 of file REveFrameBox.hxx.

◆ GetFrameType()

EFrameType_e ROOT::Experimental::REveFrameBox::GetFrameType ( ) const
inline

Definition at line 59 of file REveFrameBox.hxx.

◆ GetFrameWidth()

Float_t ROOT::Experimental::REveFrameBox::GetFrameWidth ( ) const
inline

Definition at line 63 of file REveFrameBox.hxx.

◆ IncRefCount() [1/2]

Definition at line 117 of file REveUtil.hxx.

◆ IncRefCount() [2/2]

void REveRefBackPtr::IncRefCount ( REveElement * re)
virtualinherited

Increase reference count and add re to the list of back-references.

Definition at line 417 of file REveUtil.cxx.

◆ OnZeroRefCount()

void ROOT::Experimental::REveFrameBox::OnZeroRefCount ( )
inlineoverridevirtual

Implements ROOT::Experimental::REveRefCnt.

Definition at line 88 of file REveFrameBox.hxx.

◆ operator=()

REveFrameBox & ROOT::Experimental::REveFrameBox::operator= ( const REveFrameBox & )
privatedelete

◆ PtrBackColor()

Color_t * ROOT::Experimental::REveFrameBox::PtrBackColor ( )
inline

Definition at line 75 of file REveFrameBox.hxx.

◆ PtrFrameColor()

Color_t * ROOT::Experimental::REveFrameBox::PtrFrameColor ( )
inline

Definition at line 67 of file REveFrameBox.hxx.

◆ SetAABox()

void REveFrameBox::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).

Definition at line 105 of file REveFrameBox.cxx.

◆ SetAABoxCenterHalfSize()

void REveFrameBox::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).

Definition at line 130 of file REveFrameBox.cxx.

◆ SetAAQuadXY()

void REveFrameBox::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).

Definition at line 54 of file REveFrameBox.cxx.

◆ SetAAQuadXZ()

void REveFrameBox::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).

Definition at line 72 of file REveFrameBox.cxx.

◆ SetBackColor()

void REveFrameBox::SetBackColor ( Color_t ci)

Set color of the background polygon.

Definition at line 183 of file REveFrameBox.cxx.

◆ SetBackColorPixel()

void REveFrameBox::SetBackColorPixel ( Pixel_t pix)

Set color of the background polygon.

Definition at line 192 of file REveFrameBox.cxx.

◆ SetBackColorRGBA()

void REveFrameBox::SetBackColorRGBA ( UChar_t r,
UChar_t g,
UChar_t b,
UChar_t a = 255 )

Set color of the background polygon.

Definition at line 200 of file REveFrameBox.cxx.

◆ SetDrawBack()

void ROOT::Experimental::REveFrameBox::SetDrawBack ( Bool_t f)
inline

Definition at line 86 of file REveFrameBox.hxx.

◆ SetFrameColor()

void REveFrameBox::SetFrameColor ( Color_t ci)

Set color of the frame.

Definition at line 154 of file REveFrameBox.cxx.

◆ SetFrameColorPixel()

void REveFrameBox::SetFrameColorPixel ( Pixel_t pix)

Set color of the frame.

Definition at line 163 of file REveFrameBox.cxx.

◆ SetFrameColorRGBA()

void REveFrameBox::SetFrameColorRGBA ( UChar_t r,
UChar_t g,
UChar_t b,
UChar_t a = 255 )

Set color of the frame.

Definition at line 171 of file REveFrameBox.cxx.

◆ SetFrameFill()

void ROOT::Experimental::REveFrameBox::SetFrameFill ( Bool_t f)
inline

Definition at line 83 of file REveFrameBox.hxx.

◆ SetFrameWidth()

void ROOT::Experimental::REveFrameBox::SetFrameWidth ( Float_t f)
inline

Definition at line 64 of file REveFrameBox.hxx.

◆ SetQuadByPoints()

void REveFrameBox::SetQuadByPoints ( const Float_t * pointArr,
Int_t nPoints )

Setup frame with explicitly given corner coordinates.

Arguments:

  • pointArr - array containing the 3D points
  • nPoint - number of points, size of array divided by 3

Definition at line 92 of file REveFrameBox.cxx.

◆ StampBackPtrElements()

void REveRefBackPtr::StampBackPtrElements ( UChar_t stamps)
virtualinherited

Add given stamps to elements in the list of reverse references.

Definition at line 441 of file REveUtil.cxx.

Member Data Documentation

◆ fBackColor

Color_t ROOT::Experimental::REveFrameBox::fBackColor
protected

Definition at line 36 of file REveFrameBox.hxx.

◆ fBackRefs

RefMap_t ROOT::Experimental::REveRefBackPtr::fBackRefs
protectedinherited

Definition at line 140 of file REveUtil.hxx.

◆ fBackRGBA

UChar_t ROOT::Experimental::REveFrameBox::fBackRGBA[4]
protected

Definition at line 38 of file REveFrameBox.hxx.

◆ fDrawBack

Bool_t ROOT::Experimental::REveFrameBox::fDrawBack
protected

Definition at line 40 of file REveFrameBox.hxx.

◆ fFrameColor

Color_t ROOT::Experimental::REveFrameBox::fFrameColor
protected

Definition at line 35 of file REveFrameBox.hxx.

◆ fFrameFill

Bool_t ROOT::Experimental::REveFrameBox::fFrameFill
protected

Definition at line 39 of file REveFrameBox.hxx.

◆ fFramePoints

Float_t* ROOT::Experimental::REveFrameBox::fFramePoints
protected

Definition at line 32 of file REveFrameBox.hxx.

◆ fFrameRGBA

UChar_t ROOT::Experimental::REveFrameBox::fFrameRGBA[4]
protected

Definition at line 37 of file REveFrameBox.hxx.

◆ fFrameSize

Int_t ROOT::Experimental::REveFrameBox::fFrameSize
protected

Definition at line 31 of file REveFrameBox.hxx.

◆ fFrameType

EFrameType_e ROOT::Experimental::REveFrameBox::fFrameType
protected

Definition at line 30 of file REveFrameBox.hxx.

◆ fFrameWidth

Float_t ROOT::Experimental::REveFrameBox::fFrameWidth
protected

Definition at line 34 of file REveFrameBox.hxx.

◆ fRefCount

Int_t ROOT::Experimental::REveRefCnt::fRefCount {0}
protectedinherited

Definition at line 111 of file REveUtil.hxx.


The documentation for this class was generated from the following files: