ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGeoVoxelFinder Class Reference

Definition at line 27 of file TGeoVoxelFinder.h.

Public Types

enum  EVoxelsType { kGeoInvalidVoxels = BIT(15), kGeoRebuildVoxels = BIT(16) }
 
- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

Public Member Functions

 TGeoVoxelFinder ()
 
 TGeoVoxelFinder (TGeoVolume *vol)
 Default constructor. More...
 
virtual ~TGeoVoxelFinder ()
 Destructor printf("deleting finder of %s\n", fVolume->GetName());. More...
 
void DaughterToMother (Int_t id, const Double_t *local, Double_t *master) const
 convert a point from the local reference system of node id to reference system of mother volume More...
 
virtual Double_t Efficiency ()
 — Compute voxelization efficiency. More...
 
virtual Int_tGetCheckList (const Double_t *point, Int_t &nelem, TGeoStateInfo &td)
 get the list of daughter indices for which point is inside their bbox More...
 
Int_tGetCheckList (Int_t &nelem, TGeoStateInfo &td) const
 
virtual Int_tGetNextCandidates (const Double_t *point, Int_t &ncheck, TGeoStateInfo &td)
 Returns list of new candidates in next voxel. More...
 
virtual void FindOverlaps (Int_t inode) const
 create the list of nodes for which the bboxes overlap with inode's bbox More...
 
Bool_t IsInvalid () const
 
Bool_t NeedRebuild () const
 
Double_tGetBoxes () const
 
Bool_t IsSafeVoxel (const Double_t *point, Int_t inode, Double_t minsafe) const
 Computes squared distance from POINT to the voxel(s) containing node INODE. More...
 
virtual void Print (Option_t *option="") const
 Print the voxels. More...
 
void PrintVoxelLimits (const Double_t *point) const
 print the voxel containing point More...
 
void SetInvalid (Bool_t flag=kTRUE)
 
void SetNeedRebuild (Bool_t flag=kTRUE)
 
virtual Int_tGetNextVoxel (const Double_t *point, const Double_t *dir, Int_t &ncheck, TGeoStateInfo &td)
 get the list of new candidates for the next voxel crossed by current ray printf("### GetNextVoxel\n"); More...
 
virtual void SortCrossedVoxels (const Double_t *point, const Double_t *dir, TGeoStateInfo &td)
 get the list in the next voxel crossed by a ray More...
 
virtual void Voxelize (Option_t *option="")
 Voxelize attached volume according to option If the volume is an assembly, make sure the bbox is computed. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsSortable () const
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Protected Member Functions

 TGeoVoxelFinder (const TGeoVoxelFinder &)
 copy constructor More...
 
TGeoVoxelFinderoperator= (const TGeoVoxelFinder &)
 assignment operator More...
 
void BuildVoxelLimits ()
 build the array of bounding boxes of the nodes inside More...
 
Int_tGetExtraX (Int_t islice, Bool_t left, Int_t &nextra) const
 — Return the list of extra candidates in a given X slice compared to another (left or right) More...
 
Int_tGetExtraY (Int_t islice, Bool_t left, Int_t &nextra) const
 — Return the list of extra candidates in a given Y slice compared to another (left or right) More...
 
Int_tGetExtraZ (Int_t islice, Bool_t left, Int_t &nextra) const
 — Return the list of extra candidates in a given Z slice compared to another (left or right) More...
 
Bool_t GetIndices (const Double_t *point, TGeoStateInfo &td)
 Getindices for current slices on x, y, z. More...
 
Int_t GetPriority (Int_t iaxis) const
 
Int_t GetNcandidates (TGeoStateInfo &td) const
 
Int_tGetValidExtra (Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are not contained in current check list UChar_t *bits = gGeoManager->GetBits();. More...
 
Int_tGetValidExtra (Int_t n1, UChar_t *array1, Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are contained in array1 but not in current check list UChar_t *bits = gGeoManager->GetBits();. More...
 
Int_tGetValidExtra (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t *list, Int_t &ncheck, TGeoStateInfo &td)
 Get extra candidates that are contained in array1 but not in current check list UChar_t *bits = gGeoManager->GetBits();. More...
 
Int_tGetVoxelCandidates (Int_t i, Int_t j, Int_t k, Int_t &ncheck, TGeoStateInfo &td)
 get the list of candidates in voxel (i,j,k) - no check More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to one array of bits More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to the intersection of two arrays of bits More...
 
Bool_t Intersect (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, Int_t &nf, Int_t *result)
 return the list of nodes corresponding to the intersection of three arrays of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 return the list of nodes corresponding to one array of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, TGeoStateInfo &td)
 return the list of nodes corresponding to the intersection of two arrays of bits More...
 
Bool_t IntersectAndStore (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, TGeoStateInfo &td)
 return the list of nodes corresponding to the intersection of three arrays of bits More...
 
void SortAll (Option_t *option="")
 order bounding boxes along x, y, z More...
 
Bool_t Union (Int_t n1, UChar_t *array1, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - one slice\n"); More...
 
Bool_t Union (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - two slices\n"); More...
 
Bool_t Union (Int_t n1, UChar_t *array1, Int_t n2, UChar_t *array2, Int_t n3, UChar_t *array3, TGeoStateInfo &td)
 make union of older bits with new array printf("Union - three slices\n"); printf("n1=%i n2=%i n3=%i\n", n1,n2,n3); More...
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

Protected Attributes

TGeoVolumefVolume
 
Int_t fIbx
 
Int_t fIby
 
Int_t fIbz
 
Int_t fNboxes
 
Int_t fNox
 
Int_t fNoy
 
Int_t fNoz
 
Int_t fNex
 
Int_t fNey
 
Int_t fNez
 
Int_t fNx
 
Int_t fNy
 
Int_t fNz
 
Int_t fPriority [3]
 
Double_tfBoxes
 
Double_tfXb
 
Double_tfYb
 
Double_tfZb
 
Int_tfOBx
 
Int_tfOBy
 
Int_tfOBz
 
Int_tfOEx
 
Int_tfOEy
 
Int_tfOEz
 
Int_tfExtraX
 
Int_tfExtraY
 
Int_tfExtraZ
 
Int_tfNsliceX
 
Int_tfNsliceY
 
Int_tfNsliceZ
 
UChar_tfIndcX
 
UChar_tfIndcY
 
UChar_tfIndcZ
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

#include <TGeoVoxelFinder.h>

+ Inheritance diagram for TGeoVoxelFinder:
+ Collaboration diagram for TGeoVoxelFinder:

Member Enumeration Documentation

Enumerator
kGeoInvalidVoxels 
kGeoRebuildVoxels 

Definition at line 30 of file TGeoVoxelFinder.h.

Constructor & Destructor Documentation

TGeoVoxelFinder::TGeoVoxelFinder ( const TGeoVoxelFinder vf)
protected

copy constructor

Definition at line 134 of file TGeoVoxelFinder.cxx.

TGeoVoxelFinder::TGeoVoxelFinder ( )
TGeoVoxelFinder::TGeoVoxelFinder ( TGeoVolume vol)

Default constructor.

Definition at line 87 of file TGeoVoxelFinder.cxx.

TGeoVoxelFinder::~TGeoVoxelFinder ( )
virtual

Destructor printf("deleting finder of %s\n", fVolume->GetName());.

Definition at line 226 of file TGeoVoxelFinder.cxx.

Member Function Documentation

void TGeoVoxelFinder::BuildVoxelLimits ( )
protected

build the array of bounding boxes of the nodes inside

Definition at line 271 of file TGeoVoxelFinder.cxx.

Referenced by Voxelize().

void TGeoVoxelFinder::DaughterToMother ( Int_t  id,
const Double_t local,
Double_t master 
) const

convert a point from the local reference system of node id to reference system of mother volume

Definition at line 316 of file TGeoVoxelFinder.cxx.

Referenced by BuildVoxelLimits().

Double_t TGeoVoxelFinder::Efficiency ( )
virtual

— Compute voxelization efficiency.

Definition at line 348 of file TGeoVoxelFinder.cxx.

void TGeoVoxelFinder::FindOverlaps ( Int_t  inode) const
virtual

create the list of nodes for which the bboxes overlap with inode's bbox

Definition at line 395 of file TGeoVoxelFinder.cxx.

Referenced by TGeoChecker::CheckOverlaps(), TGeoVolume::FindOverlaps(), and TGeoChecker::NChecksPerVolume().

Double_t* TGeoVoxelFinder::GetBoxes ( ) const
inline
Int_t * TGeoVoxelFinder::GetCheckList ( const Double_t point,
Int_t nelem,
TGeoStateInfo td 
)
virtual
Int_t * TGeoVoxelFinder::GetCheckList ( Int_t nelem,
TGeoStateInfo td 
) const

Definition at line 262 of file TGeoVoxelFinder.cxx.

Int_t * TGeoVoxelFinder::GetExtraX ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

— Return the list of extra candidates in a given X slice compared to another (left or right)

Definition at line 492 of file TGeoVoxelFinder.cxx.

Referenced by GetNextCandidates(), and Print().

Int_t * TGeoVoxelFinder::GetExtraY ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

— Return the list of extra candidates in a given Y slice compared to another (left or right)

Definition at line 511 of file TGeoVoxelFinder.cxx.

Referenced by GetNextCandidates(), and Print().

Int_t * TGeoVoxelFinder::GetExtraZ ( Int_t  islice,
Bool_t  left,
Int_t nextra 
) const
protected

— Return the list of extra candidates in a given Z slice compared to another (left or right)

Definition at line 530 of file TGeoVoxelFinder.cxx.

Referenced by GetNextCandidates(), and Print().

Bool_t TGeoVoxelFinder::GetIndices ( const Double_t point,
TGeoStateInfo td 
)
protected

Getindices for current slices on x, y, z.

Definition at line 447 of file TGeoVoxelFinder.cxx.

Referenced by SortCrossedVoxels().

Int_t TGeoVoxelFinder::GetNcandidates ( TGeoStateInfo td) const
protected

Definition at line 255 of file TGeoVoxelFinder.cxx.

Int_t * TGeoVoxelFinder::GetNextCandidates ( const Double_t point,
Int_t ncheck,
TGeoStateInfo td 
)
virtual

Returns list of new candidates in next voxel.

If NULL, nowhere to go next.

Definition at line 612 of file TGeoVoxelFinder.cxx.

Referenced by GetNextVoxel().

Int_t * TGeoVoxelFinder::GetNextVoxel ( const Double_t point,
const Double_t dir,
Int_t ncheck,
TGeoStateInfo td 
)
virtual

get the list of new candidates for the next voxel crossed by current ray printf("### GetNextVoxel\n");

Definition at line 1468 of file TGeoVoxelFinder.cxx.

Referenced by TGeoShapeAssembly::DistFromOutside(), TGeoParallelWorld::FindNextBoundary(), and TGeoNavigator::FindNextDaughterBoundary().

Int_t TGeoVoxelFinder::GetPriority ( Int_t  iaxis) const
inlineprotected

Definition at line 80 of file TGeoVoxelFinder.h.

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are not contained in current check list UChar_t *bits = gGeoManager->GetBits();.

Definition at line 549 of file TGeoVoxelFinder.cxx.

Referenced by GetNextCandidates().

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t  n1,
UChar_t array1,
Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are contained in array1 but not in current check list UChar_t *bits = gGeoManager->GetBits();.

Definition at line 570 of file TGeoVoxelFinder.cxx.

Int_t * TGeoVoxelFinder::GetValidExtra ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t list,
Int_t ncheck,
TGeoStateInfo td 
)
protected

Get extra candidates that are contained in array1 but not in current check list UChar_t *bits = gGeoManager->GetBits();.

Definition at line 591 of file TGeoVoxelFinder.cxx.

Int_t * TGeoVoxelFinder::GetVoxelCandidates ( Int_t  i,
Int_t  j,
Int_t  k,
Int_t ncheck,
TGeoStateInfo td 
)
protected

get the list of candidates in voxel (i,j,k) - no check

Definition at line 1404 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to one array of bits

Definition at line 1491 of file TGeoVoxelFinder.cxx.

Referenced by GetCheckList(), and GetVoxelCandidates().

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to the intersection of two arrays of bits

Definition at line 1647 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::Intersect ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
Int_t nf,
Int_t result 
)
protected

return the list of nodes corresponding to the intersection of three arrays of bits

Definition at line 1704 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to one array of bits

Definition at line 1520 of file TGeoVoxelFinder.cxx.

Referenced by GetNextCandidates(), and SortCrossedVoxels().

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to the intersection of two arrays of bits

Definition at line 1676 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::IntersectAndStore ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
TGeoStateInfo td 
)
protected

return the list of nodes corresponding to the intersection of three arrays of bits

Definition at line 1733 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::IsInvalid ( ) const
inline

Definition at line 110 of file TGeoVoxelFinder.h.

Referenced by TGeoVolume::GetVoxels(), and TGeoVolume::Voxelize().

Bool_t TGeoVoxelFinder::IsSafeVoxel ( const Double_t point,
Int_t  inode,
Double_t  minsafe 
) const

Computes squared distance from POINT to the voxel(s) containing node INODE.

Returns 0 if POINT inside voxel(s).

Definition at line 326 of file TGeoVoxelFinder.cxx.

Referenced by TGeoShapeAssembly::DistFromOutside(), TGeoParallelWorld::FindNextBoundary(), and TGeoNavigator::FindNextDaughterBoundary().

Bool_t TGeoVoxelFinder::NeedRebuild ( ) const
inline
TGeoVoxelFinder & TGeoVoxelFinder::operator= ( const TGeoVoxelFinder vf)
protected

assignment operator

Definition at line 178 of file TGeoVoxelFinder.cxx.

void TGeoVoxelFinder::Print ( Option_t option = "") const
virtual

Print the voxels.

Reimplemented from TObject.

Definition at line 2184 of file TGeoVoxelFinder.cxx.

Referenced by TGeoVolume::PrintVoxels().

void TGeoVoxelFinder::PrintVoxelLimits ( const Double_t point) const

print the voxel containing point

Definition at line 2286 of file TGeoVoxelFinder.cxx.

Referenced by TGeoNode::PrintCandidates().

void TGeoVoxelFinder::SetInvalid ( Bool_t  flag = kTRUE)
inline

Definition at line 116 of file TGeoVoxelFinder.h.

Referenced by SortAll().

void TGeoVoxelFinder::SetNeedRebuild ( Bool_t  flag = kTRUE)
inline
void TGeoVoxelFinder::SortAll ( Option_t option = "")
protected

order bounding boxes along x, y, z

Definition at line 1760 of file TGeoVoxelFinder.cxx.

Referenced by Voxelize().

void TGeoVoxelFinder::SortCrossedVoxels ( const Double_t point,
const Double_t dir,
TGeoStateInfo td 
)
virtual

get the list in the next voxel crossed by a ray

Definition at line 1173 of file TGeoVoxelFinder.cxx.

Referenced by TGeoShapeAssembly::DistFromOutside(), TGeoParallelWorld::FindNextBoundary(), and TGeoNavigator::FindNextDaughterBoundary().

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - one slice\n");

Definition at line 1562 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - two slices\n");

Definition at line 1595 of file TGeoVoxelFinder.cxx.

Bool_t TGeoVoxelFinder::Union ( Int_t  n1,
UChar_t array1,
Int_t  n2,
UChar_t array2,
Int_t  n3,
UChar_t array3,
TGeoStateInfo td 
)
protected

make union of older bits with new array printf("Union - three slices\n"); printf("n1=%i n2=%i n3=%i\n", n1,n2,n3);

Definition at line 1622 of file TGeoVoxelFinder.cxx.

void TGeoVoxelFinder::Voxelize ( Option_t option = "")
virtual

Member Data Documentation

Double_t* TGeoVoxelFinder::fBoxes
protected
Int_t* TGeoVoxelFinder::fExtraX
protected

Definition at line 62 of file TGeoVoxelFinder.h.

Referenced by GetExtraX(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fExtraY
protected

Definition at line 63 of file TGeoVoxelFinder.h.

Referenced by GetExtraY(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fExtraZ
protected

Definition at line 64 of file TGeoVoxelFinder.h.

Referenced by GetExtraZ(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fIbx
protected
Int_t TGeoVoxelFinder::fIby
protected
Int_t TGeoVoxelFinder::fIbz
protected
UChar_t* TGeoVoxelFinder::fIndcX
protected
UChar_t* TGeoVoxelFinder::fIndcY
protected
UChar_t* TGeoVoxelFinder::fIndcZ
protected
Int_t TGeoVoxelFinder::fNboxes
protected

Definition at line 41 of file TGeoVoxelFinder.h.

Referenced by BuildVoxelLimits(), operator=(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNex
protected

Definition at line 45 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNey
protected

Definition at line 46 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNez
protected

Definition at line 47 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNox
protected

Definition at line 42 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNoy
protected

Definition at line 43 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNoz
protected

Definition at line 44 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fNsliceX
protected
Int_t* TGeoVoxelFinder::fNsliceY
protected
Int_t* TGeoVoxelFinder::fNsliceZ
protected
Int_t TGeoVoxelFinder::fNx
protected

Definition at line 48 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNy
protected

Definition at line 49 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fNz
protected

Definition at line 50 of file TGeoVoxelFinder.h.

Referenced by operator=(), SortAll(), and TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fOBx
protected
Int_t* TGeoVoxelFinder::fOBy
protected
Int_t* TGeoVoxelFinder::fOBz
protected
Int_t* TGeoVoxelFinder::fOEx
protected

Definition at line 59 of file TGeoVoxelFinder.h.

Referenced by GetExtraX(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fOEy
protected

Definition at line 60 of file TGeoVoxelFinder.h.

Referenced by GetExtraY(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t* TGeoVoxelFinder::fOEz
protected

Definition at line 61 of file TGeoVoxelFinder.h.

Referenced by GetExtraZ(), operator=(), SortAll(), TGeoVoxelFinder(), and ~TGeoVoxelFinder().

Int_t TGeoVoxelFinder::fPriority[3]
protected
TGeoVolume* TGeoVoxelFinder::fVolume
protected
Double_t* TGeoVoxelFinder::fXb
protected
Double_t* TGeoVoxelFinder::fYb
protected
Double_t* TGeoVoxelFinder::fZb
protected

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