60 virtual void cd(
const char *path=
nullptr);
#define ClassDefOverride(name, id)
Use this attribute class when an object should have 3D capabilities.
Fill Area Attributes class.
Using a TBrowser one can browse all ROOT objects.
The TNamed class is the base class for all named ROOT classes.
virtual void SetMatrix(TRotMatrix *matrix=nullptr)
virtual void Master2Local(const Double_t *master, Double_t *local)
Convert one point from master system to local reference system.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a Node.
virtual void UpdateTempMatrix(const Double_t *dx1, const Double_t *rmat1, Double_t x, Double_t y, Double_t z, Double_t *matrix, Double_t *dxnew, Double_t *rmatnew)
Compute new translation vector and global matrix.
virtual void SetPosition(Double_t x=0, Double_t y=0, Double_t z=0)
virtual void UpdateMatrix()
Update global rotation matrix/translation vector for this node this function must be called before in...
virtual TNode * GetParent() const
void SetName(const char *name) override
Change the name of this Node.
virtual Double_t GetY() const
void Sizeof3D() const override
Return total size of this 3-D Node with its attributes.
virtual Double_t GetX() const
virtual TRotMatrix * GetMatrix() const
void SetNameTitle(const char *name, const char *title) override
Change the name and title of this Node.
virtual void BuildListOfNodes()
Create the list to support sons of this node.
TNode()
Node default constructor.
void Paint(Option_t *option="") override
Paint Referenced node with current parameters.
virtual void DrawOnly(Option_t *option="")
Draw only Sons of this node.
char * GetObjectInfo(Int_t px, Int_t py) const override
Get object info.
TShape * GetShape() const
virtual Double_t GetZ() const
TNode & operator=(const TNode &)
assignment operator
virtual void Local2Master(const Double_t *local, Double_t *master)
Convert one point from local system to master reference system.
void RecursiveRemove(TObject *obj) override
Recursively remove object from the list of nodes of this node.
virtual void cd(const char *path=nullptr)
Change Current Reference node to this.
Bool_t IsFolder() const override
Return TRUE if node contains nodes, FALSE otherwise.
virtual void SetParent(TNode *parent)
Set the pointer to the parent, keep parents informed about who they have.
Int_t GetVisibility() const
~TNode() override
Node default destructor.
void Browse(TBrowser *b) override
Browse.
virtual void ImportShapeAttributes()
Copy shape attributes as node attributes.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
virtual void SetVisibility(Int_t vis=1)
Set visibility for this node and its sons.
void ls(Option_t *option="2") const override
List Referenced object with current parameters.
const Option_t * GetOption() const override
TList * GetListOfNodes() const
virtual TNode * GetNode(const char *name) const
Return pointer to node with name in the node tree.
Mother of all ROOT objects.
Manages a detector rotation matrix.
This is the base class for all geometry shapes.
const char * Data() const