TBuffer3D Class Reference

#include <TBuffer3D.h>

Inheritance diagram for TBuffer3D:

TObject TObject TBuffer3DSphere TBuffer3DSphere TBuffer3DTube TBuffer3DTube TBuffer3DTubeSeg TBuffer3DTubeSeg TBuffer3DTubeSeg TBuffer3DTubeSeg TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube TBuffer3DCutTube List of all members.

Public Types

enum  EBoolOpCode
enum  ESection
enum  EBoolOpCode
enum  ESection

Public Member Functions

 TBuffer3D (Int_t type, UInt_t reqPnts=0, UInt_t reqPntsCapacity=0, UInt_t reqSegs=0, UInt_t reqSegsCapacity=0, UInt_t reqPols=0, UInt_t reqPolsCapacity=0)
virtual ~TBuffer3D ()
void SetSectionsValid (UInt_t mask)
void ClearSectionsValid ()
Bool_t SectionsValid (UInt_t mask) const
UInt_t GetSections (UInt_t mask) const
void SetLocalMasterIdentity ()
void SetAABoundingBox (const Double_t origin[3], const Double_t halfLengths[3])
Bool_t SetRawSizes (UInt_t reqPnts, UInt_t reqPntsCapacity, UInt_t reqSegs, UInt_t reqSegsCapacity, UInt_t reqPols, UInt_t reqPolsCapacity)
UInt_t NbPnts () const
UInt_t NbSegs () const
UInt_t NbPols () const
Int_t Type () const
 TBuffer3D (Int_t type, UInt_t reqPnts=0, UInt_t reqPntsCapacity=0, UInt_t reqSegs=0, UInt_t reqSegsCapacity=0, UInt_t reqPols=0, UInt_t reqPolsCapacity=0)
virtual ~TBuffer3D ()
void SetSectionsValid (UInt_t mask)
void ClearSectionsValid ()
Bool_t SectionsValid (UInt_t mask) const
UInt_t GetSections (UInt_t mask) const
void SetLocalMasterIdentity ()
void SetAABoundingBox (const Double_t origin[3], const Double_t halfLengths[3])
Bool_t SetRawSizes (UInt_t reqPnts, UInt_t reqPntsCapacity, UInt_t reqSegs, UInt_t reqSegsCapacity, UInt_t reqPols, UInt_t reqPolsCapacity)
UInt_t NbPnts () const
UInt_t NbSegs () const
UInt_t NbPols () const
Int_t Type () const

Static Public Member Functions

static UInt_t GetCSLevel ()
static void IncCSLevel ()
static UInt_t DecCSLevel ()
static UInt_t GetCSLevel ()
static void IncCSLevel ()
static UInt_t DecCSLevel ()

Public Attributes

TObjectfID
Int_t fColor
Short_t fTransparency
Bool_t fLocalFrame
Bool_t fReflection
Double_t fLocalMaster [16]
Double_t fBBVertex [8][3]
Double_tfPnts
Int_tfSegs
Int_tfPols
UInt_t fPhysicalID
TObjectfID
Double_tfPnts
Int_tfSegs
Int_tfPols

Private Member Functions

void Init ()
 TBuffer3D (const TBuffer3D &)
const TBuffer3Doperator= (const TBuffer3D &)
void Init ()
 TBuffer3D (const TBuffer3D &)
const TBuffer3Doperator= (const TBuffer3D &)

Private Attributes

const Int_t fType
UInt_t fNbPnts
UInt_t fNbSegs
UInt_t fNbPols
UInt_t fPntsCapacity
UInt_t fSegsCapacity
UInt_t fPolsCapacity
UInt_t fSections

Static Private Attributes

static UInt_t fgCSLevel

Detailed Description

Definition at line 27 of file TBuffer3D.h.


Member Enumeration Documentation

enum TBuffer3D::EBoolOpCode

Definition at line 53 of file TBuffer3D.h.

enum TBuffer3D::ESection

Definition at line 60 of file TBuffer3D.h.

enum TBuffer3D::EBoolOpCode

Definition at line 53 of file TBuffer3D.h.

enum TBuffer3D::ESection

Definition at line 60 of file TBuffer3D.h.


Constructor & Destructor Documentation

TBuffer3D::TBuffer3D ( const TBuffer3D  )  [private]

TBuffer3D::TBuffer3D ( Int_t  type,
UInt_t  reqPnts = 0,
UInt_t  reqPntsCapacity = 0,
UInt_t  reqSegs = 0,
UInt_t  reqSegsCapacity = 0,
UInt_t  reqPols = 0,
UInt_t  reqPolsCapacity = 0 
)

TBuffer3D::~TBuffer3D (  )  [virtual]

Definition at line 227 of file TBuffer3D.cxx.

References fPnts, fPols, and fSegs.

TBuffer3D::TBuffer3D ( const TBuffer3D  )  [private]

TBuffer3D::TBuffer3D ( Int_t  type,
UInt_t  reqPnts = 0,
UInt_t  reqPntsCapacity = 0,
UInt_t  reqSegs = 0,
UInt_t  reqSegsCapacity = 0,
UInt_t  reqPols = 0,
UInt_t  reqPolsCapacity = 0 
)

virtual TBuffer3D::~TBuffer3D (  )  [virtual]


Member Function Documentation

void TBuffer3D::Init (  )  [private]

Definition at line 237 of file TBuffer3D.cxx.

References ClearSectionsValid(), fBBVertex, fColor, fID, fLocalFrame, fNbPnts, fNbPols, fNbSegs, fPhysicalID, fPnts, fPntsCapacity, fPols, fPolsCapacity, fReflection, fSegs, fSegsCapacity, fTransparency, i, kFALSE, and SetLocalMasterIdentity().

const TBuffer3D& TBuffer3D::operator= ( const TBuffer3D  )  [private]

UInt_t TBuffer3D::GetCSLevel (  )  [static]

Definition at line 477 of file TBuffer3D.cxx.

References fgCSLevel.

Referenced by TEveGeoPolyShape::Construct(), G__G__Base1_137_0_4(), G__setup_memfuncTBuffer3D(), TEveGeoShape::Paint(), and TGeoCompositeShape::PaintComposite().

void TBuffer3D::IncCSLevel (  )  [static]

Definition at line 484 of file TBuffer3D.cxx.

References fgCSLevel.

Referenced by TEveGeoPolyShape::Construct(), G__G__Base1_137_0_5(), G__setup_memfuncTBuffer3D(), TEveGeoShape::Paint(), and TGeoCompositeShape::PaintComposite().

UInt_t TBuffer3D::DecCSLevel (  )  [static]

Definition at line 491 of file TBuffer3D.cxx.

References fgCSLevel.

Referenced by TEveGeoPolyShape::Construct(), G__G__Base1_137_0_6(), G__setup_memfuncTBuffer3D(), TEveGeoShape::Paint(), and TGeoCompositeShape::PaintComposite().

void TBuffer3D::SetSectionsValid ( UInt_t  mask  )  [inline]

Definition at line 76 of file TBuffer3D.h.

References fSections, and kAll.

Referenced by TEveGeoPolyShape::Construct(), TEveGeoShape::Paint(), TEveElement::PaintStandard(), and TEveGeoShapeProjected::UpdateProjection().

void TBuffer3D::ClearSectionsValid (  ) 

Definition at line 277 of file TBuffer3D.cxx.

References fSections, and SetRawSizes().

Referenced by Init().

Bool_t TBuffer3D::SectionsValid ( UInt_t  mask  )  const [inline]

Definition at line 78 of file TBuffer3D.h.

References GetSections().

UInt_t TBuffer3D::GetSections ( UInt_t  mask  )  const [inline]

Definition at line 79 of file TBuffer3D.h.

References fSections.

Referenced by SectionsValid().

void TBuffer3D::SetLocalMasterIdentity (  ) 

Definition at line 285 of file TBuffer3D.cxx.

References fLocalMaster, and i.

Referenced by TEveGeoPolyShape::Construct(), and Init().

void TBuffer3D::SetAABoundingBox ( const Double_t  origin[3],
const Double_t  halfLengths[3] 
)

Definition at line 300 of file TBuffer3D.cxx.

References fBBVertex.

Referenced by TEveGeoPolyShape::Construct(), and TEveGeoShape::Paint().

Bool_t TBuffer3D::SetRawSizes ( UInt_t  reqPnts,
UInt_t  reqPntsCapacity,
UInt_t  reqSegs,
UInt_t  reqSegsCapacity,
UInt_t  reqPols,
UInt_t  reqPolsCapacity 
)

Definition at line 348 of file TBuffer3D.cxx.

References fNbPnts, fNbPols, fNbSegs, fPnts, fPntsCapacity, fPols, fPolsCapacity, fSegs, fSegsCapacity, kFALSE, and kTRUE.

Referenced by ClearSectionsValid(), TGeoChecker::MakeCheckOverlap(), and TGeoPainter::ShapeDistancetoPrimitive().

UInt_t TBuffer3D::NbPnts (  )  const [inline]

Definition at line 91 of file TBuffer3D.h.

References fNbPnts.

Referenced by TEveGeoShapeProjected::ComputeBBox(), RootCsg::ConvertToMesh(), TGeoBBox::GetPointsOnSegments(), TEveGeoShape::MakeBuffer3D(), TGeoChecker::MakeCheckOverlap(), TEvePolygonSetProjected::ProjectAndReducePoints(), and TEveGeoShapeProjected::UpdateProjection().

UInt_t TBuffer3D::NbSegs (  )  const [inline]

Definition at line 92 of file TBuffer3D.h.

References fNbSegs.

Referenced by TGeoBBox::GetPointsOnSegments(), TGeoChecker::MakeCheckOverlap(), TEvePolygonSetProjected::MakePolygonsFromBS(), TGeoTubeSeg::SetSegsAndPols(), and TGeoTorus::SetSegsAndPols().

UInt_t TBuffer3D::NbPols (  )  const [inline]

Definition at line 93 of file TBuffer3D.h.

References fNbPols.

Referenced by RootCsg::ConvertToMesh(), TEvePolygonSetProjected::DumpBuffer3D(), TGeoChecker::MakeCheckOverlap(), TEvePolygonSetProjected::MakePolygonsFromBP(), TGeoTubeSeg::SetSegsAndPols(), and TGeoTorus::SetSegsAndPols().

Int_t TBuffer3D::Type (  )  const [inline]

Definition at line 96 of file TBuffer3D.h.

References fType.

void TBuffer3D::Init (  )  [private]

const TBuffer3D& TBuffer3D::operator= ( const TBuffer3D  )  [private]

static UInt_t TBuffer3D::GetCSLevel (  )  [static]

static void TBuffer3D::IncCSLevel (  )  [static]

static UInt_t TBuffer3D::DecCSLevel (  )  [static]

void TBuffer3D::SetSectionsValid ( UInt_t  mask  )  [inline]

Definition at line 76 of file TBuffer3D.h.

References fSections, and kAll.

void TBuffer3D::ClearSectionsValid (  ) 

Bool_t TBuffer3D::SectionsValid ( UInt_t  mask  )  const [inline]

Definition at line 78 of file TBuffer3D.h.

References GetSections().

UInt_t TBuffer3D::GetSections ( UInt_t  mask  )  const [inline]

Definition at line 79 of file TBuffer3D.h.

References fSections.

void TBuffer3D::SetLocalMasterIdentity (  ) 

void TBuffer3D::SetAABoundingBox ( const Double_t  origin[3],
const Double_t  halfLengths[3] 
)

Bool_t TBuffer3D::SetRawSizes ( UInt_t  reqPnts,
UInt_t  reqPntsCapacity,
UInt_t  reqSegs,
UInt_t  reqSegsCapacity,
UInt_t  reqPols,
UInt_t  reqPolsCapacity 
)

UInt_t TBuffer3D::NbPnts (  )  const [inline]

Definition at line 91 of file TBuffer3D.h.

References fNbPnts.

UInt_t TBuffer3D::NbSegs (  )  const [inline]

Definition at line 92 of file TBuffer3D.h.

References fNbSegs.

UInt_t TBuffer3D::NbPols (  )  const [inline]

Definition at line 93 of file TBuffer3D.h.

References fNbPols.

Int_t TBuffer3D::Type (  )  const [inline]

Definition at line 96 of file TBuffer3D.h.

References fType.


Member Data Documentation

const Int_t TBuffer3D::fType [private]

Definition at line 30 of file TBuffer3D.h.

Referenced by Type().

UInt_t TBuffer3D::fNbPnts [private]

Definition at line 32 of file TBuffer3D.h.

Referenced by Init(), NbPnts(), and SetRawSizes().

UInt_t TBuffer3D::fNbSegs [private]

Definition at line 33 of file TBuffer3D.h.

Referenced by Init(), NbSegs(), and SetRawSizes().

UInt_t TBuffer3D::fNbPols [private]

Definition at line 34 of file TBuffer3D.h.

Referenced by Init(), NbPols(), and SetRawSizes().

UInt_t TBuffer3D::fPntsCapacity [private]

Definition at line 36 of file TBuffer3D.h.

Referenced by Init(), and SetRawSizes().

UInt_t TBuffer3D::fSegsCapacity [private]

Definition at line 37 of file TBuffer3D.h.

Referenced by Init(), and SetRawSizes().

UInt_t TBuffer3D::fPolsCapacity [private]

Definition at line 38 of file TBuffer3D.h.

Referenced by Init(), and SetRawSizes().

UInt_t TBuffer3D::fSections [private]

Definition at line 40 of file TBuffer3D.h.

Referenced by ClearSectionsValid(), GetSections(), and SetSectionsValid().

static UInt_t TBuffer3D::fgCSLevel [static, private]

Definition at line 49 of file TBuffer3D.h.

Referenced by DecCSLevel(), GetCSLevel(), and IncCSLevel().

TObject* TBuffer3D::fID

Definition at line 98 of file TBuffer3D.h.

Referenced by TEveGeoPolyShape::Construct(), Init(), TGeoChecker::MakeCheckOverlap(), TEveGeoShape::Paint(), and TEveElement::PaintStandard().

Int_t TBuffer3D::fColor

Definition at line 99 of file TBuffer3D.h.

Referenced by Init(), TEveGeoShape::Paint(), and TEveElement::PaintStandard().

Short_t TBuffer3D::fTransparency

Definition at line 100 of file TBuffer3D.h.

Referenced by Init(), TEveGeoShape::Paint(), and TEveElement::PaintStandard().

Bool_t TBuffer3D::fLocalFrame

Definition at line 101 of file TBuffer3D.h.

Referenced by TEveGeoPolyShape::Construct(), Init(), TEveGeoShape::Paint(), and TEveTrans::SetBuffer3D().

Bool_t TBuffer3D::fReflection

Definition at line 102 of file TBuffer3D.h.

Referenced by Init().

Double_t TBuffer3D::fLocalMaster

Definition at line 103 of file TBuffer3D.h.

Referenced by TEveTrans::SetBuffer3D(), and SetLocalMasterIdentity().

Double_t TBuffer3D::fBBVertex

Definition at line 118 of file TBuffer3D.h.

Referenced by Init(), and SetAABoundingBox().

Double_t* TBuffer3D::fPnts

Definition at line 123 of file TBuffer3D.h.

Referenced by TEveGeoShapeProjected::ComputeBBox(), RootCsg::ConvertToMesh(), TEvePolygonSetProjected::DumpBuffer3D(), TGeoBBox::GetPointsOnSegments(), Init(), TEveGeoShape::MakeBuffer3D(), TGeoBBox::MakeBuffer3D(), TGeoPgon::MakeBuffer3D(), TGeoTubeSeg::MakeBuffer3D(), TGeoHype::MakeBuffer3D(), TGeoSphere::MakeBuffer3D(), TGeoScaledShape::MakeBuffer3D(), TGeoCone::MakeBuffer3D(), TGeoConeSeg::MakeBuffer3D(), TGeoTube::MakeBuffer3D(), TGeoTorus::MakeBuffer3D(), TGeoPcon::MakeBuffer3D(), TGeoChecker::MakeCheckOverlap(), TEvePolygonSetProjected::ProjectAndReducePoints(), SetRawSizes(), TGeoPainter::ShapeDistancetoPrimitive(), TEveGeoShapeProjected::UpdateProjection(), and ~TBuffer3D().

Int_t* TBuffer3D::fSegs

Definition at line 124 of file TBuffer3D.h.

Referenced by RootCsg::ConvertToMesh(), TEvePolygonSetProjected::DumpBuffer3D(), TGeoBBox::GetPointsOnSegments(), Init(), TEvePolygonSetProjected::IsFirstIdxHead(), TEvePolygonSetProjected::MakePolygonsFromBP(), TEvePolygonSetProjected::MakePolygonsFromBS(), SetRawSizes(), TGeoTubeSeg::SetSegsAndPols(), TGeoPcon::SetSegsAndPols(), TGeoBBox::SetSegsAndPols(), TGeoHype::SetSegsAndPols(), TGeoParaboloid::SetSegsAndPols(), TGeoTorus::SetSegsAndPols(), TGeoPgon::SetSegsAndPols(), TGeoXtru::SetSegsAndPols(), TGeoSphere::SetSegsAndPols(), and ~TBuffer3D().

Int_t* TBuffer3D::fPols

Definition at line 125 of file TBuffer3D.h.

Referenced by RootCsg::ConvertToMesh(), TEvePolygonSetProjected::DumpBuffer3D(), Init(), TEvePolygonSetProjected::MakePolygonsFromBP(), SetRawSizes(), TGeoTubeSeg::SetSegsAndPols(), TGeoPcon::SetSegsAndPols(), TGeoBBox::SetSegsAndPols(), TGeoHype::SetSegsAndPols(), TGeoParaboloid::SetSegsAndPols(), TGeoTorus::SetSegsAndPols(), TGeoPgon::SetSegsAndPols(), TGeoXtru::SetSegsAndPols(), TGeoSphere::SetSegsAndPols(), and ~TBuffer3D().

UInt_t TBuffer3D::fPhysicalID [mutable]

Definition at line 129 of file TBuffer3D.h.

Referenced by Init().

TObject* TBuffer3D::fID

Definition at line 98 of file TBuffer3D.h.

Double_t* TBuffer3D::fPnts

Definition at line 123 of file TBuffer3D.h.

Int_t* TBuffer3D::fSegs

Definition at line 124 of file TBuffer3D.h.

Int_t* TBuffer3D::fPols

Definition at line 125 of file TBuffer3D.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:35:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1