12#ifndef ROOT_REveBoxSet
13#define ROOT_REveBoxSet
22namespace Experimental {
75 REveBoxSet(
const char*
n=
"REveBoxSet",
const char* t=
"");
87 void AddBox(
Float_t a,
Float_t b,
Float_t c,
Float_t w,
Float_t h,
Float_t d) {
AddInstanceScaled(
a,
b,
c,
w,
h,
d); }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint angle
Collection of 3D primitives (fixed-size boxes, boxes of different sizes, or arbitrary sexto-epipeds,...
void AddBox(Float_t a, Float_t b, Float_t c, Float_t w, Float_t h, Float_t d)
void SetBoxSkip(Int_t bs)
Bool_t GetDrawConeCap() const
void AddInstanceMat4(const Float_t *mat4)
Create shape with arbitrary transformtaion.
@ kBT_InstancedScaledRotated
void AddEllipticCone(const REveVector &pos, const REveVector &dir, Float_t r, Float_t r2, Float_t angle=0)
Create a cone with apex at pos, axis dir and radius r.
void ComputeBBox() override
Fill bounding-box information of the base-class TAttBBox (virtual method).
void AddBox(const Float_t *verts)
void SetShape(EShape_e x)
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
void BuildRenderData() override
Creates 3D point array for rendering.
REveBoxSet(const REveBoxSet &)=delete
friend class REveBoxSetGL
void Test(Int_t nboxes)
Fill the structure with a random set of boxes.
void SetDefDepth(Float_t v)
Float_t GetDefWidth() const
void AddCone(const REveVector &pos, const REveVector &dir, Float_t r)
Create a cone with apex at pos, axis dir and radius r.
void Reset()
Reset the data containers to zero size.
void SetDrawConeCap(Bool_t x)
void Reset(EBoxType_e boxType, Bool_t valIsCol, Int_t chunkSize)
Float_t GetDefHeight() const
REveBoxSet & operator=(const REveBoxSet &)=delete
void SetDefHeight(Float_t v)
void AddInstanceScaled(Float_t a, Float_t b, Float_t c, Float_t w, Float_t h, Float_t d)
Create a new axis-aligned box from at a given position and with specified dimensions.
void AddHex(const REveVector &pos, Float_t r, Float_t angle, Float_t depth)
Create a hexagonal prism with center of one hexagon at pos, radius of hexagon vertices r,...
unsigned int GetColorFromDigit(REveDigitSet::DigitBase_t &digit)
Get int value for color.
float GetColorFromDigitAsFloat(REveDigitSet::DigitBase_t &digit)
void WriteShapeData(REveDigitSet::DigitBase_t &digit)
Write shape data for different cases.
void AddFreeBox(const Float_t *verts)
Create a new box from a set of 8 vertices.
static Int_t SizeofAtom(EBoxType_e bt)
Return size of data-structure describing a box of type bt.
bool Instanced()
Use instancing in RenderCore.
void SetDefWidth(Float_t v)
Float_t GetDefDepth() const
void AddInstance(Float_t a, Float_t b, Float_t c)
Create a new axis-aligned box from at a given position.
void AddBox(Float_t a, Float_t b, Float_t c)
Geometrical transformation package.
This is the base class for the ROOT Random number generators.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...