TEveGeoShape Class Reference

#include <TEveGeoShape.h>

Inheritance diagram for TEveGeoShape:

TEveShape TEveShape TAttBBox TAtt3D TEveElementList TAttBBox TAtt3D TEveElementList TAttBBox TAtt3D TEveElementList TAttBBox TAtt3D TEveElementList List of all members.

Public Member Functions

 TEveGeoShape (const char *name="TEveGeoShape", const char *title=0)
virtual ~TEveGeoShape ()
virtual TObjectGetObject (const TEveException &) const
Int_t GetNSegments () const
TGeoShapeGetShape () const
void SetNSegments (Int_t s)
void SetShape (TGeoShape *s)
virtual void ComputeBBox ()
virtual void Paint (Option_t *option="")
void Save (const char *file, const char *name="Extract")
void SaveExtract (const char *file, const char *name)
void WriteExtract (const char *name)
virtual TBuffer3DMakeBuffer3D ()
virtual TClassProjectedClass (const TEveProjection *p) const
 ClassDef (TEveGeoShape, 2)
 TEveGeoShape (const char *name="TEveGeoShape", const char *title=0)
virtual ~TEveGeoShape ()
virtual TObjectGetObject (const TEveException &) const
Int_t GetNSegments () const
TGeoShapeGetShape () const
void SetNSegments (Int_t s)
void SetShape (TGeoShape *s)
virtual void ComputeBBox ()
virtual void Paint (Option_t *option="")
void Save (const char *file, const char *name="Extract")
void SaveExtract (const char *file, const char *name)
void WriteExtract (const char *name)
virtual TBuffer3DMakeBuffer3D ()
virtual TClassProjectedClass (const TEveProjection *p) const
 ClassDef (TEveGeoShape, 2)

Static Public Member Functions

static TEveGeoShapeImportShapeExtract (TEveGeoShapeExtract *gse, TEveElement *parent=0)
static TGeoManagerGetGeoMangeur ()
static TEveGeoShapeImportShapeExtract (TEveGeoShapeExtract *gse, TEveElement *parent=0)
static TGeoManagerGetGeoMangeur ()

Protected Member Functions

TEveGeoShapeExtractDumpShapeTree (TEveGeoShape *geon, TEveGeoShapeExtract *parent=0)
TGeoShapeMakePolyShape ()
TEveGeoShapeExtractDumpShapeTree (TEveGeoShape *geon, TEveGeoShapeExtract *parent=0)
TGeoShapeMakePolyShape ()

Static Protected Member Functions

static TEveGeoShapeSubImportShapeExtract (TEveGeoShapeExtract *gse, TEveElement *parent)
static TEveGeoShapeSubImportShapeExtract (TEveGeoShapeExtract *gse, TEveElement *parent)

Protected Attributes

Int_t fNSegments
TGeoShapefShape
TGeoCompositeShapefCompositeShape
TGeoShapefShape
TGeoCompositeShapefCompositeShape

Static Protected Attributes

static TGeoManagerfgGeoMangeur
 Temporary holder (if passed shape is composite shape).
static TGeoManagerfgGeoMangeur
 Temporary holder (if passed shape is composite shape).

Private Member Functions

 TEveGeoShape (const TEveGeoShape &)
TEveGeoShapeoperator= (const TEveGeoShape &)
 TEveGeoShape (const TEveGeoShape &)
TEveGeoShapeoperator= (const TEveGeoShape &)

Detailed Description

Definition at line 22 of file TEveGeoShape.h.


Constructor & Destructor Documentation

TEveGeoShape::TEveGeoShape ( const TEveGeoShape  )  [private]

Referenced by SubImportShapeExtract().

TEveGeoShape::TEveGeoShape ( const char *  name = "TEveGeoShape",
const char *  title = 0 
)

Definition at line 96 of file TEveGeoShape.cxx.

References TEveElement::InitMainTrans().

TEveGeoShape::~TEveGeoShape (  )  [virtual]

Definition at line 108 of file TEveGeoShape.cxx.

References SetShape().

TEveGeoShape::TEveGeoShape ( const TEveGeoShape  )  [private]

TEveGeoShape::TEveGeoShape ( const char *  name = "TEveGeoShape",
const char *  title = 0 
)

virtual TEveGeoShape::~TEveGeoShape (  )  [virtual]


Member Function Documentation

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

TEveGeoShape * TEveGeoShape::SubImportShapeExtract ( TEveGeoShapeExtract gse,
TEveElement parent 
) [static, protected]

Definition at line 377 of file TEveGeoShape.cxx.

References TEveElement::AddElement(), TColor::GetColor(), TEveGeoShapeExtract::GetElements(), TEveGeoShapeExtract::GetMiniFrame(), TNamed::GetName(), TEveGeoShapeExtract::GetRGBA(), TEveGeoShapeExtract::GetRGBALine(), TEveGeoShapeExtract::GetRnrElements(), TEveGeoShapeExtract::GetRnrFrame(), TEveGeoShapeExtract::GetRnrSelf(), TEveGeoShapeExtract::GetShape(), TNamed::GetTitle(), TEveGeoShapeExtract::GetTrans(), TEveGeoShapeExtract::HasElements(), TEveElement::RefMainTrans(), TEveShape::SetDrawFrame(), TEveTrans::SetFromArray(), TEveShape::SetLineColor(), TEveElement::SetMainAlpha(), TEveElement::SetMainColorRGB(), TEveShape::SetMiniFrame(), TEveElement::SetRnrChildren(), TEveElement::SetRnrSelf(), SetShape(), and TEveGeoShape().

Referenced by ImportShapeExtract().

TEveGeoShapeExtract * TEveGeoShape::DumpShapeTree ( TEveGeoShape geon,
TEveGeoShapeExtract parent = 0 
) [protected]

Definition at line 308 of file TEveGeoShape.cxx.

References TList::Add(), TEveTrans::Array(), TEveElement::BeginChildren(), c, TEveElement::EndChildren(), TROOT::GetColor(), TEveShape::GetDrawFrame(), TEveGeoShapeExtract::GetElements(), TEveShape::GetFillColor(), TEveShape::GetLineColor(), TEveElement::GetMainTransparency(), TEveShape::GetMiniFrame(), TNamed::GetName(), TEveElement::GetRnrChildren(), TEveElement::GetRnrSelf(), GetShape(), TNamed::GetTitle(), gROOT, TEveElement::HasChildren(), i, l, TEveElement::RefMainTrans(), TEveGeoShapeExtract::SetElements(), TEveGeoShapeExtract::SetMiniFrame(), TCollection::SetOwner(), TEveGeoShapeExtract::SetRGBA(), TEveGeoShapeExtract::SetRGBALine(), TEveGeoShapeExtract::SetRnrElements(), TEveGeoShapeExtract::SetRnrFrame(), TEveGeoShapeExtract::SetRnrSelf(), TEveGeoShapeExtract::SetShape(), and TEveGeoShapeExtract::SetTrans().

Referenced by SaveExtract(), and WriteExtract().

TGeoShape * TEveGeoShape::MakePolyShape (  )  [protected]

Definition at line 116 of file TEveGeoShape.cxx.

References TEveGeoPolyShape::Construct(), fCompositeShape, and fNSegments.

Referenced by SetNSegments(), and SetShape().

virtual TObject* TEveGeoShape::GetObject ( const TEveException  )  const [inline, virtual]

Reimplemented from TEveElementList.

Definition at line 44 of file TEveGeoShape.h.

Int_t TEveGeoShape::GetNSegments (  )  const [inline]

Definition at line 47 of file TEveGeoShape.h.

References fNSegments.

TGeoShape* TEveGeoShape::GetShape (  )  const [inline]

Definition at line 48 of file TEveGeoShape.h.

References fShape.

Referenced by DumpShapeTree().

void TEveGeoShape::SetNSegments ( Int_t  s  ) 

Definition at line 124 of file TEveGeoShape.cxx.

References fCompositeShape, fNSegments, fShape, and MakePolyShape().

void TEveGeoShape::SetShape ( TGeoShape s  ) 

Definition at line 137 of file TEveGeoShape.cxx.

References fCompositeShape, fgGeoMangeur, fShape, TObject::GetUniqueID(), MakePolyShape(), s, and TObject::SetUniqueID().

Referenced by SubImportShapeExtract(), and ~TEveGeoShape().

void TEveGeoShape::ComputeBBox (  )  [virtual]

Implements TAttBBox.

Definition at line 178 of file TEveGeoShape.cxx.

References TAttBBox::BBoxCheckPoint(), TAttBBox::BBoxInit(), TAttBBox::BBoxZero(), fShape, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoBBox::GetOrigin(), and o.

void TEveGeoShape::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TEveShape.

Definition at line 197 of file TEveGeoShape.cxx.

References TBuffer3D::DecCSLevel(), TBuffer3D::fColor, fCompositeShape, fgGeoMangeur, TBuffer3D::fID, TBuffer3D::fLocalFrame, fNSegments, fShape, TBuffer3D::fTransparency, TGeoCompositeShape::GetBoolNode(), TGeoShape::GetBuffer3D(), TBuffer3D::GetCSLevel(), TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TEveElement::GetMainColor(), TEveElement::GetMainTransparency(), TNamed::GetName(), TGeoBBox::GetOrigin(), TGeoShape::GetTransform(), gPad, TBuffer3D::IncCSLevel(), TBuffer3D::kBoundingBox, TBuffer3DTypes::kComposite, TBuffer3D::kCore, kFALSE, TBuffer3D::kNone, TBuffer3D::kRaw, TBuffer3D::kRawSizes, TBuffer3D::kShapeSpecific, kTRUE, TGeoBoolNode::Paint(), TEveElement::RefMainTrans(), TBuffer3D::SetAABoundingBox(), TEveTrans::SetBuffer3D(), TBuffer3D::SetSectionsValid(), TGeoShape::SetTransform(), and TObject::Warning().

void TEveGeoShape::Save ( const char *  file,
const char *  name = "Extract" 
)

Definition at line 273 of file TEveGeoShape.cxx.

References SaveExtract(), and TObject::Warning().

void TEveGeoShape::SaveExtract ( const char *  file,
const char *  name 
)

Definition at line 284 of file TEveGeoShape.cxx.

References DumpShapeTree(), and TObject::Write().

Referenced by Save().

void TEveGeoShape::WriteExtract ( const char *  name  ) 

Definition at line 297 of file TEveGeoShape.cxx.

References DumpShapeTree(), and TObject::Write().

TEveGeoShape * TEveGeoShape::ImportShapeExtract ( TEveGeoShapeExtract gse,
TEveElement parent = 0 
) [static]

Definition at line 363 of file TEveGeoShape.cxx.

References TEveElement::ElementChanged(), fgGeoMangeur, gEve, and SubImportShapeExtract().

Referenced by alice_esd(), alice_esd_split(), alice_vsd(), G__G__Eve2_573_0_17(), G__setup_memfuncTEveGeoShape(), geomGentleTPC(), projection(), projection_prescale(), and show_extract().

TBuffer3D * TEveGeoShape::MakeBuffer3D (  )  [virtual]

Definition at line 428 of file TEveGeoShape.cxx.

References fgGeoMangeur, fNSegments, TBuffer3D::fPnts, fShape, TEveTrans::GetUseTrans(), k, TEveTrans::MultiplyIP(), n, TBuffer3D::NbPnts(), and TEveElement::RefMainTrans().

Referenced by TEvePolygonSetProjected::SetProjection(), and TEveGeoShapeProjected::UpdateProjection().

TClass * TEveGeoShape::ProjectedClass ( const TEveProjection p  )  const [virtual]

Reimplemented from TEveElementList.

Definition at line 412 of file TEveGeoShape.cxx.

References xmlio::Class, and p.

TGeoManager * TEveGeoShape::GetGeoMangeur (  )  [static]

Definition at line 85 of file TEveGeoShape.cxx.

References fgGeoMangeur.

Referenced by TEveGeoPolyShape::Construct(), G__G__Eve2_573_0_20(), G__setup_memfuncTEveGeoShape(), and TEveGeoShapeExtract::TEveGeoShapeExtract().

TEveGeoShape::ClassDef ( TEveGeoShape  ,
 
)

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

static TEveGeoShape* TEveGeoShape::SubImportShapeExtract ( TEveGeoShapeExtract gse,
TEveElement parent 
) [static, protected]

TEveGeoShapeExtract* TEveGeoShape::DumpShapeTree ( TEveGeoShape geon,
TEveGeoShapeExtract parent = 0 
) [protected]

TGeoShape* TEveGeoShape::MakePolyShape (  )  [protected]

virtual TObject* TEveGeoShape::GetObject ( const TEveException  )  const [inline, virtual]

Reimplemented from TEveElementList.

Definition at line 44 of file TEveGeoShape.h.

Int_t TEveGeoShape::GetNSegments (  )  const [inline]

Definition at line 47 of file TEveGeoShape.h.

References fNSegments.

TGeoShape* TEveGeoShape::GetShape (  )  const [inline]

Definition at line 48 of file TEveGeoShape.h.

References fShape.

void TEveGeoShape::SetNSegments ( Int_t  s  ) 

void TEveGeoShape::SetShape ( TGeoShape s  ) 

virtual void TEveGeoShape::ComputeBBox (  )  [virtual]

Implements TAttBBox.

virtual void TEveGeoShape::Paint ( Option_t option = ""  )  [virtual]

Reimplemented from TEveShape.

void TEveGeoShape::Save ( const char *  file,
const char *  name = "Extract" 
)

void TEveGeoShape::SaveExtract ( const char *  file,
const char *  name 
)

void TEveGeoShape::WriteExtract ( const char *  name  ) 

static TEveGeoShape* TEveGeoShape::ImportShapeExtract ( TEveGeoShapeExtract gse,
TEveElement parent = 0 
) [static]

virtual TBuffer3D* TEveGeoShape::MakeBuffer3D (  )  [virtual]

virtual TClass* TEveGeoShape::ProjectedClass ( const TEveProjection p  )  const [virtual]

Reimplemented from TEveElementList.

static TGeoManager* TEveGeoShape::GetGeoMangeur (  )  [static]

TEveGeoShape::ClassDef ( TEveGeoShape  ,
 
)


Member Data Documentation

Int_t TEveGeoShape::fNSegments [protected]

Definition at line 29 of file TEveGeoShape.h.

Referenced by GetNSegments(), MakeBuffer3D(), MakePolyShape(), Paint(), and SetNSegments().

TGeoShape* TEveGeoShape::fShape [protected]

Definition at line 30 of file TEveGeoShape.h.

Referenced by ComputeBBox(), GetShape(), MakeBuffer3D(), Paint(), SetNSegments(), and SetShape().

TGeoCompositeShape* TEveGeoShape::fCompositeShape [protected]

Definition at line 31 of file TEveGeoShape.h.

Referenced by MakePolyShape(), Paint(), SetNSegments(), and SetShape().

TGeoManager * TEveGeoShape::fgGeoMangeur [static, protected]

Temporary holder (if passed shape is composite shape).

Definition at line 33 of file TEveGeoShape.h.

Referenced by GetGeoMangeur(), ImportShapeExtract(), MakeBuffer3D(), Paint(), and SetShape().

TGeoShape* TEveGeoShape::fShape [protected]

Definition at line 30 of file TEveGeoShape.h.

TGeoCompositeShape* TEveGeoShape::fCompositeShape [protected]

Definition at line 31 of file TEveGeoShape.h.

TGeoManager* TEveGeoShape::fgGeoMangeur [static, protected]

Temporary holder (if passed shape is composite shape).

Definition at line 33 of file TEveGeoShape.h.


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