12 #ifndef ROOT_TStructNode 13 #define ROOT_TStructNode Float_t GetWidth() const
Returns width of outlining box.
void SetNodeType(ENodeType type)
Sets type of node to "type".
Float_t GetCenter() const
Returns center of outlining box on x-axis.
~TStructNode()
Destructs list of nodes.
ULong_t GetVolume() const
Returns size or number of members.
void SetY(Float_t y)
Sets Y coordinate to "y".
Float_t GetRelativeVolumeRatio()
Returns ratio - relative volume to area taken by utlining box.
ULong_t GetRelativeVolume() const
Returns size or number of members.
UInt_t GetMaxLevel() const
Returns maximum number of leves displayed when the node is top node on scene.
void SetMembersCount(ULong_t count)
Sets number of members to "number".
ULong_t GetSize() const
Returns size of node.
UInt_t GetMaxObjects() const
Returns maximum number of objects displayed when the node is top node on scene.
ULong_t GetRelativeMembersCount() const
Returns relative numbers of members.
TList * GetMembers() const
Returns list with pointers to daughter nodes.
void SetAllMembersCount(ULong_t count)
Sets numbers of all members to "number".
void SetSize(ULong_t size)
Sets size of node to "size".
Float_t GetX() const
Returns X coordinate.
void SetMembers(TList *list)
Sets list of dauther nodes to "list".
void * GetPointer() const
Returns main pointer.
#define ClassDef(name, id)
void SetWidth(Float_t w)
Sets width of outlining box to "w".
Float_t GetMiddle() const
Returns center of outlining box on y-axis.
bool IsVisible() const
Returns true if node is visible.
void SetPointer(void *pointer)
Sets main pointer to "pointer".
TString GetTypeName() const
Returns name of class.
const char * GetName() const
Returns name of object.
void SetCollapsed(Bool_t collapsed)
Sets collapsing of node to "collapse".
static EScalingType fgScalBy
ENodeType GetNodeType() const
Returns type of node.
void SetMaxObjects(UInt_t max)
Sets maximum number of objects displayed when the node is top node on scene.
void SetVisible(bool visible)
Sets visibility of node to "visible".
Float_t GetY() const
Returns Y coordinate.
void SetHeight(Float_t h)
Sets width of outlining box to "w".
UInt_t GetLevel() const
Returns actual level of node.
ULong_t GetTotalSize() const
Returns total size of allocated memory in bytes.
virtual Int_t Compare(const TObject *obj) const
Overrided method. Compare to objects of TStructNode class.
Float_t GetHeight() const
Returns height of outlining box.
static void SetScaleBy(EScalingType type)
Sets scaling by to "type".
virtual Bool_t IsSortable() const
Returns true, because we have overrided method Compare.
void SetTotalSize(ULong_t size)
Sets total size of allocated memory in bytes to value "size".
TStructNode * GetParent() const
Returns pointer to parent node.
Mother of all ROOT objects.
void SetMaxLevel(UInt_t level)
Sets maximum number of leves displayed when the node is top node on scene.
TStructNode(TString name, TString typeName, void *pointer, TStructNode *parent, ULong_t size, ENodeType type)
Constructs node with name "name" of class "typeName" and given parent "parent" which represents point...
ULong_t GetAllMembersCount() const
Returns number of all members in node.
Float_t GetVolumeRatio()
Returns ratio - volme of node to area taken by outlining box.
void SetX(Float_t x)
Sets X coordinate to "x".
Bool_t IsCollapsed() const
Returns true if node is colllapsed.
ULong_t GetMembersCount() const
Returns numbers of members of node.
ULong_t GetRelativeSize() const
Returns relative size of node.