Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveBoxSet Class Reference

Collection of 3D primitives (fixed-size boxes, boxes of different sizes, or arbitrary sexto-epipeds, cones).

Each primitive can be assigned a signal value and a TRef.

A collection of 3D-markers. The way how they are defined depends on the fBoxType data-member.

  • kBT_Vertices arbitrary box: specify its 8 vertices, 8*(x,y,z)
  • kBT_InstancedScaled axis-aligned box of its own size
  • kBT_Instanced axis-aligned box of the default size, set by SetDefWidth() & co., or SetDefHalfWidth() & co.
  • kBT_InstancedScaledRotated any transformation of the instance shape, a box, hexagonal prism or cone: AddInstanceMat4(), AddHex(), AddCone(), AddEllipticCone()

An axis-aligned box is stored as its centre and half size, and spans centre - half size to centre + half size. AddInstance() and AddInstanceScaled() take the centre and the half size. AddInstanceCorner() and AddInstanceScaledCorner() take the lower corner and the full size, as TEveBoxSet's AddBox() does. The default size of a kBT_Instanced box is set as the full size with SetDefWidth(), SetDefHeight() and SetDefDepth(), or as the half size with SetDefHalfWidth(), SetDefHalfHeight() and SetDefHalfDepth(). It defaults to 1, a unit box, as in TEveBoxSet.

Each primitive can be assigned:

  1. Color or signal value. Thresholds and signal-to-color mapping can then be set dynamically via the REveRGBAPalette class.
  2. External TObject* (stored as TRef).

See also base-class REveDigitSet for more information. Tutorial: tutorials/visualisation/eve/boxset_test.C


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