Skip to content
Snippets Groups Projects
Commit 2b6aa9a8 authored by Olivier Couet's avatar Olivier Couet
Browse files

- Class header.

git-svn-id: http://root.cern.ch/svn/root/trunk@21392 27541ba8-7e3a-0410-8455-c3a389f83636
parent 44be02e6
No related branches found
No related tags found
No related merge requests found
......@@ -14,32 +14,36 @@
ClassImp(TNodeDiv)
//______________________________________________________________________________
/* Begin_Html
<center><h2>The TNodeDiv class</h2></center>
Description of parameters to divide a 3-D geometry object.
End_Html */
//______________________________________________________________________________
TNodeDiv::TNodeDiv()
{
//*-*-*-*-*-*-*-*-*-*-*NodeDiv default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* ===========================
// NodeDiv default constructor.
fNdiv = 0;
fAxis = 0;
}
//______________________________________________________________________________
TNodeDiv::TNodeDiv(const char *name, const char *title, const char *shapename, Int_t ndiv, Int_t axis, Option_t *option)
:TNode(name,title,shapename,0,0,0,0,option)
{
//*-*-*-*-*-*-*-*-*-*-*NodeDiv normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* ==========================
//*-*
//*-* name is the name of the node
//*-* title is title
//*-* shapename is the name of the referenced shape
//*-* x,y,z are the offsets of the volume with respect to his mother
//*-* matrixname is the name of the rotation matrix
//*-*
//*-* This new node is added into the list of sons of the current node
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
// NodeDiv normal constructor.
//
// name is the name of the node
// title is title
// shapename is the name of the referenced shape
// x,y,z are the offsets of the volume with respect to his mother
// matrixname is the name of the rotation matrix
//
// This new node is added into the list of sons of the current node
fNdiv = ndiv;
fAxis = axis;
......@@ -50,42 +54,37 @@ TNodeDiv::TNodeDiv(const char *name, const char *title, const char *shapename, I
TNodeDiv::TNodeDiv(const char *name, const char *title, TShape *shape, Int_t ndiv, Int_t axis, Option_t *option)
:TNode(name,title,shape,0,0,0,0,option)
{
//*-*-*-*-*-*-*-*-*-*-*NodeDiv normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* =========================
//*-*
//*-* name is the name of the node
//*-* title is title
//*-* shape is the pointer to the shape definition
//*-* ndiv number of divisions
//*-* axis number of the axis for the division
//*-*
//*-* This new node is added into the list of sons of the current node
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
// NodeDiv normal constructor.
//
// name is the name of the node
// title is title
// shape is the pointer to the shape definition
// ndiv number of divisions
// axis number of the axis for the division
//
// This new node is added into the list of sons of the current node
fNdiv = ndiv;
fAxis = axis;
}
//______________________________________________________________________________
TNodeDiv::~TNodeDiv()
{
//*-*-*-*-*-*-*-*-*-*-*NodeDiv default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
//*-* ==========================
// NodeDiv default destructor.
}
//______________________________________________________________________________
void TNodeDiv::Draw(Option_t *)
{
//*-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters*-*-*-*
//*-* =============================================
// Draw Referenced node with current parameters.
}
//______________________________________________________________________________
void TNodeDiv::Paint(Option_t *)
{
//*-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters*-*-*-*
//*-* ==============================================
// Paint Referenced node with current parameters.
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment