Logo ROOT  
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 #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
TNodeDiv::Draw
virtual void Draw(Option_t *option="")
Draw Referenced node with current parameters.
Definition: TNodeDiv.cxx:76
TNodeDiv::Paint
virtual void Paint(Option_t *option="")
Paint Referenced node with current parameters.
Definition: TNodeDiv.cxx:83
TNodeDiv::TNodeDiv
TNodeDiv()
NodeDiv default constructor.
Definition: TNodeDiv.cxx:24
TNode.h
TNodeDiv::~TNodeDiv
virtual ~TNodeDiv()
NodeDiv default destructor.
Definition: TNodeDiv.cxx:69
Option_t
const typedef char Option_t
Definition: RtypesCore.h:66
TNodeDiv
Definition: TNodeDiv.h:28
TShape
Definition: TShape.h:35
TNode
Definition: TNode.h:33
TNodeDiv::fAxis
Int_t fAxis
Definition: TNodeDiv.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
TNodeDiv::fNdiv
Int_t fNdiv
Definition: TNodeDiv.h:36
int