library: libCore #include "TBuffer3D.h"

# TBuffer3D

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

## class TBuffer3D : public TObject

| Inheritance Chart:

`TObject`

<-

`TBuffer3D`

        public:

                          TBuffer3D()
                          TBuffer3D(Int_t n1, Int_t n2, Int_t n3)
                          TBuffer3D(const TBuffer3D&)
                  virtual ~TBuffer3D()
           static TClass* Class()
          virtual TClass* IsA() const
               TBuffer3D& operator=(const TBuffer3D&)
             virtual void Paint(Option_t* option)
                     void ReAllocate(Int_t n1, Int_t n2, Int_t n3)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        public:

            static const TBuffer3D::EBuffer3DType kANY
            static const TBuffer3D::EBuffer3DType kBRIK
            static const TBuffer3D::EBuffer3DType kPGON
            static const TBuffer3D::EBuffer3DType kPCON
            static const TBuffer3D::EBuffer3DType kSPHE
            static const TBuffer3D::EBuffer3DType kTUBE
            static const TBuffer3D::EBuffer3DType kTUBS
            static const TBuffer3D::EBuffer3DType kTORUS
            static const TBuffer3D::EBuffer3DType kXTRU
            static const TBuffer3D::EBuffer3DType kLINE
            static const TBuffer3D::EBuffer3DType kCSHAPE
            static const TBuffer3D::EBuffer3DType kPARA
            static const TBuffer3D::EBuffer3DType kM3DBOX
            static const TBuffer3D::EBuffer3DType kMARKER
          static const TBuffer3D::EBuffer3DOption kPAD
          static const TBuffer3D::EBuffer3DOption kRANGE
          static const TBuffer3D::EBuffer3DOption kSIZE
          static const TBuffer3D::EBuffer3DOption kX3D
          static const TBuffer3D::EBuffer3DOption kOGL
                    static const enum TBuffer3D:: kIsReflection
                                             char fTransparency  percentage of tranparency [0,100]
                                         TObject* fId            Pointer to he original object
                                            Int_t fOption        Option (see EBuffer3DOption)
                                            Int_t fType          Primitive type (see EBuffer3DType)
                                            Int_t fNbPnts        Number of points describing the shape
                                            Int_t fNbSegs        Number of segments describing the shape
                                            Int_t fNbPols        Number of polygons describing the shape
                                           Int_t* fSegs          c0, p0, q0, c1, p1, q1, ..... ..... ....
                                           Int_t* fPols          c0, n0, s0, s1, ... sn, c1, n1, s0, ... sn
                                            Int_t fPntsSize      Current size of fPnts
                                            Int_t fSegsSize      Current size of fSegs
                                            Int_t fPolsSize      Current size of fSegs
                                            Int_t fColor         Color index
                                        Double_t* fPnts          x0, y0, z0, x1, y1, z1, ..... ..... ....

## Class Description

TBuffer3D()

TBuffer3D(Int_t n1, Int_t n2, Int_t n3)

~TBuffer3D()

void Paint(Option_t *option)

void ReAllocate(Int_t n1, Int_t n2, Int_t n3)

### Inline Functions

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

Author: Olivier Couet 05/05/04
Last update: root/base:$Name: $:$Id: TBuffer3D.cxx,v 1.00
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *