Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TNodeDiv.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/g3d:$Id$
0002 // Author: Rene Brun   14/09/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 
0013 //////////////////////////////////////////////////////////////////////////
0014 //                                                                      //
0015 // TNodeDiv                                                             //
0016 //                                                                      //
0017 // Description of parameters to divide a 3-D geometry object            //
0018 //                                                                      //
0019 //                                                                      //
0020 //////////////////////////////////////////////////////////////////////////
0021 
0022 #ifndef ROOT_TNodeDiv
0023 #define ROOT_TNodeDiv
0024 
0025 #include "TNode.h"
0026 
0027 
0028 class TNodeDiv  : public TNode {
0029 protected:
0030    Int_t           fNdiv;        //Number of divisions
0031    Int_t           fAxis;        //Axis number where object is divided
0032 
0033 public:
0034    TNodeDiv();
0035    TNodeDiv(const char *name, const char *title, const char *shapename, Int_t ndiv, Int_t axis, Option_t *option="");
0036    TNodeDiv(const char *name, const char *title, TShape *shape, Int_t ndiv, Int_t axis, Option_t *option="");
0037    ~TNodeDiv() override;
0038    void             Draw(Option_t *option="") override;
0039    void             Paint(Option_t *option="") override;
0040 
0041    ClassDefOverride(TNodeDiv,1)  //Description of parameters to divide a 3-D geometry object
0042 };
0043 
0044 #endif