ROOT
Version v6.32
master
v6.34
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
▼
graf3d
►
eve
►
eve7
▼
g3d
doc
►
inc
▼
src
►
TAxis3D.cxx
TBRIK.cxx
►
TCONE.cxx
►
TCONS.cxx
►
TCTUB.cxx
►
TELTU.cxx
►
TGeometry.cxx
►
TGTRA.cxx
THelix.cxx
►
THYPE.cxx
TMarker3DBox.cxx
TMaterial.cxx
TMixture.cxx
►
TNode.cxx
►
TNodeDiv.cxx
►
TPARA.cxx
TPCON.cxx
►
TPGON.cxx
►
TPoints3DABC.cxx
TPointSet3D.cxx
TPolyLine3D.cxx
►
TPolyMarker3D.cxx
TRotMatrix.cxx
TShape.cxx
TSPHE.cxx
►
TTRAP.cxx
►
TTRD1.cxx
►
TTRD2.cxx
TTUBE.cxx
TTUBS.cxx
►
TView3D.cxx
TXTRU.cxx
►
X3DBuffer.c
►
gl
►
gviz3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TNodeDiv.cxx
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
#include "
TNodeDiv.h
"
13
14
ClassImp
(
TNodeDiv
);
15
16
/** \class TNodeDiv
17
\ingroup g3d
18
Description of parameters to divide a 3-D geometry object.
19
*/
20
21
////////////////////////////////////////////////////////////////////////////////
22
/// NodeDiv default constructor.
23
24
TNodeDiv::TNodeDiv
()
25
{
26
fNdiv
= 0;
27
fAxis
= 0;
28
}
29
30
////////////////////////////////////////////////////////////////////////////////
31
/// NodeDiv normal constructor.
32
///
33
/// - name is the name of the node
34
/// - title is title
35
/// - shapename is the name of the referenced shape
36
/// - x,y,z are the offsets of the volume with respect to his mother
37
/// - matrixname is the name of the rotation matrix
38
///
39
/// This new node is added into the list of sons of the current node
40
41
TNodeDiv::TNodeDiv
(
const
char
*
name
,
const
char
*title,
const
char
*
shapename
,
Int_t
ndiv,
Int_t
axis,
Option_t
*
option
)
42
:
TNode
(
name
, title,
shapename
, 0, 0, 0,
""
,
option
)
43
{
44
fNdiv
= ndiv;
45
fAxis
= axis;
46
}
47
48
////////////////////////////////////////////////////////////////////////////////
49
/// NodeDiv normal constructor.
50
///
51
/// - name is the name of the node
52
/// - title is title
53
/// - shape is the pointer to the shape definition
54
/// - ndiv number of divisions
55
/// - axis number of the axis for the division
56
///
57
/// This new node is added into the list of sons of the current node
58
59
TNodeDiv::TNodeDiv
(
const
char
*
name
,
const
char
*title,
TShape
*shape,
Int_t
ndiv,
Int_t
axis,
Option_t
*
option
)
60
:
TNode
(
name
, title, shape, 0, 0, 0, nullptr,
option
)
61
{
62
fNdiv
= ndiv;
63
fAxis
= axis;
64
}
65
66
////////////////////////////////////////////////////////////////////////////////
67
/// NodeDiv default destructor.
68
69
TNodeDiv::~TNodeDiv
()
70
{
71
}
72
73
////////////////////////////////////////////////////////////////////////////////
74
/// Draw Referenced node with current parameters.
75
76
void
TNodeDiv::Draw
(
Option_t
*)
77
{
78
}
79
80
////////////////////////////////////////////////////////////////////////////////
81
/// Paint Referenced node with current parameters.
82
83
void
TNodeDiv::Paint
(
Option_t
*)
84
{
85
}
Option_t
const char Option_t
Definition
RtypesCore.h:66
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
option
Option_t Option_t option
Definition
TGWin32VirtualXProxy.cxx:44
name
char name[80]
Definition
TGX11.cxx:110
TNodeDiv.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TNodeDiv
Description of parameters to divide a 3-D geometry object.
Definition
TNodeDiv.h:28
TNodeDiv::Paint
void Paint(Option_t *option="") override
Paint Referenced node with current parameters.
Definition
TNodeDiv.cxx:83
TNodeDiv::TNodeDiv
TNodeDiv()
NodeDiv default constructor.
Definition
TNodeDiv.cxx:24
TNodeDiv::fAxis
Int_t fAxis
Definition
TNodeDiv.h:31
TNodeDiv::~TNodeDiv
~TNodeDiv() override
NodeDiv default destructor.
Definition
TNodeDiv.cxx:69
TNodeDiv::fNdiv
Int_t fNdiv
Definition
TNodeDiv.h:30
TNodeDiv::Draw
void Draw(Option_t *option="") override
Draw Referenced node with current parameters.
Definition
TNodeDiv.cxx:76
TNode
TNode description.
Definition
TNode.h:33
TShape
This is the base class for all geometry shapes.
Definition
TShape.h:35
int
graf3d
g3d
src
TNodeDiv.cxx
ROOT v6-32 - Reference Guide Generated on Sun Apr 13 2025 06:50:35 (GVA Time) using Doxygen 1.10.0