Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TVolumeView Class Reference

Definition at line 26 of file TVolumeView.h.

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)
 Creates TVolumeView (view) with a topology similar with TVolume *pattern. More...
 
 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)
 to be documented More...
 
virtual ~TVolumeView ()
 default dtor (empty for this class) More...
 
virtual void Add (TDataSet *dataset)
 
virtual void Add (TVolumeView *node)
 
virtual void Add (TShape *shape, Bool_t IsMaster=kFALSE)
 to be documented More...
 
virtual TVolumeAddNode (TVolume *node)
 Add the TVolume in the Tnode data-structure refered by this TVolumeView object Return TVolume * the input TVolume * was attached to. More...
 
virtual void Browse (TBrowser *b)
 to be documented More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 -*-*-*-*-*-*-*-*Compute distance from point px,py to a TVolumeView-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to the position of *-* this node. More...
 
virtual void Draw (Option_t *depth="3")
 -*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* ============================================= More...
 
virtual Int_t GetGlobalRange (const TVolumeView *rootNode, Float_t *min, Float_t *max)
 Calculate the position of the vertrex of the outlined cube in repect of the given TVolumeView object. More...
 
virtual TListGetListOfShapes () const
 
virtual void GetLocalRange (Float_t *min, Float_t *max)
 GetRange. More...
 
virtual TVolumeGetNode () const
 to be documented More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 to be documented More...
 
virtual TVolumePositionGetPosition () const
 
virtual TShapeGetShape () const
 
virtual Int_t GetVisibility () const
 
virtual Bool_t Is3D () const
 
virtual Bool_t IsMarked () const
 
virtual TVolumePositionLocal2Master (const TVolumeView *localNode, const TVolumeView *masterNode=0)
 to be documented More...
 
virtual TVolumePositionLocal2Master (const Char_t *localName, const Char_t *masterName=0)
 to be documented More...
 
virtual Float_tLocal2Master (const Float_t *local, Float_t *master, const Char_t *localName, const Char_t *masterName=0, Int_t nVector=1)
 calculate transformation master = (M-local->master )*local + (T-local->master ) where M-local->master - rotation matrix 3 x 3 from the master node to the local node T-local->master - trasport vector 3 from the master node to the local node More...
 
virtual Float_tLocal2Master (const Float_t *local, Float_t *master, const TVolumeView *localNode, const TVolumeView *masterNode=0, Int_t nVector=1)
 calculate transformation master = (M-local->master )*local + (T-local->master ) where M-local->master - rotation matrix 3 x 3 from the master node to the local node T-local->master - trasport vector 3 from the master node to the local node More...
 
virtual TListNodes ()
 
virtual void Paint (Option_t *option="")
 -*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-* *-* vis = 1 (default) shape is drawn *-* vis = 0 shape is not drawn but its sons may be not drawn *-* vis = -1 shape is not drawn. More...
 
virtual TString PathP () const
 return the full path of this data set More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 to be documented More...
 
virtual void SetLineAttributes ()
 to be documented More...
 
virtual void SetVisibility (Int_t vis=1)
 to be documented More...
 
virtual void Sizeof3D () const
 -*-*-*-*-*-*Return total size of this 3-D Node with its attributes-*-* *-* ========================================================== More...
 
- Public Member Functions inherited from TObjectSet
 TObjectSet (const Char_t *name, TObject *obj=0, Bool_t makeOwner=kTRUE)
 to be documented More...
 
 TObjectSet (TObject *obj=0, Bool_t makeOwner=kTRUE)
 to be documented More...
 
virtual ~TObjectSet ()
 to be documented More...
 
virtual TObjectAddObject (TObject *obj, Bool_t makeOwner=kTRUE)
 Aliase for SetObject method. More...
 
virtual void Delete (Option_t *opt="")
 to be documented More...
 
virtual Bool_t DoOwner (Bool_t done=kTRUE)
 Set / Reset the ownerships and returns the previous status of the ownerships. More...
 
virtual TObjectGetObject () const
 The depricated method (left here for the sake of the backward compatibility) More...
 
virtual Long_t HasData () const
 
virtual TDataSetInstance () const
 apply the class default ctor to instantiate a new object of the same kind. More...
 
virtual Bool_t IsOwner () const
 
virtual void SetObject (TObject *obj)
 The depricated method (left here for the sake of the backward compatibility) More...
 
virtual TObjectSetObject (TObject *obj, Bool_t makeOwner)
 
- Public Member Functions inherited from TDataSet
 TDataSet (const char *name="", TDataSet *parent=0, Bool_t arrayFlag=kFALSE)
 std::cout << "ctor for " << GetName() << " - " << GetTitle() << std::endl; More...
 
 TDataSet (const TDataSet &src, EDataSetPass iopt=kAll)
 Creates TDataSet (clone) with a topology similar with TDataSet *pattern. More...
 
 TDataSet (TNode &src)
 This copy ctor has been depricated (left for thwe sake of the backweard compatibility) More...
 
virtual ~TDataSet ()
 std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl; More...
 
virtual void AddAt (TDataSet *dataset, Int_t idx=0)
 Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defined by either TList::AddAt or TObjArray::AddAt methods. More...
 
virtual void AddAtAndExpand (TDataSet *dataset, Int_t idx=0)
 !!!! Under construction !!!!! Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defined by either TList::AddAt or TObjArray::AddAt methods More...
 
virtual void AddFirst (TDataSet *dataset)
 Add TDataSet object at the beginning of the dataset list of this dataset. More...
 
virtual void AddLast (TDataSet *dataset)
 Add TDataSet object at the end of the dataset list of this dataset. More...
 
TDataSetAt (Int_t idx) const
 
virtual TObjectClone (const char *newname="") const
 the custom implementation fo the TObject::Clone More...
 
virtual TDataSetFind (const char *path) const
 Full description see: TDataSetIter::Find. More...
 
virtual TDataSetFindByName (const char *name, const char *path="", Option_t *opt="") const
 Full description see: TDataSetIter::Find. More...
 
virtual TDataSetFindByPath (const char *path) const
 Aliase for TDataSet::Find(const Char_t *path) method. More...
 
virtual TDataSetFindByTitle (const char *title, const char *path="", Option_t *opt="") const
 Full description see: TDataSetIter::Find. More...
 
TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
TObjectFindObject (const TObject *o) const
 Must be redefined in derived classes. More...
 
virtual TDataSetFirst () const
 Return the first object in the list. Returns 0 when list is empty. More...
 
virtual TSeqCollectionGetCollection () const
 
TListGetList () const
 
virtual Int_t GetListSize () const
 
TObjectGetMother () const
 
TObjArrayGetObjArray () const
 
virtual TDataSetGetParent () const
 
void InvertAllMarks ()
 Invert mark bit for all members of this dataset. More...
 
virtual Bool_t IsEmpty () const
 return kTRUE if the "internal" collection has no member More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsThisDir (const char *dirname, int len=-1, int ignorecase=0) const
 Compare the name of the TDataSet with "dirname" ignorercase flags indicates whether the comparision is case sensitive. More...
 
virtual TDataSetLast () const
 Return the last object in the list. Returns 0 when list is empty. More...
 
virtual void ls (Option_t *option="") const
 // ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print all levels // // More...
 
virtual void ls (Int_t depth) const
 // ls(Int_t depth) // // Prints the list of the this TDataSet. More...
 
void Mark ()
 
void Mark (UInt_t flag, EBitOpt reset=kSet)
 
void MarkAll ()
 Mark all members of this dataset. More...
 
virtual TDataSetNext () const
 Return the object next to this one in the parent structure This convinient but time-consuming. More...
 
virtual EDataSetPass Pass (EDataSetPass(*callback)(TDataSet *), Int_t depth=0)
 // Pass (callback,depth) // // Calls callback(this) for all datasets those recursively // // Parameter: // ========= // Int_t depth >0 the number of levels to be passed // =0 all levels will be passed // // Return (this value mast be returned by the user's callback): // ====== // kContinue - continue passing // kPrune - stop passing the current branch, go to the next one// kUp - stop passing, leave the current branch, // return to previous level and continue // kStop - stop passing, leave all braches // // More...
 
virtual EDataSetPass Pass (EDataSetPass(*callback)(TDataSet *, void *), void *user, Int_t depth=0)
 // Pass (callback,user,depth) // // Calls callback(this,user) for all datasets those recursively // // Parameter: // ========= // Int_t depth >0 the number of levels to be passed // =0 all levels will be passed // // Return (this value mast be returned by the user's callback): // ====== // kContinue - continue passing // kPrune - stop passing the current branch, go to the next one// kUp - stop passing, leave the current branch, // return to previous level and continue // kStop - stop passing, leave all braches // // More...
 
virtual TString Path () const
 return the full path of this data set More...
 
virtual TDataSetPrev () const
 Return the object that is previous to this one in the parent structure This convinient but time-consuming. More...
 
virtual void PrintContents (Option_t *opt="") const
 Callback method to complete ls() method recursive loop This is to allow to sepoarate navigation and the custom invormation in the derived classes (see; TTable::PrintContents for example. More...
 
virtual Int_t Purge (Option_t *opt="")
 Purge - deletes all "dummy" "Structural Members" those are not ended up with some dataset with data inside (those return HasData() = 0) More...
 
virtual void Remove (TDataSet *set)
 Remiove the "set" from this TDataSet. More...
 
virtual TDataSetRemoveAt (Int_t idx)
 Remove object from the "idx" cell of this set and return the pointer to the removed object if any. More...
 
virtual void SetMother (TDataSet *parent=0)
 
virtual void SetParent (TDataSet *parent=0)
 Break the "parent" relationship with the current object parent if present parent != 0 Makes this object the "Structural Member" of the "parent" dataset = 0 Makes this object the "pure Associator", i.e it makes this object the "Structural Member" of NO other TDataSet. More...
 
virtual void SetWrite ()
 One should not use this method but TDataSet::Write instead This method os left here for the sake of the backward compatibility To Write object first we should temporary break the the backward fParent pointer (otherwise ROOT follows this links and will pull fParent out too. More...
 
virtual void Shunt (TDataSet *newParent=0)
 Remove the object from the original and add it to dataset TDataSet dataset != 0 - Make this object the "Structural Member" of "dataset" = 0 - Make this object "Orphan". More...
 
virtual void Sort ()
 Sort recursively all members of the TDataSet with TList::Sort method. More...
 
void UnMark ()
 
void UnMarkAll ()
 UnMark all members of this dataset. More...
 
virtual void Update ()
 Update() More...
 
virtual void Update (TDataSet *set, UInt_t opt=0)
 Update this TDataSet with "set". More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 To Write object first we should temporary break the the backward fParent pointer (otherwise ROOT follows this links and will pull fParent out too. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 To Write object first we should temporary break the the backward fParent pointer (otherwise ROOT follows this links and will pull fParent out too. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
- Public Member Functions inherited from TAtt3D
 TAtt3D ()
 
virtual ~TAtt3D ()
 

Protected Member Functions

 TVolumeView (TVolumeView &viewNode)
 to be documented More...
 
virtual void PaintShape (Option_t *option)
 Paint shape of the node To be called from the TObject::Paint method only. More...
 
- Protected Member Functions inherited from TDataSet
 TDataSet (const char *name, const char *title)
 
void AddMain (TDataSet *set)
 add data set to main data set More...
 
TDataSetGetRealParent ()
 return real parent More...
 
void MakeCollection ()
 Create the internal container at once if any. More...
 
virtual void SetMother (TObject *mother)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 

Protected Attributes

TListfListOfShapes
 
- Protected Attributes inherited from TObjectSet
TObjectfObj
 
- Protected Attributes inherited from TDataSet
TSeqCollectionfList
 
TDataSetfParent
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

Additional Inherited Members

- Public Types inherited from TDataSet
enum  EBitOpt { kSet = kTRUE, kReset = kFALSE }
 
enum  EDataSetPass {
  kContinue, kPrune, kStop, kUp,
  kStruct, kAll, kRefs, kMarked
}
 
enum  ESetBits { kMark = BIT(22), kArray = BIT(20) }
 
- Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
- Static Public Member Functions inherited from TObjectSet
static TObjectSetinstance ()
 
- Static Public Member Functions inherited from TDataSet
static TDataSetGetMainSet ()
 return pointer to the main dataset More...
 
static TDataSetinstance ()
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Types inherited from TObjectSet
enum  EOwnerBits { kIsOwner = BIT(23) }
 
- Static Protected Member Functions inherited from TDataSet
static EDataSetPass SortIt (TDataSet *ds)
 
static EDataSetPass SortIt (TDataSet *ds, void *user)
 
- Static Protected Attributes inherited from TDataSet
static TDataSetfgMainSet = &mainSet
 

#include <TVolumeView.h>

Inheritance diagram for TVolumeView:
[legend]

Constructor & Destructor Documentation

◆ TVolumeView() [1/9]

TVolumeView::TVolumeView ( TVolumeView viewNode)
protected

to be documented

Definition at line 321 of file TVolumeView.cxx.

◆ TVolumeView() [2/9]

TVolumeView::TVolumeView ( )
inline

Definition at line 35 of file TVolumeView.h.

◆ TVolumeView() [3/9]

TVolumeView::TVolumeView ( TVolumeView viewNode,
TVolumePosition nodePosition = 0 
)

Definition at line 53 of file TVolumeView.cxx.

◆ TVolumeView() [4/9]

TVolumeView::TVolumeView ( TVolumeView viewNode,
const Char_t NodeName1,
const Char_t NodeName2 = 0 
)

Definition at line 122 of file TVolumeView.cxx.

◆ TVolumeView() [5/9]

TVolumeView::TVolumeView ( TVolumeView viewNode,
TVolumeView topNode 
)

Definition at line 85 of file TVolumeView.cxx.

◆ TVolumeView() [6/9]

TVolumeView::TVolumeView ( TVolumeView viewNode,
const TVolumeView node1,
const TVolumeView node2 
)

Definition at line 171 of file TVolumeView.cxx.

◆ TVolumeView() [7/9]

TVolumeView::TVolumeView ( TVolume pattern,
Int_t  maxDepLevel = 0,
const TVolumePosition nodePosition = 0,
EDataSetPass  iopt = kMarked,
TVolumeView rootVolume = 0 
)

Creates TVolumeView (view) with a topology similar with TVolume *pattern.

Parameters:

pattern - the pattern dataset iopt = kStruct - clone only my structural links kAll - clone all links kRefs - clone only refs kMarked - clone marked (not implemented yet) only

All new-created sets become the structural ones anyway.

std::cout << "ctor for " << GetName() << " - " << GetTitle() << std::endl;

Definition at line 235 of file TVolumeView.cxx.

◆ TVolumeView() [8/9]

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 333 of file TVolumeView.cxx.

◆ TVolumeView() [9/9]

TVolumeView::TVolumeView ( TVolume thisNode,
TVolumePosition nodePosition 
)

to be documented

Definition at line 378 of file TVolumeView.cxx.

◆ ~TVolumeView()

TVolumeView::~TVolumeView ( )
virtual

default dtor (empty for this class)

Definition at line 390 of file TVolumeView.cxx.

Member Function Documentation

◆ Add() [1/3]

void TVolumeView::Add ( TDataSet dataset)
inlinevirtual

Reimplemented from TDataSet.

Definition at line 79 of file TVolumeView.h.

◆ Add() [2/3]

void TVolumeView::Add ( TVolumeView node)
inlinevirtual

Definition at line 80 of file TVolumeView.h.

◆ Add() [3/3]

void TVolumeView::Add ( TShape shape,
Bool_t  IsMaster = kFALSE 
)
virtual

to be documented

Definition at line 411 of file TVolumeView.cxx.

◆ AddNode()

TVolume * TVolumeView::AddNode ( TVolume node)
virtual

Add the TVolume in the Tnode data-structure refered by this TVolumeView object Return TVolume * the input TVolume * was attached to.

Definition at line 399 of file TVolumeView.cxx.

◆ Browse()

void TVolumeView::Browse ( TBrowser b)
virtual

to be documented

Reimplemented from TObjectSet.

Definition at line 424 of file TVolumeView.cxx.

◆ DistancetoPrimitive()

Int_t TVolumeView::DistancetoPrimitive ( Int_t  px,
Int_t  py 
)
virtual

-*-*-*-*-*-*-*-*Compute distance from point px,py to a TVolumeView-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to the position of *-* this node.

*-* The distance is computed in pixels units. *-* *-* It is restricted by 2 levels of TVolumes *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Reimplemented from TObject.

Definition at line 443 of file TVolumeView.cxx.

◆ Draw()

void TVolumeView::Draw ( Option_t depth = "3")
virtual

-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* =============================================

Reimplemented from TObject.

Definition at line 514 of file TVolumeView.cxx.

◆ GetGlobalRange()

Int_t TVolumeView::GetGlobalRange ( const TVolumeView rootNode,
Float_t min,
Float_t max 
)
virtual

Calculate the position of the vertrex of the outlined cube in repect of the given TVolumeView object.

Definition at line 579 of file TVolumeView.cxx.

◆ GetListOfShapes()

TList * TVolumeView::GetListOfShapes ( ) const
inlinevirtual

Definition at line 82 of file TVolumeView.h.

◆ GetLocalRange()

void TVolumeView::GetLocalRange ( Float_t min,
Float_t max 
)
virtual

GetRange.

Calculates the size of 3 box the node occupies. Return: two floating point arrays with the bound of box surroundind all shapes of this TModeView

Definition at line 615 of file TVolumeView.cxx.

◆ GetNode()

TVolume * TVolumeView::GetNode ( ) const
virtual

to be documented

Definition at line 565 of file TVolumeView.cxx.

◆ GetObjectInfo()

char * TVolumeView::GetObjectInfo ( Int_t  px,
Int_t  py 
) const
virtual

to be documented

Reimplemented from TObject.

Definition at line 636 of file TVolumeView.cxx.

◆ GetPosition()

virtual TVolumePosition* TVolumeView::GetPosition ( ) const
inlinevirtual

Definition at line 52 of file TVolumeView.h.

◆ GetShape()

TShape * TVolumeView::GetShape ( ) const
inlinevirtual

Definition at line 83 of file TVolumeView.h.

◆ GetVisibility()

Int_t TVolumeView::GetVisibility ( ) const
inlinevirtual

Definition at line 85 of file TVolumeView.h.

◆ Is3D()

virtual Bool_t TVolumeView::Is3D ( ) const
inlinevirtual

Definition at line 61 of file TVolumeView.h.

◆ IsMarked()

Bool_t TVolumeView::IsMarked ( ) const
inlinevirtual

Reimplemented from TDataSet.

Definition at line 81 of file TVolumeView.h.

◆ Local2Master() [1/4]

TVolumePosition * TVolumeView::Local2Master ( const TVolumeView localNode,
const TVolumeView masterNode = 0 
)
virtual

to be documented

Definition at line 678 of file TVolumeView.cxx.

◆ Local2Master() [2/4]

TVolumePosition * TVolumeView::Local2Master ( const Char_t localName,
const Char_t masterName = 0 
)
virtual

to be documented

Definition at line 663 of file TVolumeView.cxx.

◆ Local2Master() [3/4]

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

calculate transformation master = (M-local->master )*local + (T-local->master ) where M-local->master - rotation matrix 3 x 3 from the master node to the local node T-local->master - trasport vector 3 from the master node to the local node

returns a "master" pointer if transformation has been found otherwise 0;

Definition at line 702 of file TVolumeView.cxx.

◆ Local2Master() [4/4]

Float_t * TVolumeView::Local2Master ( const Float_t local,
Float_t master,
const TVolumeView localNode,
const TVolumeView masterNode = 0,
Int_t  nVector = 1 
)
virtual

calculate transformation master = (M-local->master )*local + (T-local->master ) where M-local->master - rotation matrix 3 x 3 from the master node to the local node T-local->master - trasport vector 3 from the master node to the local node

returns a "master" pointer if transformation has been found otherwise 0;

Definition at line 728 of file TVolumeView.cxx.

◆ Nodes()

virtual TList* TVolumeView::Nodes ( )
inlinevirtual

Definition at line 69 of file TVolumeView.h.

◆ Paint()

void TVolumeView::Paint ( Option_t option = "")
virtual

-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-* *-* vis = 1 (default) shape is drawn *-* vis = 0 shape is not drawn but its sons may be not drawn *-* vis = -1 shape is not drawn.

Its sons are not drawn *-* vis = -2 shape is drawn. Its sons are not drawn *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

It draw the TVolumeView layers from the iFirst one (form the zero) till iLast one reached.

restrict the levels for "range" option

Reimplemented from TObject.

Definition at line 761 of file TVolumeView.cxx.

◆ PaintShape()

void TVolumeView::PaintShape ( Option_t option)
protectedvirtual

Paint shape of the node To be called from the TObject::Paint method only.

Definition at line 819 of file TVolumeView.cxx.

◆ PathP()

TString TVolumeView::PathP ( ) const
virtual

return the full path of this data set

Definition at line 864 of file TVolumeView.cxx.

◆ SavePrimitive()

void TVolumeView::SavePrimitive ( std::ostream &  out,
Option_t option = "" 
)
virtual

to be documented

Reimplemented from TObject.

Definition at line 885 of file TVolumeView.cxx.

◆ SetLineAttributes()

void TVolumeView::SetLineAttributes ( )
virtual

to be documented

Definition at line 954 of file TVolumeView.cxx.

◆ SetVisibility()

void TVolumeView::SetVisibility ( Int_t  vis = 1)
virtual

to be documented

Definition at line 963 of file TVolumeView.cxx.

◆ Sizeof3D()

void TVolumeView::Sizeof3D ( ) const
virtual

-*-*-*-*-*-*Return total size of this 3-D Node with its attributes-*-* *-* ==========================================================

Reimplemented from TAtt3D.

Definition at line 973 of file TVolumeView.cxx.

Member Data Documentation

◆ fListOfShapes

TList* TVolumeView::fListOfShapes
protected

Definition at line 28 of file TVolumeView.h.


The documentation for this class was generated from the following files: