11 #ifndef ROOT_TVolumeView
12 #define ROOT_TVolumeView
41 TVolumeView(Double_t *translate, Double_t *rotate, UInt_t positionId,
TVolume *thisNode,
42 const Char_t *thisNodePath,
const Char_t *matrixName=0, Int_t matrixType=0);
48 virtual void Add(TShape *shape, Bool_t IsMaster=kFALSE);
49 virtual void Browse(TBrowser *b);
50 virtual void Draw(Option_t *depth=
"3");
55 virtual TList *GetListOfShapes()
const;
58 virtual TShape *GetShape()
const;
59 virtual Int_t GetVisibility()
const;
60 virtual Bool_t IsMarked()
const;
61 virtual Bool_t Is3D()
const {
return kTRUE;}
64 virtual Float_t *
Local2Master(
const Float_t *local, Float_t *master,
65 const Char_t *localName,
const Char_t *masterName=0, Int_t nVector=1);
66 virtual Float_t *
Local2Master(
const Float_t *local, Float_t *master,
69 virtual TList *Nodes(){
return GetList();}
70 virtual void Paint(Option_t *option=
"");
71 virtual TString
PathP()
const;
73 virtual void SavePrimitive(std::ostream &out, Option_t *option=
"");
79 inline void TVolumeView::Add(
TDataSet * ){ assert(0);}
80 inline void TVolumeView::Add(
TVolumeView *node){ TDataSet::Add(node);}
81 inline Bool_t TVolumeView::IsMarked()
const {
return TestBit(kMark); }
82 inline TList *TVolumeView::GetListOfShapes()
const {
return fListOfShapes;}
83 inline TShape *TVolumeView::GetShape()
const
84 {
return fListOfShapes ? (TShape *)fListOfShapes->First():0;}
85 inline Int_t TVolumeView::GetVisibility()
const {
return GetNode() ?
GetNode()->GetVisibility():0;}
TObjectSet(const Char_t *name, TObject *obj=0, Bool_t makeOwner=kTRUE)
to be documented
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual TVolumePosition * Local2Master(const TVolumeView *localNode, const TVolumeView *masterNode=0)
to be documented
virtual void Paint(Option_t *option="")
virtual void Sizeof3D() const
Return total size of this 3-D Node with its attributes.
virtual void GetLocalRange(Float_t *min, Float_t *max)
virtual TVolume * AddNode(TVolume *node)
virtual void SetLineAttributes()
to be documented
virtual TString PathP() const
return the full path of this data set
virtual void Browse(TBrowser *b)
to be documented
virtual void PaintShape(Option_t *option)
virtual char * GetObjectInfo(Int_t px, Int_t py) const
to be documented
virtual TVolume * GetNode() const
to be documented
virtual ~TVolumeView()
default dtor (empty for this class)
virtual void Draw(Option_t *depth="3")
Draw Referenced node with current parameters.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
to be documented
virtual Int_t GetGlobalRange(const TVolumeView *rootNode, Float_t *min, Float_t *max)
virtual TObject * GetObject() const
The depricated method (left here for the sake of the backward compatibility)
virtual void SetVisibility(Int_t vis=1)
to be documented