ROOT  6.06/09
Reference Guide
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 #ifndef ROOT_TNode
26 #include "TNode.h"
27 #endif
28 
29 
30 class TNodeDiv : public TNode {
31 protected:
32  Int_t fNdiv; //Number of divisions
33  Int_t fAxis; //Axis number where object is divided
34 
35 public:
36  TNodeDiv();
37  TNodeDiv(const char *name, const char *title, const char *shapename, Int_t ndiv, Int_t axis, Option_t *option="");
38  TNodeDiv(const char *name, const char *title, TShape *shape, Int_t ndiv, Int_t axis, Option_t *option="");
39  virtual ~TNodeDiv();
40  virtual void Draw(Option_t *option="");
41  virtual void Paint(Option_t *option="");
42 
43  ClassDef(TNodeDiv,1) //Description of parameters to divide a 3-D geometry object
44 };
45 
46 #endif
Int_t fNdiv
Definition: TNodeDiv.h:32
virtual void Draw(Option_t *option="")
Draw Referenced node with current parameters.
Definition: TNodeDiv.cxx:77
const char Option_t
Definition: RtypesCore.h:62
TNode description.
Definition: TNode.h:43
int Int_t
Definition: RtypesCore.h:41
ClassDef(TAttLine, 2)
virtual void Paint(Option_t *option="")
Paint Referenced node with current parameters.
Definition: TNodeDiv.cxx:84
This is the base class for all geometry shapes.
Definition: TShape.h:47
Int_t fAxis
Definition: TNodeDiv.h:33
virtual ~TNodeDiv()
NodeDiv default destructor.
Definition: TNodeDiv.cxx:70
#define name(a, b)
Definition: linkTestLib0.cpp:5
Description of parameters to divide a 3-D geometry object.
Definition: TNodeDiv.h:30