library: libGraf3d #include "TNodeDiv.h"

# TNodeDiv

class description - source file - inheritance tree (.pdf)

## class TNodeDiv : public TNode

| Inheritance Chart:

`TObject`

<-

`TNamed`

`TAttLine`

`TAttFill`

`TAtt3D`

<-

`TNode`

<-

`TNodeDiv`

        public:

                          TNodeDiv()
                          TNodeDiv(const char* name, const char* title, const char* shapename, Int_t ndiv, Int_t axis, Option_t* option = "")
                          TNodeDiv(const char* name, const char* title, TShape* shape, Int_t ndiv, Int_t axis, Option_t* option = "")
                          TNodeDiv(const TNodeDiv&)
                  virtual ~TNodeDiv()
           static TClass* Class()
             virtual void Draw(Option_t* option = "")
          virtual TClass* IsA() const
                TNodeDiv& operator=(const TNodeDiv&)
             virtual void Paint(Option_t* option = "")
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Int_t fNdiv  Number of divisions
          Int_t fAxis  Axis number where object is divided

## Class Description

TNodeDiv()

    *-*-*-*-*-*-*-*-*-*-*NodeDiv default constructor*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ===========================

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
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

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
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

~TNodeDiv()

    *-*-*-*-*-*-*-*-*-*-*NodeDiv default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  ==========================

void Draw(Option_t *)

    *-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters*-*-*-*
    *-*                   =============================================

void Paint(Option_t *)

    *-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters*-*-*-*
    *-*                   ==============================================

### Inline Functions

                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
               TNodeDiv TNodeDiv(const TNodeDiv&)
              TNodeDiv& operator=(const TNodeDiv&)

Author: Rene Brun 14/09/95
Last update: root/g3d:$Name: $:$Id: TNodeDiv.cxx,v 1.1.1.1 2000/05/16 17:00:43 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *