![]() |
ROOT
6.06/09
Reference Guide
|
Public Types | |
enum | ENodeSEEN { kBothVisible = 00, kSonUnvisible = 1, kThisUnvisible = 2, kNoneVisible = kThisUnvisible | kSonUnvisible } |
![]() | |
enum | EDataSetPass { kContinue, kPrune, kStop, kUp, kStruct, kAll, kRefs, kMarked } |
enum | ESetBits { kMark = BIT(22), kArray = BIT(20) } |
enum | EBitOpt { kSet = kTRUE, kReset = kFALSE } |
![]() | |
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) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Public Member Functions | |
TVolume () | |
TVolume (const char *name, const char *title, const char *shapename, Option_t *option="") | |
*-*-*-*-*-*-*-*-*-*-*Volume normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ========================= *-* *-* name is the name of the node *-* title is title *-* shapename is the name of the referenced shape *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
TVolume (const char *name, const char *title, TShape *shape, Option_t *option="") | |
*-*-*-*-*-*-*-*-*-*-*Volume normal constructor*-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* shape is the pointer to the shape definition *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
TVolume (TNode &node) | |
Convert a TNode object into a TVolume. More... | |
virtual | ~TVolume () |
*-*-*-*-*-*-*-*-*-*-*Volume default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ====================== More... | |
virtual TVolumePosition * | Add (TVolume *node, Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0, UInt_t id=0, Option_t *option="") |
*-* *-* volume the pointer to the volume to be placed *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* id is a unique position id *-* More... | |
virtual TVolumePosition * | Add (TVolume *node, Double_t x, Double_t y, Double_t z, const char *matrixname, UInt_t id=0, Option_t *option="") |
*-* *-* volume the pointer to the volume to be placed *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* id is a unique position id *-* More... | |
virtual void | Add (TShape *shape, Bool_t IsMaster=kFALSE) |
to be documented More... | |
virtual void | Browse (TBrowser *b) |
to be documented More... | |
virtual TNode * | CreateTNode (const TVolumePosition *position=0) |
Convert a TVolume object into a TNode. More... | |
virtual void | DeletePosition (TVolumePosition *position) |
DeletePosition deletes the position of the TVolume *node from this TVolume and removes that volume from the list of the nodes of this TVolume. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
to be documented More... | |
virtual void | Draw (Option_t *depth="3") |
*-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters*-*-*-* *-* ============================================= More... | |
virtual void | DrawOnly (Option_t *option="") |
*-*-*-*-*-*-*-*-*-*Draw only Sons of this node*-*-*-*-*-*-*-*-*-*-*-*-* *-* =========================== More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-* *-* ========================================= *-* This member function must be implemented to realize the action *-* corresponding to the mouse click on the object in the window *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
to be documented More... | |
const Option_t * | GetOption () const |
TShape * | GetShape () const |
TList * | GetListOfShapes () const |
virtual void | GetLocalRange (Float_t *min, Float_t *max) |
GetRange. More... | |
virtual ENodeSEEN | GetVisibility () const |
virtual TList * | GetListOfPositions () |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual void | ImportShapeAttributes () |
*-*-*-*-*-*-*Copy shape attributes as node attributes*-*-*-*-*–*-*-*-*-*-* *-* ======================================== More... | |
virtual Bool_t | IsMarked () const |
virtual Bool_t | Is3D () const |
virtual TList * | Nodes () const |
virtual void | Paint (Option_t *option="") |
*-*- Draw Referenced node More... | |
virtual void | PaintShape (Option_t *option="") |
Paint shape of the volume To be called from the TObject::Paint method only. More... | |
virtual void | SetVisibility (ENodeSEEN vis=TVolume::kBothVisible) |
*-*-*-*-*-*-*Set visibility for this volume and its sons*-*-*-*-*–*-*-*-*-*-* *-* ========================================= ENodeSEEN Visibility flag 00 - everything visible, 10 - this unvisible, but sons are visible 01 - this visible but sons 11 - neither this nor its sons are visible *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | Sizeof3D () const |
*-*-*-*-*-*-*Return total size of this 3-D volume with its attributes*-*-* *-* ========================================================== More... | |
![]() | |
TObjectSet (const Char_t *name, TObject *obj=0, Bool_t makeOwner=kTRUE) | |
TObjectSet (TObject *obj=0, Bool_t makeOwner=kTRUE) | |
to be documented More... | |
virtual | ~TObjectSet () |
to be documented More... | |
virtual TObject * | AddObject (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 Long_t | HasData () const |
virtual TObject * | GetObject () const |
The depricated method (left here for the sake of the backward compatibility) More... | |
virtual TDataSet * | Instance () 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 TObject * | SetObject (TObject *obj, Bool_t makeOwner) |
![]() | |
TDataSet (const char *name="", TDataSet *parent=0, Bool_t arrayFlag=kFALSE) | |
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... | |
TDataSet * | At (Int_t idx) const |
virtual TObject * | Clone (const char *newname="") const |
the custom implementation fo the TObject::Clone More... | |
virtual TDataSet * | Find (const char *path) const |
Full description see: TDataSetIter::Find. More... | |
virtual TDataSet * | FindByName (const char *name, const char *path="", Option_t *opt="") const |
Full description see: TDataSetIter::Find. More... | |
virtual TDataSet * | FindByPath (const char *path) const |
Aliase for TDataSet::Find(const Char_t *path) method. More... | |
virtual TDataSet * | FindByTitle (const char *title, const char *path="", Option_t *opt="") const |
Full description see: TDataSetIter::Find. More... | |
TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
TObject * | FindObject (const TObject *o) const |
Must be redefined in derived classes. More... | |
virtual TDataSet * | First () const |
Return the first object in the list. Returns 0 when list is empty. More... | |
TObjArray * | GetObjArray () const |
virtual TSeqCollection * | GetCollection () const |
TList * | GetList () const |
virtual Int_t | GetListSize () const |
TObject * | GetMother () const |
virtual TDataSet * | GetParent () const |
virtual TString | Path () const |
return the full path of this data set 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 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 TDataSet * | RemoveAt (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... | |
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 TDataSet * | Last () 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 | UnMark () |
void | MarkAll () |
Mark all members of this dataset. More... | |
void | UnMarkAll () |
UnMark all members of this dataset. More... | |
void | InvertAllMarks () |
Invert mark bit for all members of this dataset. More... | |
void | Mark (UInt_t flag, EBitOpt reset=kSet) |
virtual TDataSet * | Next () const |
Return the object next to this one in the parent structure This convinient but time-consuming. More... | |
virtual TDataSet * | Prev () const |
Return the object that is previous to this one in the parent structure This convinient but time-consuming. 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... | |
![]() | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. 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 Bool_t | IsSortable () const |
virtual void | SetName (const char *name) |
Change (i.e. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Change (i.e. set) all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Change (i.e. set) the title of the TNamed. More... | |
virtual void | Print (Option_t *option="") const |
Print TNamed name and title. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
![]() | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. 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 TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. 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 Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. 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... | |
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 |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. 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... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
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 | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. 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) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. 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... | |
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... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
![]() | |
TAttLine () | |
AttLine default constructor. More... | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
AttLine normal constructor. More... | |
virtual | ~TAttLine () |
AttLine destructor. More... | |
void | Copy (TAttLine &attline) const |
Copy this line attributes to a new TAttLine. More... | |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
Compute distance from point px,py to a line. More... | |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
Change current line attributes if necessary. More... | |
virtual void | ResetAttLine (Option_t *option="") |
Reset this line attributes to default values. More... | |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
Save line attributes as C++ statement(s) on output stream out. More... | |
virtual void | SetLineAttributes () |
Invoke the DialogCanvas Line attributes. More... | |
virtual void | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
Set a transparent line color. More... | |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
ClassDef (TAttLine, 2) | |
![]() | |
TAttFill () | |
TAttFill (Color_t fcolor, Style_t fstyle) | |
AttFill normal constructor. More... | |
virtual | ~TAttFill () |
AttFill destructor. More... | |
void | Copy (TAttFill &attfill) const |
Copy this fill attributes to a new TAttFill. More... | |
virtual Color_t | GetFillColor () const |
virtual Style_t | GetFillStyle () const |
virtual Bool_t | IsTransparent () const |
virtual void | Modify () |
Change current fill area attributes if necessary. More... | |
virtual void | ResetAttFill (Option_t *option="") |
Reset this fill attributes to default values. More... | |
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
Save fill attributes as C++ statement(s) on output stream out. More... | |
virtual void | SetFillAttributes () |
Invoke the DialogCanvas Fill attributes. More... | |
virtual void | SetFillColor (Color_t fcolor) |
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
Set a transparent fill color. More... | |
virtual void | SetFillStyle (Style_t fstyle) |
![]() | |
TAtt3D () | |
virtual | ~TAtt3D () |
Static Public Member Functions | |
static Int_t | MapStNode2GEANTVis (ENodeSEEN vis) |
ENodeSEEN Visibility flag 00 - everything visible, 10 - this unvisible, but sons are visible 01 - this visible but sons 11 - neither this nor its sons are visible Maps the value of the visibility flag to begin_html GEANT 3.21 "volume attributes"end_html. More... | |
static Int_t | MapGEANT2StNodeVis (Int_t vis) |
static TRotMatrix * | GetIdentity () |
Return a pointer the "identity" matrix. More... | |
![]() | |
static TObjectSet * | instance () |
![]() | |
static TDataSet * | GetMainSet () |
return pointer to the main dataset More... | |
static TDataSet * | instance () |
![]() | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Protected Member Functions | |
virtual void | Add (TDataSet *dataset) |
virtual void | Add (TVolumePosition *position) |
to be documented More... | |
virtual TVolumePosition * | Add (TVolume *node, TVolumePosition *nodePosition) |
to be documented More... | |
virtual Int_t | DistancetoNodePrimitive (Int_t px, Int_t py, TVolumePosition *position=0) |
*-*-*-*-*-*-*-*-*Compute distance from point px,py to a TVolumeView*-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to the position of *-* this volume. More... | |
void | SetPositionsList (TList *list=0) |
virtual void | PaintNodePosition (Option_t *option="", TVolumePosition *postion=0) |
*-*-*-*-*-*-*-*-*-*-*-*Paint Referenced volume 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 void | SetMother (TObject *mother) |
TDataSet (const char *name, const char *title) | |
void | AddMain (TDataSet *set) |
add data set to main data set More... | |
TDataSet * | GetRealParent () |
return real parent More... | |
void | MakeCollection () |
Create the internal container at once if any. More... | |
![]() | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Protected Attributes | |
TShape * | fShape |
TList * | fListOfShapes |
TString | fOption |
ENodeSEEN | fVisibility |
![]() | |
TObject * | fObj |
![]() | |
TDataSet * | fParent |
TSeqCollection * | fList |
![]() | |
TString | fName |
TString | fTitle |
![]() | |
Color_t | fLineColor |
Style_t | fLineStyle |
Width_t | fLineWidth |
![]() | |
Color_t | fFillColor |
Style_t | fFillStyle |
Friends | |
class | TPolyLineShape |
Additional Inherited Members | |
![]() | |
enum | EOwnerBits { kIsOwner = BIT(23) } |
![]() | |
static EDataSetPass | SortIt (TDataSet *ds) |
static EDataSetPass | SortIt (TDataSet *ds, void *user) |
![]() | |
static TDataSet * | fgMainSet = &mainSet |
#include <TVolume.h>
enum TVolume::ENodeSEEN |
TVolume::TVolume | ( | ) |
Referenced by TVolume().
TVolume::TVolume | ( | const char * | name, |
const char * | title, | ||
const char * | shapename, | ||
Option_t * | option = "" |
||
) |
*-*-*-*-*-*-*-*-*-*-*Volume normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ========================= *-* *-* name is the name of the node *-* title is title *-* shapename is the name of the referenced shape *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 91 of file TVolume.cxx.
*-*-*-*-*-*-*-*-*-*-*Volume normal constructor*-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* shape is the pointer to the shape definition *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 123 of file TVolume.cxx.
TVolume::TVolume | ( | TNode & | node | ) |
Convert a TNode object into a TVolume.
Definition at line 168 of file TVolume.cxx.
|
virtual |
*-*-*-*-*-*-*-*-*-*-*Volume default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ======================
Definition at line 250 of file TVolume.cxx.
Reimplemented from TDataSet.
Definition at line 103 of file TVolume.h.
Referenced by Add(), TVolumeView::AddNode(), TPolyLineShape::PaintNode(), and TVolume().
|
protectedvirtual |
to be documented
Definition at line 265 of file TVolume.cxx.
|
protectedvirtual |
to be documented
Definition at line 275 of file TVolume.cxx.
|
virtual |
*-* *-* volume the pointer to the volume to be placed *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* id is a unique position id *-*
Definition at line 294 of file TVolume.cxx.
|
virtual |
*-* *-* volume the pointer to the volume to be placed *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* id is a unique position id *-*
Definition at line 313 of file TVolume.cxx.
to be documented
Definition at line 196 of file TVolume.cxx.
|
virtual |
Convert a TVolume object into a TNode.
Definition at line 207 of file TVolume.cxx.
Referenced by CreateTNode().
|
virtual |
DeletePosition deletes the position of the TVolume *node from this TVolume and removes that volume from the list of the nodes of this TVolume.
Definition at line 711 of file TVolume.cxx.
|
protectedvirtual |
*-*-*-*-*-*-*-*-*Compute distance from point px,py to a TVolumeView*-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to the position of *-* this volume.
*-* The distance is computed in pixels units. *-* *-* It is restricted by 2 levels of TVolumes *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 365 of file TVolume.cxx.
Referenced by DistancetoNodePrimitive(), and DistancetoPrimitive().
to be documented
Reimplemented from TObject.
Definition at line 349 of file TVolume.cxx.
Referenced by TVolumeView::DistancetoPrimitive().
*-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters*-*-*-* *-* =============================================
Reimplemented from TObject.
Definition at line 440 of file TVolume.cxx.
Referenced by TVolumePosition::Draw(), and DrawOnly().
*-*-*-*-*-*-*-*-*-*Draw only Sons of this node*-*-*-*-*-*-*-*-*-*-*-*-* *-* ===========================
Definition at line 490 of file TVolume.cxx.
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-* *-* ========================================= *-* This member function must be implemented to realize the action *-* corresponding to the mouse click on the object in the window *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Reimplemented from TObject.
Definition at line 504 of file TVolume.cxx.
|
static |
Return a pointer the "identity" matrix.
Definition at line 516 of file TVolume.cxx.
Referenced by Add(), ClassImp(), TVolumePosition::Local2Master(), TVolumePosition::Master2Local(), TVolumePosition::Reset(), TVolumePosition::TVolumePosition(), and TVolumeView::TVolumeView().
|
inlinevirtual |
Definition at line 89 of file TVolume.h.
Referenced by Add(), Browse(), CreateTNode(), DeletePosition(), DistancetoNodePrimitive(), PaintNodePosition(), TVolumeView::TVolumeView(), and ~TVolume().
|
inline |
Definition at line 86 of file TVolume.h.
Referenced by TVolumeView::Sizeof3D().
GetRange.
Calculates the size of 3 box the volume occupies, Return: two floating point arrays with the bound of box surroundind all shapes of this TVolumeView
Definition at line 740 of file TVolume.cxx.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 84 of file TVolume.h.
Referenced by CreateTNode(), and TVolumePosition::GetOption().
|
inline |
Definition at line 85 of file TVolume.h.
Referenced by TVolumePosition::Browse(), CreateTNode(), and TVolumeView::DistancetoPrimitive().
|
inlinevirtual |
Definition at line 88 of file TVolume.h.
Referenced by CreateTNode(), DistancetoNodePrimitive(), TVolumeView::DistancetoPrimitive(), TVolumeView::GetVisibility(), TVolumePosition::GetVisibility(), PaintNodePosition(), PaintShape(), TVolumeView::Sizeof3D(), and Sizeof3D().
|
inlinevirtual |
|
virtual |
*-*-*-*-*-*-*Copy shape attributes as node attributes*-*-*-*-*–*-*-*-*-*-* *-* ========================================
Definition at line 564 of file TVolume.cxx.
Referenced by ImportShapeAttributes(), and TVolume().
|
inlinevirtual |
Reimplemented from TDataSet.
Definition at line 104 of file TVolume.h.
Referenced by TVolumeView::TVolumeView().
Definition at line 155 of file TVolume.cxx.
Referenced by TVolume().
ENodeSEEN Visibility flag 00 - everything visible, 10 - this unvisible, but sons are visible 01 - this visible but sons 11 - neither this nor its sons are visible Maps the value of the visibility flag to begin_html GEANT 3.21 "volume attributes"end_html.
Definition at line 147 of file TVolume.cxx.
Referenced by CreateTNode().
|
inlinevirtual |
Definition at line 94 of file TVolume.h.
Referenced by Sizeof3D().
*-*- Draw Referenced node
Reimplemented from TObject.
Definition at line 584 of file TVolume.cxx.
Referenced by Draw(), and GetLocalRange().
|
protectedvirtual |
*-*-*-*-*-*-*-*-*-*-*-*Paint Referenced volume 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 *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 603 of file TVolume.cxx.
Referenced by Paint(), TPolyLineShape::PaintNode(), and PaintNodePosition().
Paint shape of the volume To be called from the TObject::Paint method only.
Definition at line 653 of file TVolume.cxx.
Referenced by TVolumeView::Paint(), and PaintNodePosition().
Definition at line 61 of file TVolume.h.
Referenced by Add(), and ~TVolume().
|
virtual |
*-*-*-*-*-*-*Set visibility for this volume and its sons*-*-*-*-*–*-*-*-*-*-* *-* ========================================= ENodeSEEN Visibility flag 00 - everything visible, 10 - this unvisible, but sons are visible 01 - this visible but sons 11 - neither this nor its sons are visible *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 768 of file TVolume.cxx.
Referenced by DrawOnly(), TPolyLineShape::PaintNode(), TVolumeView::SetVisibility(), and TVolumePosition::SetVisibility().
|
virtual |
*-*-*-*-*-*-*Return total size of this 3-D volume with its attributes*-*-* *-* ==========================================================
Reimplemented from TAtt3D.
Definition at line 777 of file TVolume.cxx.
Referenced by Sizeof3D().
|
friend |
|
protected |
Definition at line 50 of file TVolume.h.
Referenced by Add(), DistancetoNodePrimitive(), GetListOfShapes(), GetObjectInfo(), PaintShape(), Sizeof3D(), and ~TVolume().
|
protected |
|
protected |
Definition at line 49 of file TVolume.h.
Referenced by Add(), GetShape(), ImportShapeAttributes(), PaintShape(), and TVolume().
|
protected |
Definition at line 52 of file TVolume.h.
Referenced by GetVisibility(), SetVisibility(), and TVolume().