library: libGeom #include "TGeoVoxelFinder.h"

# TGeoFullVoxels

class description - source file - inheritance tree (.pdf)

## class TGeoFullVoxels : public TGeoVoxelFinder

| Inheritance Chart:
`TObject`
| <- | `TGeoVoxelFinder`
| <- | `TGeoFullVoxels` |

        public:

                          TGeoFullVoxels()
                          TGeoFullVoxels(TGeoVolume* vol)
                          TGeoFullVoxels(const TGeoFullVoxels&)
                  virtual ~TGeoFullVoxels()
           static TClass* Class()
           virtual Int_t* GetCheckList(Double_t* point, Int_t& nelem)
                 UChar_t* GetVoxel(Int_t i, Int_t j, Int_t k) const
           virtual Int_t* GetVoxelCandidates(Int_t i, Int_t j, Int_t k, Int_t& ncheck)
          virtual TClass* IsA() const
          TGeoFullVoxels& operator=(const TGeoFullVoxels&)
             virtual void Print(Option_t* option = "") const
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
             virtual void Voxelize(Option_t* option)

### Data Members

        private:

             Int_t fNvoxels
             Int_t fNvx      number of slices on X
             Int_t fNvy      number of slices on Y
             Int_t fNvz      number of slices on Z
          UChar_t* fVox      [fNvoxels] voxels storage array

## Class Description

     Full description with examples and pictures

/* */

TGeoFullVoxels()

     Default constructor

TGeoFullVoxels(TGeoVolume *vol) :TGeoVoxelFinder(vol)

     Constructor

~TGeoFullVoxels()

     Destructor

void Voxelize(Option_t *)

    --- Voxelize fVolume.
       printf("Voxelizing %s\n", fVolume->GetName());

Int_t* GetVoxelCandidates(Int_t i, Int_t j, Int_t k, Int_t &ncheck)

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

Int_t* GetCheckList(Double_t *point, Int_t &nelem)

     get the list of daughter indices for which point is inside their bbox

void Print(Option_t *) const

### Inline Functions

                   UChar_t* GetVoxel(Int_t i, Int_t j, Int_t k) const
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
             TGeoFullVoxels TGeoFullVoxels(const TGeoFullVoxels&)
            TGeoFullVoxels& operator=(const TGeoFullVoxels&)

Author: Andrei Gheata 04/02/02
Last update: root/geom:$Name: $:$Id: TGeoVoxelFinder.cxx,v 1.24 2005/06/13 12:17:32 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *