#include <TVolumeView.h>
Inheritance diagram for TVolumeView:
Public Member Functions | |
TVolumeView () | |
TVolumeView (TVolumeView *viewNode, TVolumePosition *nodePosition=0) | |
TVolumeView (TVolumeView *viewNode, const Char_t *NodeName1, const Char_t *NodeName2=0) | |
TVolumeView (TVolumeView *viewNode, TVolumeView *topNode) | |
TVolumeView (TVolumeView *viewNode, const TVolumeView *node1, const TVolumeView *node2) | |
TVolumeView (TVolume &pattern, Int_t maxDepLevel=0, const TVolumePosition *nodePosition=0, EDataSetPass iopt=kMarked, TVolumeView *root=0) | |
TVolumeView (Double_t *translate, Double_t *rotate, UInt_t positionId, TVolume *thisNode, const Char_t *thisNodePath, const Char_t *matrixName=0, Int_t matrixType=0) | |
TVolumeView (TVolume *thisNode, TVolumePosition *nodePosition) | |
virtual | ~TVolumeView () |
virtual TVolume * | AddNode (TVolume *node) |
virtual void | Add (TDataSet *dataset) |
virtual void | Add (TVolumeView *node) |
virtual void | Add (TShape *shape, Bool_t IsMaster=kFALSE) |
virtual void | Browse (TBrowser *b) |
virtual void | Draw (Option_t *depth="3") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual TVolumePosition * | GetPosition () const |
virtual TVolume * | GetNode () const |
virtual Int_t | GetGlobalRange (const TVolumeView *rootNode, Float_t *min, Float_t *max) |
virtual TList * | GetListOfShapes () const |
virtual void | GetLocalRange (Float_t *min, Float_t *max) |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual TShape * | GetShape () const |
virtual Int_t | GetVisibility () const |
virtual Bool_t | IsMarked () const |
virtual Bool_t | Is3D () const |
virtual TVolumePosition * | Local2Master (const TVolumeView *localNode, const TVolumeView *masterNode=0) |
virtual TVolumePosition * | Local2Master (const Char_t *localName, const Char_t *masterName=0) |
virtual Float_t * | Local2Master (const Float_t *local, Float_t *master, const Char_t *localName, const Char_t *masterName=0, Int_t nVector=1) |
virtual Float_t * | Local2Master (const Float_t *local, Float_t *master, const TVolumeView *localNode, const TVolumeView *masterNode=0, Int_t nVector=1) |
virtual TList * | Nodes () |
virtual void | Paint (Option_t *option="") |
virtual TString | PathP () const |
virtual void | SetLineAttributes () |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetVisibility (Int_t vis=1) |
virtual void | Sizeof3D () const |
TVolumeView () | |
TVolumeView (TVolumeView *viewNode, TVolumePosition *nodePosition=0) | |
TVolumeView (TVolumeView *viewNode, const Char_t *NodeName1, const Char_t *NodeName2=0) | |
TVolumeView (TVolumeView *viewNode, TVolumeView *topNode) | |
TVolumeView (TVolumeView *viewNode, const TVolumeView *node1, const TVolumeView *node2) | |
TVolumeView (TVolume &pattern, Int_t maxDepLevel=0, const TVolumePosition *nodePosition=0, EDataSetPass iopt=kMarked, TVolumeView *root=0) | |
TVolumeView (Double_t *translate, Double_t *rotate, UInt_t positionId, TVolume *thisNode, const Char_t *thisNodePath, const Char_t *matrixName=0, Int_t matrixType=0) | |
TVolumeView (TVolume *thisNode, TVolumePosition *nodePosition) | |
virtual | ~TVolumeView () |
virtual TVolume * | AddNode (TVolume *node) |
virtual void | Add (TDataSet *dataset) |
virtual void | Add (TVolumeView *node) |
virtual void | Add (TShape *shape, Bool_t IsMaster=kFALSE) |
virtual void | Browse (TBrowser *b) |
virtual void | Draw (Option_t *depth="3") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual TVolumePosition * | GetPosition () const |
virtual TVolume * | GetNode () const |
virtual Int_t | GetGlobalRange (const TVolumeView *rootNode, Float_t *min, Float_t *max) |
virtual TList * | GetListOfShapes () const |
virtual void | GetLocalRange (Float_t *min, Float_t *max) |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual TShape * | GetShape () const |
virtual Int_t | GetVisibility () const |
virtual Bool_t | IsMarked () const |
virtual Bool_t | Is3D () const |
virtual TVolumePosition * | Local2Master (const TVolumeView *localNode, const TVolumeView *masterNode=0) |
virtual TVolumePosition * | Local2Master (const Char_t *localName, const Char_t *masterName=0) |
virtual Float_t * | Local2Master (const Float_t *local, Float_t *master, const Char_t *localName, const Char_t *masterName=0, Int_t nVector=1) |
virtual Float_t * | Local2Master (const Float_t *local, Float_t *master, const TVolumeView *localNode, const TVolumeView *masterNode=0, Int_t nVector=1) |
virtual TList * | Nodes () |
virtual void | Paint (Option_t *option="") |
virtual TString | PathP () const |
virtual void | SetLineAttributes () |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | SetVisibility (Int_t vis=1) |
virtual void | Sizeof3D () const |
Protected Member Functions | |
virtual void | PaintShape (Option_t *option) |
TVolumeView (TVolumeView &viewNode) | |
virtual void | PaintShape (Option_t *option) |
TVolumeView (TVolumeView &viewNode) | |
Protected Attributes | |
TList * | fListOfShapes |
TList * | fListOfShapes |
Definition at line 26 of file TVolumeView.h.
TVolumeView::TVolumeView | ( | TVolumeView & | viewNode | ) | [protected] |
Definition at line 314 of file TVolumeView.cxx.
References TObjectSet::DoOwner(), TObjectSet::IsOwner(), and kFALSE.
TVolumeView::TVolumeView | ( | ) | [inline] |
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
TVolumePosition * | nodePosition = 0 | |||
) |
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
const Char_t * | NodeName1, | |||
const Char_t * | NodeName2 = 0 | |||
) |
Definition at line 119 of file TVolumeView.cxx.
References Add(), TObject::Error(), TNamed::GetName(), TVolumePosition::GetNode(), TNamed::GetTitle(), gGeometry, i, TDataSet::kContinue, kFALSE, TDataSet::kPrune, kTRUE, TNamed::SetTitle(), and TVolumeView().
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
TVolumeView * | topNode | |||
) |
Definition at line 83 of file TVolumeView.cxx.
References Add(), TObject::Error(), TNamed::GetName(), TVolumePosition::GetNode(), TNamed::GetTitle(), gGeometry, TDataSet::kContinue, TNamed::SetTitle(), and TVolumeView().
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
const TVolumeView * | node1, | |||
const TVolumeView * | node2 | |||
) |
Definition at line 167 of file TVolumeView.cxx.
References Add(), TObject::Error(), TNamed::GetName(), TVolumePosition::GetNode(), TNamed::GetTitle(), gGeometry, i, TDataSet::kContinue, kFALSE, TDataSet::kPrune, kTRUE, TNamed::SetTitle(), and TVolumeView().
TVolumeView::TVolumeView | ( | TVolume & | pattern, | |
Int_t | maxDepLevel = 0 , |
|||
const TVolumePosition * | nodePosition = 0 , |
|||
EDataSetPass | iopt = kMarked , |
|||
TVolumeView * | root = 0 | |||
) |
Definition at line 216 of file TVolumeView.cxx.
References Add(), TObject::Error(), TVolumePosition::GetId(), TVolume::GetIdentity(), TVolume::GetListOfPositions(), TRotMatrix::GetMatrix(), TVolumePosition::GetMatrix(), TVolumePosition::GetNode(), TDataSet::GetParent(), TNamed::GetTitle(), TVolumePosition::GetX(), TVolumePosition::GetY(), TVolumePosition::GetZ(), gGeometry, i, TVolume::IsMarked(), kFALSE, TDataSet::kMarked, TDataSet::kStruct, list, TDataSet::Mark(), TVolumePosition::SetId(), TRotMatrix::SetMatrix(), TObjectSet::SetObject(), TNamed::SetTitle(), TVolumeView(), TCL::ucopy(), TGeometry::UpdateTempMatrix(), and TCL::vadd().
TVolumeView::TVolumeView | ( | Double_t * | translate, | |
Double_t * | rotate, | |||
UInt_t | positionId, | |||
TVolume * | thisNode, | |||
const Char_t * | thisNodePath, | |||
const Char_t * | matrixName = 0 , |
|||
Int_t | matrixType = 0 | |||
) |
Definition at line 326 of file TVolumeView.cxx.
References xmlio::Class, TObject::Error(), TDataSet::Find(), fListOfShapes, TNamed::GetName(), TGeometry::GetRotMatrix(), TNamed::GetTitle(), gGeometry, TObject::InheritsFrom(), TVolumePosition::SetId(), TNamed::SetName(), TObjectSet::SetObject(), TNamed::SetTitle(), and title.
TVolumeView::TVolumeView | ( | TVolume * | thisNode, | |
TVolumePosition * | nodePosition | |||
) |
Definition at line 369 of file TVolumeView.cxx.
References fListOfShapes, TNamed::GetTitle(), gGeometry, SafeDelete, and TNamed::SetTitle().
TVolumeView::~TVolumeView | ( | ) | [virtual] |
Definition at line 380 of file TVolumeView.cxx.
TVolumeView::TVolumeView | ( | TVolumeView & | viewNode | ) | [protected] |
TVolumeView::TVolumeView | ( | ) | [inline] |
Definition at line 35 of file TVolumeView.h.
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
TVolumePosition * | nodePosition = 0 | |||
) |
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
const Char_t * | NodeName1, | |||
const Char_t * | NodeName2 = 0 | |||
) |
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
TVolumeView * | topNode | |||
) |
TVolumeView::TVolumeView | ( | TVolumeView * | viewNode, | |
const TVolumeView * | node1, | |||
const TVolumeView * | node2 | |||
) |
TVolumeView::TVolumeView | ( | TVolume & | pattern, | |
Int_t | maxDepLevel = 0 , |
|||
const TVolumePosition * | nodePosition = 0 , |
|||
EDataSetPass | iopt = kMarked , |
|||
TVolumeView * | root = 0 | |||
) |
TVolumeView::TVolumeView | ( | Double_t * | translate, | |
Double_t * | rotate, | |||
UInt_t | positionId, | |||
TVolume * | thisNode, | |||
const Char_t * | thisNodePath, | |||
const Char_t * | matrixName = 0 , |
|||
Int_t | matrixType = 0 | |||
) |
TVolumeView::TVolumeView | ( | TVolume * | thisNode, | |
TVolumePosition * | nodePosition | |||
) |
virtual TVolumeView::~TVolumeView | ( | ) | [virtual] |
void TVolumeView::PaintShape | ( | Option_t * | option | ) | [protected, virtual] |
Definition at line 797 of file TVolumeView.cxx.
References TVirtualViewer3D::AddObject(), buffer, fListOfShapes, TShape::GetBuffer3D(), TAttLine::GetLineColor(), TAttLine::GetLineWidth(), TShape::GetVisibility(), gPad, TBuffer3D::kBoundingBox, TBuffer3D::kCore, TBuffer3D::kNone, TBuffer3D::kShapeSpecific, kTRUE, TShape::Paint(), and TTablePadView3D::SetLineAttr().
Referenced by Paint().
Definition at line 386 of file TVolumeView.cxx.
References TVolume::Add(), TVolumePosition::GetNode(), and GetPosition().
void TVolumeView::Add | ( | TDataSet * | dataset | ) | [inline, virtual] |
Reimplemented from TDataSet.
Definition at line 79 of file TVolumeView.h.
Referenced by TVolumeView().
void TVolumeView::Add | ( | TVolumeView * | node | ) | [inline, virtual] |
Definition at line 400 of file TVolumeView.cxx.
References TList::Add(), TList::AddFirst(), and fListOfShapes.
void TVolumeView::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TObjectSet.
Definition at line 412 of file TVolumeView.cxx.
References b, and TObjectSet::Browse().
void TVolumeView::Draw | ( | Option_t * | depth = "3" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 500 of file TVolumeView.cxx.
References TObject::AppendPad(), buffer, TString::Contains(), TView::CreateView(), TDataSet::GetParent(), gGeometry, gPad, gROOT, kTRUE, TROOT::MakeDefCanvas(), Paint(), TView::SetAutoRange(), TGeometry::SetGeomLevel(), snprintf, TString::ToLower(), and TGeometry::UpdateTempMatrix().
Reimplemented from TObject.
Definition at line 422 of file TVolumeView.cxx.
References ROOT::Math::gv_detail::dist(), TObject::DistancetoPrimitive(), TVolume::DistancetoPrimitive(), TGeometry::GeomLevel(), TDataSet::GetCollection(), TVolumePosition::GetNode(), GetPosition(), TVolume::GetShape(), TCollection::GetSize(), TVolume::GetVisibility(), TShape::GetVisibility(), gGeometry, gPad, TVolume::kThisUnvisible, TGeometry::PopLevel(), TGeometry::PushLevel(), and TVolumePosition::UpdatePosition().
virtual TVolumePosition* TVolumeView::GetPosition | ( | ) | const [inline, virtual] |
Definition at line 52 of file TVolumeView.h.
References TObjectSet::GetObject().
Referenced by AddNode(), DistancetoPrimitive(), GetNode(), TVolumeViewIter::Notify(), Paint(), PathP(), and SavePrimitive().
TVolume * TVolumeView::GetNode | ( | ) | const [virtual] |
Definition at line 552 of file TVolumeView.cxx.
References TVolumePosition::GetNode(), and GetPosition().
Referenced by GetVisibility(), SavePrimitive(), SetLineAttributes(), SetVisibility(), and Sizeof3D().
Int_t TVolumeView::GetGlobalRange | ( | const TVolumeView * | rootNode, | |
Float_t * | min, | |||
Float_t * | max | |||
) | [virtual] |
Definition at line 562 of file TVolumeView.cxx.
References TObject::Error(), TDataSetIter::GetDepth(), GetLocalRange(), TNamed::GetName(), TVolumePosition::GetNode(), TNamed::GetTitle(), TVolumePosition::GetX(), TVolumePosition::GetY(), TVolumePosition::GetZ(), i, TDataSet::kContinue, and TNamed::SetTitle().
TList * TVolumeView::GetListOfShapes | ( | ) | const [inline, virtual] |
Definition at line 594 of file TVolumeView.cxx.
References TVirtualPad::cd(), TView::CreateView(), TView::GetRange(), gGeometry, gPad, kTRUE, Paint(), TView::SetAutoRange(), TGeometry::SetGeomLevel(), and TGeometry::UpdateTempMatrix().
Referenced by GetGlobalRange().
Reimplemented from TObject.
Definition at line 621 of file TVolumeView.cxx.
References TObject::ClassName(), TNamed::GetName(), TView::GetRange(), GetShape(), TNamed::GetTitle(), gPad, i, info, max, min, TView::NDCtoWC(), snprintf, TView::WCtoNDC(), and x.
TShape * TVolumeView::GetShape | ( | ) | const [inline, virtual] |
Definition at line 83 of file TVolumeView.h.
References TList::First(), and fListOfShapes.
Referenced by GetObjectInfo().
Int_t TVolumeView::GetVisibility | ( | ) | const [inline, virtual] |
Bool_t TVolumeView::IsMarked | ( | ) | const [inline, virtual] |
Reimplemented from TDataSet.
Definition at line 81 of file TVolumeView.h.
References TDataSet::kMark, and TObject::TestBit().
Referenced by ClassImp().
virtual Bool_t TVolumeView::Is3D | ( | ) | const [inline, virtual] |
TVolumePosition * TVolumeView::Local2Master | ( | const TVolumeView * | localNode, | |
const TVolumeView * | masterNode = 0 | |||
) | [virtual] |
TVolumePosition * TVolumeView::Local2Master | ( | const Char_t * | localName, | |
const Char_t * | masterName = 0 | |||
) | [virtual] |
Float_t * TVolumeView::Local2Master | ( | const Float_t * | local, | |
Float_t * | master, | |||
const Char_t * | localName, | |||
const Char_t * | masterName = 0 , |
|||
Int_t | nVector = 1 | |||
) | [virtual] |
Definition at line 676 of file TVolumeView.cxx.
References TDataSet::Find(), TVolumePosition::Local2Master(), trans, and transform.
Float_t * TVolumeView::Local2Master | ( | const Float_t * | local, | |
Float_t * | master, | |||
const TVolumeView * | localNode, | |||
const TVolumeView * | masterNode = 0 , |
|||
Int_t | nVector = 1 | |||
) | [virtual] |
Definition at line 701 of file TVolumeView.cxx.
References TVolumePosition::Local2Master(), trans, and transform.
virtual TList* TVolumeView::Nodes | ( | ) | [inline, virtual] |
void TVolumeView::Paint | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 728 of file TVolumeView.cxx.
References TGeometry::GeomLevel(), TDataSet::GetCollection(), TVolumePosition::GetNode(), GetPosition(), TCollection::GetSize(), gGeometry, gPad, level, Paint(), TVolume::PaintShape(), PaintShape(), TGeometry::PopLevel(), TGeometry::PushLevel(), and TVolumePosition::UpdatePosition().
Referenced by Draw(), GetLocalRange(), and Paint().
TString TVolumeView::PathP | ( | ) | const [virtual] |
Definition at line 842 of file TVolumeView.cxx.
References buffer, TNamed::GetName(), TDataSet::GetParent(), GetPosition(), p, PathP(), snprintf, and str.
Referenced by PathP().
void TVolumeView::SetLineAttributes | ( | ) | [virtual] |
Definition at line 932 of file TVolumeView.cxx.
References GetNode(), and TAttLine::SetLineAttributes().
void TVolumeView::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 864 of file TVolumeView.cxx.
References TString::Data(), TVolumePosition::GetId(), TVolumePosition::GetMatrix(), GetNode(), GetPosition(), TVolumePosition::GetX(), TVolumePosition::GetY(), TVolumePosition::GetZ(), and TDataSet::Path().
void TVolumeView::SetVisibility | ( | Int_t | vis = 1 |
) | [virtual] |
void TVolumeView::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
Definition at line 948 of file TVolumeView.cxx.
References GetListOfShapes(), TVolume::GetListOfShapes(), GetNode(), TVolume::GetVisibility(), TShape::GetVisibility(), TVolume::kThisUnvisible, TAtt3D::Sizeof3D(), and Sizeof3D().
Referenced by Sizeof3D().
virtual void TVolumeView::PaintShape | ( | Option_t * | option | ) | [protected, virtual] |
virtual void TVolumeView::Add | ( | TVolumeView * | node | ) | [virtual] |
virtual void TVolumeView::Browse | ( | TBrowser * | b | ) | [virtual] |
Reimplemented from TObjectSet.
Reimplemented from TObject.
virtual TVolumePosition* TVolumeView::GetPosition | ( | ) | const [inline, virtual] |
virtual TVolume* TVolumeView::GetNode | ( | ) | const [virtual] |
virtual Int_t TVolumeView::GetGlobalRange | ( | const TVolumeView * | rootNode, | |
Float_t * | min, | |||
Float_t * | max | |||
) | [virtual] |
virtual TList* TVolumeView::GetListOfShapes | ( | ) | const [virtual] |
Reimplemented from TObject.
virtual TShape* TVolumeView::GetShape | ( | ) | const [virtual] |
virtual Int_t TVolumeView::GetVisibility | ( | ) | const [virtual] |
virtual Bool_t TVolumeView::Is3D | ( | ) | const [inline, virtual] |
virtual TVolumePosition* TVolumeView::Local2Master | ( | const TVolumeView * | localNode, | |
const TVolumeView * | masterNode = 0 | |||
) | [virtual] |
virtual TVolumePosition* TVolumeView::Local2Master | ( | const Char_t * | localName, | |
const Char_t * | masterName = 0 | |||
) | [virtual] |
virtual Float_t* TVolumeView::Local2Master | ( | const Float_t * | local, | |
Float_t * | master, | |||
const Char_t * | localName, | |||
const Char_t * | masterName = 0 , |
|||
Int_t | nVector = 1 | |||
) | [virtual] |
virtual Float_t* TVolumeView::Local2Master | ( | const Float_t * | local, | |
Float_t * | master, | |||
const TVolumeView * | localNode, | |||
const TVolumeView * | masterNode = 0 , |
|||
Int_t | nVector = 1 | |||
) | [virtual] |
virtual TList* TVolumeView::Nodes | ( | ) | [inline, virtual] |
virtual TString TVolumeView::PathP | ( | ) | const [virtual] |
virtual void TVolumeView::SetLineAttributes | ( | ) | [virtual] |
virtual void TVolumeView::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
virtual void TVolumeView::SetVisibility | ( | Int_t | vis = 1 |
) | [virtual] |
virtual void TVolumeView::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
TList* TVolumeView::fListOfShapes [protected] |
Definition at line 28 of file TVolumeView.h.
Referenced by Add(), GetListOfShapes(), GetShape(), PaintShape(), and TVolumeView().
TList* TVolumeView::fListOfShapes [protected] |
Definition at line 28 of file TVolumeView.h.