TEveGeoNode Class Reference

#include <TEveGeoNode.h>

Inheritance diagram for TEveGeoNode:

TEveElement TObject TEveElement TObject TEveGeoTopNode TEveGeoTopNode List of all members.

Public Member Functions

 TEveGeoNode (TGeoNode *node)
virtual TObjectGetObject (const TEveException &) const
virtual const char * GetName () const
virtual const char * GetTitle () const
virtual const char * GetElementName () const
virtual const char * GetElementTitle () const
TGeoNodeGetNode () const
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
virtual void ExpandIntoListTrees ()
virtual void ExpandIntoListTreesRecursively ()
virtual Bool_t CanEditElement () const
virtual void AddStamp (UChar_t bits)
virtual Bool_t CanEditMainColor () const
virtual void SetMainColor (Color_t color)
virtual Bool_t CanEditMainTransparency () const
virtual Char_t GetMainTransparency () const
virtual void SetMainTransparency (Char_t t)
void UpdateNode (TGeoNode *node)
void UpdateVolume (TGeoVolume *volume)
void Save (const char *file, const char *name="Extract", Bool_t leafs_only=kFALSE)
void SaveExtract (const char *file, const char *name, Bool_t leafs_only)
void WriteExtract (const char *name, Bool_t leafs_only)
virtual void Draw (Option_t *option="")
 ClassDef (TEveGeoNode, 1)
 TEveGeoNode (TGeoNode *node)
virtual TObjectGetObject (const TEveException &) const
virtual const char * GetName () const
virtual const char * GetTitle () const
virtual const char * GetElementName () const
virtual const char * GetElementTitle () const
TGeoNodeGetNode () const
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
virtual void ExpandIntoListTrees ()
virtual void ExpandIntoListTreesRecursively ()
virtual Bool_t CanEditElement () const
virtual void AddStamp (UChar_t bits)
virtual Bool_t CanEditMainColor () const
virtual void SetMainColor (Color_t color)
virtual Bool_t CanEditMainTransparency () const
virtual Char_t GetMainTransparency () const
virtual void SetMainTransparency (Char_t t)
void UpdateNode (TGeoNode *node)
void UpdateVolume (TGeoVolume *volume)
void Save (const char *file, const char *name="Extract", Bool_t leafs_only=kFALSE)
void SaveExtract (const char *file, const char *name, Bool_t leafs_only)
void WriteExtract (const char *name, Bool_t leafs_only)
virtual void Draw (Option_t *option="")
 ClassDef (TEveGeoNode, 1)

Static Public Member Functions

static Int_t GetCSGExportNSeg ()
static void SetCSGExportNSeg (Int_t nseg)
static Int_t GetCSGExportNSeg ()
static void SetCSGExportNSeg (Int_t nseg)

Protected Member Functions

TEveGeoShapeExtractDumpShapeTree (TEveGeoNode *geon, TEveGeoShapeExtract *parent=0, Bool_t leafs_only=kFALSE)
TEveGeoShapeExtractDumpShapeTree (TEveGeoNode *geon, TEveGeoShapeExtract *parent=0, Bool_t leafs_only=kFALSE)

Protected Attributes

TGeoNodefNode
TGeoNodefNode

Static Protected Attributes

static Int_t fgCSGExportNSeg
static std::list< TGeoShape * > fgTemporaryStore
static std::list< TGeoShape * > fgTemporaryStore

Private Member Functions

 TEveGeoNode (const TEveGeoNode &)
TEveGeoNodeoperator= (const TEveGeoNode &)
 TEveGeoNode (const TEveGeoNode &)
TEveGeoNodeoperator= (const TEveGeoNode &)

Friends

class TEveGeoNodeEditor

Detailed Description

Definition at line 31 of file TEveGeoNode.h.


Constructor & Destructor Documentation

TEveGeoNode::TEveGeoNode ( const TEveGeoNode  )  [private]

Referenced by ExpandIntoListTree().

TEveGeoNode::TEveGeoNode ( TGeoNode node  ) 

Definition at line 69 of file TEveGeoNode.cxx.

References fNode, TGeoVolume::GetTransparency(), TGeoNode::GetVolume(), TGeoNode::IsVisDaughters(), TGeoNode::IsVisible(), l, TEveElement::SetMainColorPtr(), SetMainTransparency(), and TEveElement::SetRnrSelfChildren().

TEveGeoNode::TEveGeoNode ( const TEveGeoNode  )  [private]

TEveGeoNode::TEveGeoNode ( TGeoNode node  ) 


Member Function Documentation

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

TEveGeoShapeExtract * TEveGeoNode::DumpShapeTree ( TEveGeoNode geon,
TEveGeoShapeExtract parent = 0,
Bool_t  leafs_only = kFALSE 
) [protected]

Definition at line 323 of file TEveGeoNode.cxx.

References TList::Add(), TEveElement::BeginChildren(), TGLScenePad::BeginScene(), c, TEveElement::EndChildren(), TGLScenePad::EndScene(), fgCSGExportNSeg, fgTemporaryStore, TGLScene::FindLogical(), TROOT::GetColor(), TColor::GetColorDark(), TEveGeoShapeExtract::GetElements(), TGeoVolume::GetGeoManager(), TAttLine::GetLineColor(), GetName(), GetNode(), TEveElement::GetRnrChildren(), TEveElement::GetRnrSelf(), TGeoMatrix::GetRotationMatrix(), TGeoVolume::GetShape(), GetTitle(), TEveGeoShapeExtract::GetTrans(), TGeoShape::GetTransform(), TGeoMatrix::GetTranslation(), TGeoVolume::GetTransparency(), TGeoNode::GetVolume(), gGeoIdentity, gGeoManager, gROOT, TEveElement::HasChildren(), i, TObject::Info(), TGeoShape::IsComposite(), TGeoAtt::IsVisDaughters(), TGeoVolume::IsVisible(), kFALSE, kTRUE, l, TEveGeoShapeExtract::SetElements(), TEveGeoPolyShape::SetFromFaceSet(), TEveGeoShapeExtract::SetMiniFrame(), TCollection::SetOwner(), TGeoManager::SetPaintVolume(), TEveGeoShapeExtract::SetRGBA(), TEveGeoShapeExtract::SetRGBALine(), TEveGeoShapeExtract::SetRnrElements(), TEveGeoShapeExtract::SetRnrFrame(), TEveGeoShapeExtract::SetRnrSelf(), TEveGeoShapeExtract::SetShape(), TEveGeoShapeExtract::SetTrans(), TGeoShape::SetTransform(), t, trans, and TObject::Warning().

Referenced by SaveExtract(), and WriteExtract().

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

Reimplemented from TEveElement.

Definition at line 49 of file TEveGeoNode.h.

const char * TEveGeoNode::GetName (  )  const [virtual]

Reimplemented from TObject.

Definition at line 85 of file TEveGeoNode.cxx.

References fNode, and TNamed::GetName().

Referenced by DumpShapeTree().

const char * TEveGeoNode::GetTitle (  )  const [virtual]

Reimplemented from TObject.

Definition at line 93 of file TEveGeoNode.cxx.

References fNode, and TNamed::GetTitle().

Referenced by DumpShapeTree().

const char * TEveGeoNode::GetElementName (  )  const [virtual]

Reimplemented from TEveElement.

Definition at line 101 of file TEveGeoNode.cxx.

References fNode, and TNamed::GetName().

const char * TEveGeoNode::GetElementTitle (  )  const [virtual]

Reimplemented from TEveElement.

Definition at line 109 of file TEveGeoNode.cxx.

References fNode, and TNamed::GetTitle().

TGeoNode* TEveGeoNode::GetNode (  )  const [inline]

Definition at line 57 of file TEveGeoNode.h.

References fNode.

Referenced by assembly(), csgdemo(), and DumpShapeTree().

void TEveGeoNode::ExpandIntoListTree ( TGListTree ltree,
TGListTreeItem parent 
) [virtual]

Reimplemented from TEveElement.

Definition at line 119 of file TEveGeoNode.cxx.

References TEveElement::AddElement(), TEveElement::ExpandIntoListTree(), fNode, TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), TGeoNode::GetVolume(), TEveElement::HasChildren(), and TEveGeoNode().

Referenced by ExpandIntoListTrees().

void TEveGeoNode::ExpandIntoListTrees (  )  [virtual]

Definition at line 139 of file TEveGeoNode.cxx.

References ExpandIntoListTree(), TEveElement::fItems, and i.

Referenced by ExpandIntoListTreesRecursively().

void TEveGeoNode::ExpandIntoListTreesRecursively (  )  [virtual]

Definition at line 150 of file TEveGeoNode.cxx.

References ExpandIntoListTrees(), TEveElement::fChildren, and i.

Referenced by assembly(), and csgdemo().

virtual Bool_t TEveGeoNode::CanEditElement (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 64 of file TEveGeoNode.h.

References kFALSE.

void TEveGeoNode::AddStamp ( UChar_t  bits  )  [virtual]

Reimplemented from TEveElement.

Definition at line 167 of file TEveGeoNode.cxx.

References TEveElement::AddStamp(), fNode, TEveElement::fRnrChildren, TEveElement::fRnrSelf, TEveElement::kCBVisibility, TGeoNode::SetVisibility(), and TGeoNode::VisibleDaughters().

Bool_t TEveGeoNode::CanEditMainColor (  )  const [virtual]

Reimplemented from TEveElement.

Definition at line 183 of file TEveGeoNode.cxx.

References fNode, TGeoNode::GetVolume(), and TGeoVolume::IsAssembly().

void TEveGeoNode::SetMainColor ( Color_t  color  )  [virtual]

Reimplemented from TEveElement.

Definition at line 191 of file TEveGeoNode.cxx.

References fNode, TGeoNode::GetVolume(), TGeoVolume::SetLineColor(), and TEveElement::SetMainColor().

Bool_t TEveGeoNode::CanEditMainTransparency (  )  const [virtual]

Reimplemented from TEveElement.

Definition at line 200 of file TEveGeoNode.cxx.

References fNode, TGeoNode::GetVolume(), and TGeoVolume::IsAssembly().

Char_t TEveGeoNode::GetMainTransparency (  )  const [virtual]

Reimplemented from TEveElement.

Definition at line 208 of file TEveGeoNode.cxx.

References fNode, TGeoVolume::GetTransparency(), and TGeoNode::GetVolume().

void TEveGeoNode::SetMainTransparency ( Char_t  t  )  [virtual]

Reimplemented from TEveElement.

Definition at line 216 of file TEveGeoNode.cxx.

References fNode, TGeoNode::GetVolume(), TEveElement::SetMainTransparency(), and TGeoVolume::SetTransparency().

Referenced by TEveGeoNode().

void TEveGeoNode::UpdateNode ( TGeoNode node  ) 

Definition at line 227 of file TEveGeoNode.cxx.

References TEveElement::fChildren, fNode, i, and TEveElement::StampColorSelection().

Referenced by TEveGeoTopNode::NodeVisChanged().

void TEveGeoNode::UpdateVolume ( TGeoVolume volume  ) 

Definition at line 249 of file TEveGeoNode.cxx.

References TEveElement::fChildren, fNode, TGeoNode::GetVolume(), i, and TEveElement::StampColorSelection().

Referenced by TEveGeoTopNode::VolumeColChanged(), and TEveGeoTopNode::VolumeVisChanged().

void TEveGeoNode::Save ( const char *  file,
const char *  name = "Extract",
Bool_t  leafs_only = kFALSE 
)

Definition at line 285 of file TEveGeoNode.cxx.

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

Referenced by assembly().

void TEveGeoNode::SaveExtract ( const char *  file,
const char *  name,
Bool_t  leafs_only 
)

Definition at line 295 of file TEveGeoNode.cxx.

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

Referenced by csgdemo(), extract_ssd_modules(), and Save().

void TEveGeoNode::WriteExtract ( const char *  name,
Bool_t  leafs_only 
)

Definition at line 312 of file TEveGeoNode.cxx.

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

void TEveGeoNode::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

Definition at line 273 of file TEveGeoNode.cxx.

References TGeoVolume::Draw(), fNode, and TGeoNode::GetVolume().

Int_t TEveGeoNode::GetCSGExportNSeg (  )  [static]

Definition at line 53 of file TEveGeoNode.cxx.

References fgCSGExportNSeg.

Referenced by G__G__Eve2_563_0_27(), and G__setup_memfuncTEveGeoNode().

void TEveGeoNode::SetCSGExportNSeg ( Int_t  nseg  )  [static]

Definition at line 61 of file TEveGeoNode.cxx.

References fgCSGExportNSeg.

Referenced by csgdemo(), G__G__Eve2_563_0_28(), and G__setup_memfuncTEveGeoNode().

TEveGeoNode::ClassDef ( TEveGeoNode  ,
 
)

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

TEveGeoShapeExtract* TEveGeoNode::DumpShapeTree ( TEveGeoNode geon,
TEveGeoShapeExtract parent = 0,
Bool_t  leafs_only = kFALSE 
) [protected]

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

Reimplemented from TEveElement.

Definition at line 49 of file TEveGeoNode.h.

virtual const char* TEveGeoNode::GetName (  )  const [virtual]

Reimplemented from TObject.

virtual const char* TEveGeoNode::GetTitle (  )  const [virtual]

Reimplemented from TObject.

virtual const char* TEveGeoNode::GetElementName (  )  const [virtual]

Reimplemented from TEveElement.

virtual const char* TEveGeoNode::GetElementTitle (  )  const [virtual]

Reimplemented from TEveElement.

TGeoNode* TEveGeoNode::GetNode (  )  const [inline]

Definition at line 57 of file TEveGeoNode.h.

References fNode.

virtual void TEveGeoNode::ExpandIntoListTree ( TGListTree ltree,
TGListTreeItem parent 
) [virtual]

Reimplemented from TEveElement.

virtual void TEveGeoNode::ExpandIntoListTrees (  )  [virtual]

virtual void TEveGeoNode::ExpandIntoListTreesRecursively (  )  [virtual]

virtual Bool_t TEveGeoNode::CanEditElement (  )  const [inline, virtual]

Reimplemented from TEveElement.

Definition at line 64 of file TEveGeoNode.h.

References kFALSE.

virtual void TEveGeoNode::AddStamp ( UChar_t  bits  )  [virtual]

Reimplemented from TEveElement.

virtual Bool_t TEveGeoNode::CanEditMainColor (  )  const [virtual]

Reimplemented from TEveElement.

virtual void TEveGeoNode::SetMainColor ( Color_t  color  )  [virtual]

Reimplemented from TEveElement.

virtual Bool_t TEveGeoNode::CanEditMainTransparency (  )  const [virtual]

Reimplemented from TEveElement.

virtual Char_t TEveGeoNode::GetMainTransparency (  )  const [virtual]

Reimplemented from TEveElement.

virtual void TEveGeoNode::SetMainTransparency ( Char_t  t  )  [virtual]

Reimplemented from TEveElement.

void TEveGeoNode::UpdateNode ( TGeoNode node  ) 

void TEveGeoNode::UpdateVolume ( TGeoVolume volume  ) 

void TEveGeoNode::Save ( const char *  file,
const char *  name = "Extract",
Bool_t  leafs_only = kFALSE 
)

void TEveGeoNode::SaveExtract ( const char *  file,
const char *  name,
Bool_t  leafs_only 
)

void TEveGeoNode::WriteExtract ( const char *  name,
Bool_t  leafs_only 
)

virtual void TEveGeoNode::Draw ( Option_t option = ""  )  [virtual]

Reimplemented from TObject.

static Int_t TEveGeoNode::GetCSGExportNSeg (  )  [static]

static void TEveGeoNode::SetCSGExportNSeg ( Int_t  nseg  )  [static]

TEveGeoNode::ClassDef ( TEveGeoNode  ,
 
)


Friends And Related Function Documentation

TEveGeoNodeEditor [friend]

Definition at line 34 of file TEveGeoNode.h.


Member Data Documentation

TGeoNode* TEveGeoNode::fNode [protected]

Definition at line 40 of file TEveGeoNode.h.

Referenced by AddStamp(), CanEditMainColor(), CanEditMainTransparency(), TEveGeoNodeEditor::DoVizVolume(), TEveGeoNodeEditor::DoVizVolumeDaughters(), Draw(), ExpandIntoListTree(), GetElementName(), GetElementTitle(), GetMainTransparency(), GetName(), GetNode(), GetTitle(), TEveGeoTopNode::Paint(), SetMainColor(), SetMainTransparency(), TEveGeoNodeEditor::SetModel(), TEveGeoNode(), UpdateNode(), UpdateVolume(), and TEveGeoTopNode::UseNodeTrans().

static Int_t TEveGeoNode::fgCSGExportNSeg [static, protected]

Definition at line 43 of file TEveGeoNode.h.

Referenced by DumpShapeTree(), GetCSGExportNSeg(), and SetCSGExportNSeg().

std::list< TGeoShape * > TEveGeoNode::fgTemporaryStore [static, protected]

Definition at line 44 of file TEveGeoNode.h.

Referenced by DumpShapeTree(), and SaveExtract().

TGeoNode* TEveGeoNode::fNode [protected]

Definition at line 40 of file TEveGeoNode.h.

std::list<TGeoShape*> TEveGeoNode::fgTemporaryStore [static, protected]

Definition at line 44 of file TEveGeoNode.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