TNodeDiv.h

Go to the documentation of this file.
00001 // @(#)root/g3d:$Id: TNodeDiv.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Rene Brun   14/09/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 
00013 //////////////////////////////////////////////////////////////////////////
00014 //                                                                      //
00015 // TNodeDiv                                                             //
00016 //                                                                      //
00017 // Description of parameters to divide a 3-D geometry object            //
00018 //                                                                      //
00019 //                                                                      //
00020 //////////////////////////////////////////////////////////////////////////
00021 
00022 #ifndef ROOT_TNodeDiv
00023 #define ROOT_TNodeDiv
00024 
00025 #ifndef ROOT_TNode
00026 #include "TNode.h"
00027 #endif
00028 
00029 
00030 class TNodeDiv  : public TNode {
00031 protected:
00032    Int_t           fNdiv;        //Number of divisions
00033    Int_t           fAxis;        //Axis number where object is divided
00034 
00035 public:
00036    TNodeDiv();
00037    TNodeDiv(const char *name, const char *title, const char *shapename, Int_t ndiv, Int_t axis, Option_t *option="");
00038    TNodeDiv(const char *name, const char *title, TShape *shape, Int_t ndiv, Int_t axis, Option_t *option="");
00039    virtual ~TNodeDiv();
00040    virtual void             Draw(Option_t *option="");
00041    virtual void             Paint(Option_t *option="");
00042 
00043    ClassDef(TNodeDiv,1)  //Description of parameters to divide a 3-D geometry object
00044 };
00045 
00046 #endif

Generated on Tue Jul 5 14:16:20 2011 for ROOT_528-00b_version by  doxygen 1.5.1