ROOT 6.08/07 Reference Guide |
Definition at line 28 of file TVolumePosition.h.
Public Types | |
enum | EPositionBits { kIsOwn = BIT(23) } |
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) } |
Public Member Functions | |
TVolumePosition (TVolume *node=0, Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0) | |
-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
TVolumePosition (TVolume *node, Double_t x, Double_t y, Double_t z, const char *matrixname) | |
-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ====================== *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
TVolumePosition (const TVolumePosition *oldPosition, const TVolumePosition *curPosition) | |
Pick the "old" position by pieces. More... | |
TVolumePosition (const TVolumePosition &pos) | |
virtual | ~TVolumePosition () |
to be documented More... | |
virtual void | Browse (TBrowser *b) |
to be documented More... | |
virtual Double_t * | Cormx2Local (const Double_t *masterCorr, Double_t *localCorr) const |
to be documented More... | |
virtual Float_t * | Cormx2Local (const Float_t *masterCorr, Float_t *localCorr) const |
to be documented More... | |
virtual Double_t * | Cormx2Master (const Double_t *localCorr, Double_t *masterCorr) const |
to be documented More... | |
virtual Float_t * | Cormx2Master (const Float_t *localCorr, Float_t *masterCorr) const |
to be documented More... | |
virtual TDataSet * | DefineSet () |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
-*-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a Node-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to this node. More... | |
virtual void | Draw (Option_t *depth="3") |
-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* ============================================= More... | |
virtual Float_t * | Errmx2Local (const Float_t *masterError, Float_t *localError) const |
to be documented More... | |
virtual Double_t * | Errmx2Local (const Double_t *masterError, Double_t *localError) const |
to be documented More... | |
virtual Float_t * | Errmx2Master (const Float_t *localError, Float_t *masterError) const |
to be documented More... | |
virtual Double_t * | Errmx2Master (const Double_t *localError, Double_t *masterError) const |
to be documented 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 UInt_t | GetId () const |
const TRotMatrix * | GetMatrix () const |
TRotMatrix * | GetMatrix () |
virtual const Char_t * | GetName () const |
return VolumePosition name More... | |
virtual TVolume * | GetNode () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
to be documented More... | |
const Option_t * | GetOption () const |
Int_t | GetVisibility () const |
virtual Double_t | GetX (Int_t indx=0) const |
virtual const Double_t * | GetXYZ () const |
virtual Double_t | GetY () const |
virtual Double_t | GetZ () const |
virtual Bool_t | Is3D () const |
Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
Bool_t | IsMatrixOwner () const |
virtual Double_t * | Local2Master (const Double_t *local, Double_t *master, Int_t nPoints=1) const |
-*-*-*-*Convert one point from local system to master reference system-*-* *-* ============================================================== More... | |
virtual Float_t * | Local2Master (const Float_t *local, Float_t *master, Int_t nPoints=1) const |
-*-*-*Convert nPoints points from local system to master reference system-*-* *-* ============================================================== More... | |
virtual Double_t * | Master2Local (const Double_t *master, Double_t *local, Int_t nPoints=1) const |
-*-*-*-*Convert one point from master system to local reference system-*-* *-* ============================================================== More... | |
virtual Float_t * | Master2Local (const Float_t *master, Float_t *local, Int_t nPoints=1) const |
-*-*-*Convert nPoints points from master system to local reference system-*-* *-* ============================================================== More... | |
virtual TVolumePosition & | Mult (const TVolumePosition &position) |
TVolumePosition & | operator= (const TVolumePosition &rhs) |
virtual void | Paint (Option_t *option="") |
-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | Print (Option_t *option="") const |
to be documented More... | |
virtual TVolumePosition * | Reset (TVolume *node=0, Double_t x=0, Double_t y=0, Double_t z=0, TRotMatrix *matrix=0) |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Reset this position *-*-*-*-*-*-*-*-*-*-* *-* =================== *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This method is to re-use the memory this object without delete/create steps *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
to be documented More... | |
virtual void | SetId (UInt_t id) |
virtual void | SetLineAttributes () |
to be documented More... | |
virtual void | SetMatrix (TRotMatrix *matrix=0) |
to be documented More... | |
Bool_t | SetMatrixOwner (Bool_t ownerShips=kTRUE) |
virtual void | SetNode (TVolume *node) |
virtual void | SetPosition (Double_t x=0, Double_t y=0, Double_t z=0) |
virtual void | SetVisibility (Int_t vis=1) |
to be documented More... | |
virtual void | SetX (Double_t x) |
virtual void | SetXYZ (Double_t *xyz=0) |
to be documented More... | |
virtual void | SetY (Double_t y) |
virtual void | SetZ (Double_t z) |
virtual void | UpdatePosition (Option_t *option="") |
to be documented 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 | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. 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 | 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 | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () 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 const char * | GetTitle () const |
Returns title of object. More... | |
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 ULong_t | Hash () const |
Return hash value for this object. 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 |
virtual Bool_t | IsSortable () const |
Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. 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... | |
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... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (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... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
Protected Member Functions | |
void | DeleteOwnMatrix () |
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 | |
UInt_t | fId |
TRotMatrix * | fMatrix |
TVolume * | fNode |
Double_t | fX [3] |
Additional Inherited Members | |
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... | |
#include <TVolumePosition.h>
Enumerator | |
---|---|
kIsOwn |
Definition at line 39 of file TVolumePosition.h.
TVolumePosition::TVolumePosition | ( | TVolume * | node = 0 , |
Double_t | x = 0 , |
||
Double_t | y = 0 , |
||
Double_t | z = 0 , |
||
TRotMatrix * | matrix = 0 |
||
) |
-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-* *-* ================================ *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 91 of file TVolumePosition.cxx.
TVolumePosition::TVolumePosition | ( | TVolume * | node, |
Double_t | x, | ||
Double_t | y, | ||
Double_t | z, | ||
const char * | matrixname | ||
) |
-*-*-*-*-*-*-*-*-*-*Node normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*-* *-* ====================== *-* *-* name is the name of the node *-* title is title *-* x,y,z are the offsets of the volume with respect to his mother *-* matrixname is the name of the rotation matrix *-* *-* This new node is added into the list of sons of the current node *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 63 of file TVolumePosition.cxx.
TVolumePosition::TVolumePosition | ( | const TVolumePosition * | oldPosition, |
const TVolumePosition * | curPosition | ||
) |
Pick the "old" position by pieces.
Definition at line 102 of file TVolumePosition.cxx.
TVolumePosition::TVolumePosition | ( | const TVolumePosition & | pos | ) |
Definition at line 151 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 168 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 324 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 339 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 272 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 287 of file TVolumePosition.cxx.
|
inlinevirtual |
Definition at line 103 of file TVolumePosition.h.
|
inlineprotected |
Definition at line 105 of file TVolumePosition.h.
-*-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a Node-*-*-*-*-* *-* =========================================== *-* Compute the closest distance of approach from point px,py to this node.
*-* The distance is computed in pixels units. *-* *-* *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Reimplemented from TObject.
Definition at line 195 of file TVolumePosition.cxx.
-*-*-*-*-*-*-*-*-*-*-*Draw Referenced node with current parameters-*-*-* *-* =============================================
Reimplemented from TObject.
Definition at line 204 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 314 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 304 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 261 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 250 of file TVolumePosition.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 218 of file TVolumePosition.cxx.
|
inlinevirtual |
Definition at line 75 of file TVolumePosition.h.
|
inline |
Definition at line 117 of file TVolumePosition.h.
|
inline |
Definition at line 114 of file TVolumePosition.h.
|
virtual |
return VolumePosition name
Reimplemented from TObject.
Definition at line 230 of file TVolumePosition.cxx.
|
inlinevirtual |
Definition at line 63 of file TVolumePosition.h.
|
inlinevirtual |
Reimplemented from TObject.
Definition at line 65 of file TVolumePosition.h.
|
inline |
Definition at line 70 of file TVolumePosition.h.
Definition at line 71 of file TVolumePosition.h.
|
inlinevirtual |
Definition at line 72 of file TVolumePosition.h.
|
inlinevirtual |
Definition at line 73 of file TVolumePosition.h.
|
inlinevirtual |
Definition at line 74 of file TVolumePosition.h.
|
inlinevirtual |
Definition at line 79 of file TVolumePosition.h.
|
inlinevirtual |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Reimplemented from TObject.
Definition at line 78 of file TVolumePosition.h.
|
inline |
Definition at line 127 of file TVolumePosition.h.
|
virtual |
-*-*-*-*Convert one point from local system to master reference system-*-* *-* ==============================================================
Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.
Definition at line 364 of file TVolumePosition.cxx.
|
virtual |
-*-*-*Convert nPoints points from local system to master reference system-*-* *-* ==============================================================
Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.
Definition at line 391 of file TVolumePosition.cxx.
|
virtual |
-*-*-*-*Convert one point from master system to local reference system-*-* *-* ==============================================================
Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.
Definition at line 420 of file TVolumePosition.cxx.
|
virtual |
-*-*-*Convert nPoints points from master system to local reference system-*-* *-* ==============================================================
Note that before invoking this function, the global rotation matrix and translation vector for this node must have been computed. This is automatically done by the Paint functions. Otherwise TVolumePosition::UpdateMatrix should be called before.
Definition at line 448 of file TVolumePosition.cxx.
|
virtual |
Definition at line 570 of file TVolumePosition.cxx.
|
inline |
Definition at line 135 of file TVolumePosition.h.
-*-*-*-*-*-*-*-*-*-*-*Paint Referenced node with current parameters-*-*-* *-* ============================================== *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Reimplemented from TObject.
Definition at line 472 of file TVolumePosition.cxx.
|
virtual |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Reset this position *-*-*-*-*-*-*-*-*-*-* *-* =================== *-* x,y,z are the offsets of the volume with respect to his mother *-* matrix is the pointer to the rotation matrix *-* *-* This method is to re-use the memory this object without delete/create steps *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Definition at line 494 of file TVolumePosition.cxx.
Definition at line 97 of file TVolumePosition.h.
|
virtual |
to be documented
Definition at line 529 of file TVolumePosition.cxx.
|
virtual |
to be documented
Definition at line 537 of file TVolumePosition.cxx.
Definition at line 120 of file TVolumePosition.h.
Definition at line 90 of file TVolumePosition.h.
|
inlinevirtual |
Definition at line 91 of file TVolumePosition.h.
to be documented
Definition at line 563 of file TVolumePosition.cxx.
Definition at line 93 of file TVolumePosition.h.
to be documented
Definition at line 620 of file TVolumePosition.cxx.
Definition at line 94 of file TVolumePosition.h.
Definition at line 95 of file TVolumePosition.h.
to be documented
Definition at line 547 of file TVolumePosition.cxx.
|
protected |
Definition at line 33 of file TVolumePosition.h.
|
protected |
Definition at line 31 of file TVolumePosition.h.
|
protected |
Definition at line 32 of file TVolumePosition.h.
|
protected |
Definition at line 30 of file TVolumePosition.h.