3 #ifndef REVE_FrameBox_H
4 #define REVE_FrameBox_H
12 class FrameBox : public TObject, public ReferenceBackPtr
14 friend class FrameBoxGL;
17 enum FrameType_e { FT_None, FT_Quad, FT_Box };
20 FrameBox(const FrameBox&); // Not implemented
21 FrameBox& operator=(const FrameBox&); // Not implemented
24 FrameType_e fFrameType;
26 Float_t *fFramePoints; //[fFrameSize]
29 UChar_t fFrameRGBA[4];
35 void SetAAQuadXY(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dy);
36 void SetAAQuadXZ(Float_t x, Float_t y, Float_t z, Float_t dx, Float_t dz);
38 void SetAABox(Float_t x, Float_t y, Float_t z,
39 Float_t dx, Float_t dy, Float_t dz);
41 // ----------------------------------------------------------------
43 FrameType_e GetFrameType() const { return fFrameType; }
44 Int_t GetFrameSize() const { return fFrameSize; }
45 Float_t* GetFramePoints() const { return fFramePoints; }
47 Color_t GetFrameColor() const { return fFrameColor; }
48 Color_t* PtrFrameColor() { return &fFrameColor; }
49 UChar_t* GetFrameRGBA() { return fFrameRGBA; }
51 void SetFrameColor(Color_t ci);
52 void SetFrameColor(Pixel_t pix);
53 void SetFrameColor(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255);
55 ClassDef(FrameBox, 1);
56 }; // endclass FrameBox