Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TNodeDiv.h
Go to the documentation of this file.
1 // @(#)root/g3d:$Id$
2 // Author: Rene Brun 14/09/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 
13 //////////////////////////////////////////////////////////////////////////
14 // //
15 // TNodeDiv //
16 // //
17 // Description of parameters to divide a 3-D geometry object //
18 // //
19 // //
20 //////////////////////////////////////////////////////////////////////////
21 
22 #ifndef ROOT_TNodeDiv
23 #define ROOT_TNodeDiv
24 
25 #include "TNode.h"
26 
27 
28 class TNodeDiv : public TNode {
29 protected:
30  Int_t fNdiv; //Number of divisions
31  Int_t fAxis; //Axis number where object is divided
32 
33 public:
34  TNodeDiv();
35  TNodeDiv(const char *name, const char *title, const char *shapename, Int_t ndiv, Int_t axis, Option_t *option="");
36  TNodeDiv(const char *name, const char *title, TShape *shape, Int_t ndiv, Int_t axis, Option_t *option="");
37  virtual ~TNodeDiv();
38  virtual void Draw(Option_t *option="");
39  virtual void Paint(Option_t *option="");
40 
41  ClassDef(TNodeDiv,1) //Description of parameters to divide a 3-D geometry object
42 };
43 
44 #endif