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
28class TNodeDiv : public TNode {
29protected:
30 Int_t fNdiv; //Number of divisions
31 Int_t fAxis; //Axis number where object is divided
32
33public:
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
const char Option_t
Definition: RtypesCore.h:64
#define ClassDef(name, id)
Definition: Rtypes.h:322
char name[80]
Definition: TGX11.cxx:109
Description of parameters to divide a 3-D geometry object.
Definition: TNodeDiv.h:28
TNodeDiv()
NodeDiv default constructor.
Definition: TNodeDiv.cxx:25
Int_t fAxis
Definition: TNodeDiv.h:31
virtual void Paint(Option_t *option="")
Paint Referenced node with current parameters.
Definition: TNodeDiv.cxx:84
Int_t fNdiv
Definition: TNodeDiv.h:30
virtual void Draw(Option_t *option="")
Draw Referenced node with current parameters.
Definition: TNodeDiv.cxx:77
virtual ~TNodeDiv()
NodeDiv default destructor.
Definition: TNodeDiv.cxx:70
TNode description.
Definition: TNode.h:33
This is the base class for all geometry shapes.
Definition: TShape.h:35