25REveFrameBox::REveFrameBox() :
26 fFrameType (kFT_None),
62 p[0] =
x; p[1] =
y; p[2] = z; p += 3;
63 p[0] =
x+dx; p[1] =
y; p[2] = z; p += 3;
64 p[0] =
x+dx; p[1] =
y+dy; p[2] = z; p += 3;
65 p[0] =
x ; p[1] =
y+dy; p[2] = z; p += 3;
80 p[0] =
x; p[1] =
y; p[2] = z; p += 3;
81 p[0] =
x+dx; p[1] =
y; p[2] = z; p += 3;
82 p[0] =
x+dx; p[1] =
y; p[2] = z+dz; p += 3;
83 p[0] =
x ; p[1] =
y; p[2] = z+dz; p += 3;
115 p[0] =
x; p[1] =
y + dy; p[2] = z; p += 3;
116 p[0] =
x + dx; p[1] =
y + dy; p[2] = z; p += 3;
117 p[0] =
x + dx; p[1] =
y; p[2] = z; p += 3;
118 p[0] =
x; p[1] =
y; p[2] = z; p += 3;
120 p[0] =
x; p[1] =
y + dy; p[2] = z + dz; p += 3;
121 p[0] =
x + dx; p[1] =
y + dy; p[2] = z + dz; p += 3;
122 p[0] =
x + dx; p[1] =
y; p[2] = z + dz; p += 3;
123 p[0] =
x; p[1] =
y; p[2] = z + dz;
140 p[0] =
x - dx; p[1] =
y + dy; p[2] = z - dz; p += 3;
141 p[0] =
x + dx; p[1] =
y + dy; p[2] = z - dz; p += 3;
142 p[0] =
x + dx; p[1] =
y - dy; p[2] = z - dz; p += 3;
143 p[0] =
x - dx; p[1] =
y - dy; p[2] = z - dz; p += 3;
145 p[0] =
x - dx; p[1] =
y + dy; p[2] = z + dz; p += 3;
146 p[0] =
x + dx; p[1] =
y + dy; p[2] = z + dz; p += 3;
147 p[0] =
x + dx; p[1] =
y - dy; p[2] = z + dz; p += 3;
148 p[0] =
x - dx; p[1] =
y - dy; p[2] = z + dz;
ULong_t Pixel_t
Pixel value.
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).
void SetFrameColorPixel(Pixel_t pix)
Set color of the frame.
virtual ~REveFrameBox()
Destructor.
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.
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.
static void ColorFromIdx(Color_t ci, UChar_t col[4], Bool_t alpha=kTRUE)
Fill col with RGBA values corresponding to index ci.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb",...