ROOT
6.06/09
Reference Guide
|
Definition at line 44 of file TGeoPainter.h.
Public Member Functions | |
TGeoPainter (TGeoManager *manager) | |
virtual | ~TGeoPainter () |
*-*-*-*-*-*-*-*-*-*-*Geometry painter default destructor*-*-*-*-*-*-*-*-* *-* =================================== More... | |
virtual void | AddSize3D (Int_t numpoints, Int_t numsegs, Int_t numpolys) |
— Add numpoints, numsegs, numpolys to the global 3D size. More... | |
virtual TVirtualGeoTrack * | AddTrack (Int_t id, Int_t pdgcode, TObject *part) |
Create a primary TGeoTrack. More... | |
virtual void | AddTrackPoint (Double_t *point, Double_t *box, Bool_t reset=kFALSE) |
Average center of view of all painted tracklets and compute view box. More... | |
virtual void | BombTranslation (const Double_t *tr, Double_t *bombtr) |
get the new 'bombed' translation vector according current exploded view mode More... | |
virtual void | CheckBoundaryErrors (Int_t ntracks=1000000, Double_t radius=-1.) |
Check pushes and pulls needed to cross the next boundary with respect to the position given by FindNextBoundary. More... | |
virtual void | CheckBoundaryReference (Int_t icheck=-1) |
Check the boundary errors reference file created by CheckBoundaryErrors method. More... | |
virtual void | CheckGeometryFull (Bool_t checkoverlaps=kTRUE, Bool_t checkcrossings=kTRUE, Int_t nrays=10000, const Double_t *vertex=NULL) |
Geometry checking method (see: TGeoManager::CheckGeometry()) More... | |
virtual void | CheckGeometry (Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const |
Geometry checking method (see TGeoChecker). More... | |
void | CheckEdit () |
Check if Ged library is loaded and load geometry editor classe. More... | |
virtual void | CheckPoint (Double_t x=0, Double_t y=0, Double_t z=0, Option_t *option="") |
check current point in the geometry More... | |
virtual void | CheckShape (TGeoShape *shape, Int_t testNo, Int_t nsamples, Option_t *option) |
Test for shape navigation methods. More... | |
virtual void | CheckOverlaps (const TGeoVolume *vol, Double_t ovlp=0.1, Option_t *option="") const |
Check overlaps for the top volume of the geometry, within a limit OVLP. More... | |
Int_t | CountNodes (TGeoVolume *vol, Int_t level) const |
Count number of visible nodes down to a given level. More... | |
virtual Int_t | CountVisibleNodes () |
Count total number of visible nodes. More... | |
virtual void | DefaultAngles () |
Set default angles for the current view. More... | |
virtual void | DefaultColors () |
Set default volume colors according to tracking media. More... | |
virtual Int_t | DistanceToPrimitiveVol (TGeoVolume *vol, Int_t px, Int_t py) |
compute the closest distance of approach from point px,py to a volume More... | |
virtual void | Draw (Option_t *option="") |
Draw method. More... | |
virtual void | DrawBatemanSol (TGeoBatemanSol *sol, Option_t *option="") |
Draw the time evolution of a radionuclide. More... | |
virtual void | DrawOverlap (void *ovlp, Option_t *option="") |
Draw an overlap. More... | |
virtual void | DrawCurrentPoint (Int_t color) |
Draw current point in the same view. More... | |
virtual void | DrawOnly (Option_t *option="") |
Draw only one volume. More... | |
virtual void | DrawPanel () |
virtual void | DrawPath (const char *path, Option_t *option="") |
Draw all volumes for a given path. More... | |
virtual void | DrawPolygon (const TGeoPolygon *poly) |
Draw a polygon in 3D. More... | |
virtual void | DrawShape (TGeoShape *shape, Option_t *option="") |
Draw a shape. More... | |
virtual void | DrawVolume (TGeoVolume *vol, Option_t *option="") |
Draw method. More... | |
virtual void | EditGeometry (Option_t *option="") |
Start the geometry editor. More... | |
virtual void | EstimateCameraMove (Double_t tmin, Double_t tmax, Double_t *start, Double_t *end) |
Estimate camera movement between tmin and tmax for best track display. More... | |
virtual void | ExecuteManagerEvent (TGeoManager *geom, Int_t event, Int_t px, Int_t py) |
Execute mouse actions on a given volume. More... | |
virtual void | ExecuteShapeEvent (TGeoShape *shape, Int_t event, Int_t px, Int_t py) |
Execute mouse actions on a given shape. More... | |
virtual void | ExecuteVolumeEvent (TGeoVolume *volume, Int_t event, Int_t px, Int_t py) |
Execute mouse actions on a given volume. More... | |
virtual const char * | GetVolumeInfo (const TGeoVolume *volume, Int_t px, Int_t py) const |
Get some info about the current selected volume. More... | |
virtual void | GetBombFactors (Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr) const |
virtual Int_t | GetBombMode () const |
virtual TGeoNode * | GetCheckedNode () |
TGeoChecker * | GetChecker () |
Create/return geometry checker. More... | |
virtual Int_t | GetColor (Int_t base, Float_t light) const |
Get index of a base color with given light intensity (0,1) More... | |
virtual const char * | GetDrawPath () const |
virtual TGeoVolume * | GetDrawnVolume () const |
Get currently drawn volume. More... | |
virtual TGeoVolume * | GetTopVolume () const |
virtual Int_t | GetVisLevel () const |
virtual Int_t | GetVisOption () const |
Int_t | GetNsegments () const |
virtual void | GrabFocus (Int_t nfr=0, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0) |
Move focus to current volume. More... | |
virtual Double_t * | GetViewBox () |
virtual void | GetViewAngles (Double_t &longitude, Double_t &latitude, Double_t &psi) |
Get the current view angles. More... | |
virtual Bool_t | IsExplodedView () const |
virtual Bool_t | IsRaytracing () const |
virtual Bool_t | IsPaintingShape () const |
TH2F * | LegoPlot (Int_t ntheta=60, Double_t themin=0., Double_t themax=180., Int_t nphi=90, Double_t phimin=0., Double_t phimax=360., Double_t rmin=0., Double_t rmax=9999999, Option_t *option="") |
Generate a lego plot fot the top volume, according to option. More... | |
void | Lock (Bool_t flag=kTRUE) |
virtual void | ModifiedPad (Bool_t update=kFALSE) const |
Check if a pad and view are present and send signal "Modified" to pad. More... | |
virtual void | OpProgress (const char *opname, Long64_t current, Long64_t size, TStopwatch *watch=0, Bool_t last=kFALSE, Bool_t refresh=kFALSE, const char *msg="") |
Text progress bar. More... | |
virtual void | Paint (Option_t *option="") |
Paint current geometry according to option. More... | |
virtual void | PaintNode (TGeoNode *node, Option_t *option="", TGeoMatrix *global=0) |
Paint recursively a node and its content accordind to visualization options. More... | |
Bool_t | PaintShape (const TGeoShape &shape, Option_t *option) const |
Paint the supplied shape into the current 3D viewer. More... | |
virtual void | PaintShape (TGeoShape *shape, Option_t *option="") |
Paint an overlap. More... | |
virtual void | PaintOverlap (void *ovlp, Option_t *option="") |
Paint an overlap. More... | |
virtual void | PaintVolume (TGeoVolume *vol, Option_t *option="", TGeoMatrix *global=0) |
Paint recursively a node and its content accordind to visualization options. More... | |
virtual void | PrintOverlaps () const |
Print overlaps (see TGeoChecker::PrintOverlaps()) More... | |
void | PaintPhysicalNode (TGeoPhysicalNode *node, Option_t *option="") |
Paints a physical node associated with a path. More... | |
virtual void | RandomPoints (const TGeoVolume *vol, Int_t npoints, Option_t *option="") |
Draw random points in the bounding box of a volume. More... | |
virtual void | RandomRays (Int_t nrays, Double_t startx, Double_t starty, Double_t startz, const char *target_vol=0, Bool_t check_norm=kFALSE) |
Shoot nrays in the current drawn geometry. More... | |
virtual void | Raytrace (Option_t *option="") |
Raytrace current drawn geometry. More... | |
virtual TGeoNode * | SamplePoints (Int_t npoints, Double_t &dist, Double_t epsil, const char *g3path) |
shoot npoints randomly in a box of 1E-5 arround current point. More... | |
virtual void | SetBombFactors (Double_t bombx=1.3, Double_t bomby=1.3, Double_t bombz=1.3, Double_t bombr=1.3) |
— Set cartesian and radial bomb factors for translations More... | |
virtual void | SetClippingShape (TGeoShape *shape) |
virtual void | SetExplodedView (Int_t iopt=0) |
set type of exploding view More... | |
virtual void | SetNsegments (Int_t nseg=20) |
Set number of segments to approximate circles. More... | |
virtual void | SetNmeshPoints (Int_t npoints) |
Set number of points to be generated on the shape outline when checking for overlaps. More... | |
virtual void | SetGeoManager (TGeoManager *geom) |
virtual void | SetIteratorPlugin (TGeoIteratorPlugin *plugin) |
virtual void | SetCheckedNode (TGeoNode *node) |
Select a node to be checked for overlaps. More... | |
virtual void | SetRaytracing (Bool_t flag=kTRUE) |
virtual void | SetTopVisible (Bool_t vis=kTRUE) |
Set top geometry volume as visible. More... | |
virtual void | SetTopVolume (TGeoVolume *vol) |
virtual void | SetVisLevel (Int_t level=3) |
Set default level down to which visualization is performed. More... | |
virtual void | SetVisOption (Int_t option=0) |
set drawing mode : option=0 (default) all nodes drawn down to vislevel option=1 leaves and nodes at vislevel drawn option=2 path is drawn More... | |
virtual Int_t | ShapeDistancetoPrimitive (const TGeoShape *shape, Int_t numpoints, Int_t px, Int_t py) const |
Returns distance between point px,py on the pad an a shape. More... | |
virtual void | Test (Int_t npoints, Option_t *option) |
Check time of finding "Where am I" for n points. More... | |
virtual void | TestOverlaps (const char *path) |
— Geometry overlap checker based on sampling. More... | |
virtual Bool_t | TestVoxels (TGeoVolume *vol) |
Check voxels efficiency per volume. More... | |
virtual void | UnbombTranslation (const Double_t *tr, Double_t *bombtr) |
get the new 'unbombed' translation vector according current exploded view mode More... | |
virtual Double_t | Weight (Double_t precision, Option_t *option="v") |
Compute weight [kg] of the current volume. More... | |
Public Member Functions inherited from TVirtualGeoPainter | |
TVirtualGeoPainter (TGeoManager *manager) | |
virtual | ~TVirtualGeoPainter () |
*-*-*-*-*-*-*-*-*-*-*Geometry painter default destructor*-*-*-*-*-*-*-*-* *-* =================================== More... | |
Public Member Functions inherited from TObject | |
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 void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. 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 Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the 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 | 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 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 UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. 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 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 | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsSortable () const |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. 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... | |
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... | |
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... | |
Protected Member Functions | |
virtual void | ClearVisibleVolumes () |
Clear the list of visible volumes reset the kVisOnScreen bit for volumes previously in the list. More... | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Private Member Functions | |
void | DefineColors () const |
Define 100 colors with increasing light intensities for each basic color (1-7) Register these colors at indexes starting with 1000. More... | |
void | LocalToMasterVect (const Double_t *local, Double_t *master) const |
Convert a local vector according view rotation matrix. More... | |
Additional Inherited Members | |
Public Types inherited from TVirtualGeoPainter | |
enum | EGeoVisLevel { kGeoVisLevel = 0 } |
enum | EGeoVisOption { kGeoVisDefault = 0, kGeoVisLeaves = 1, kGeoVisOnly = 2, kGeoVisBranch = 3, kGeoVisChanged = 4 } |
enum | EGeoBombOption { kGeoNoBomb = 0, kGeoBombXYZ = 1, kGeoBombCyl = 2, kGeoBombSph = 3 } |
Public Types inherited from TObject | |
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) } |
Static Public Member Functions inherited from TVirtualGeoPainter | |
static TVirtualGeoPainter * | GeoPainter () |
Static function returning a pointer to the geometry painter. More... | |
static void | SetPainter (const TVirtualGeoPainter *painter) |
Static function to set an alternative histogram painter. More... | |
Static Public Member Functions inherited from TObject | |
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... | |
Static Protected Attributes inherited from TVirtualGeoPainter | |
static TVirtualGeoPainter * | fgGeoPainter = 0 |
#include <TGeoPainter.h>
TGeoPainter::TGeoPainter | ( | TGeoManager * | manager | ) |
|
virtual |
*-*-*-*-*-*-*-*-*-*-*Geometry painter default destructor*-*-*-*-*-*-*-*-* *-* ===================================
Definition at line 104 of file TGeoPainter.cxx.
— Add numpoints, numsegs, numpolys to the global 3D size.
Implements TVirtualGeoPainter.
Definition at line 115 of file TGeoPainter.cxx.
|
virtual |
Create a primary TGeoTrack.
Implements TVirtualGeoPainter.
Definition at line 124 of file TGeoPainter.cxx.
Average center of view of all painted tracklets and compute view box.
Implements TVirtualGeoPainter.
Definition at line 132 of file TGeoPainter.cxx.
Referenced by EstimateCameraMove().
get the new 'bombed' translation vector according current exploded view mode
Implements TVirtualGeoPainter.
Definition at line 162 of file TGeoPainter.cxx.
Check pushes and pulls needed to cross the next boundary with respect to the position given by FindNextBoundary.
If radius is not mentioned the full bounding box will be sampled.
Implements TVirtualGeoPainter.
Definition at line 193 of file TGeoPainter.cxx.
Check the boundary errors reference file created by CheckBoundaryErrors method.
The shape for which the crossing failed is drawn with the starting point in red and the extrapolated point to boundary (+/- failing push/pull) in yellow.
Implements TVirtualGeoPainter.
Definition at line 203 of file TGeoPainter.cxx.
void TGeoPainter::CheckEdit | ( | ) |
Check if Ged library is loaded and load geometry editor classe.
Definition at line 648 of file TGeoPainter.cxx.
Referenced by EditGeometry(), ExecuteManagerEvent(), ExecuteShapeEvent(), and ExecuteVolumeEvent().
|
virtual |
Geometry checking method (see TGeoChecker).
Implements TVirtualGeoPainter.
Definition at line 219 of file TGeoPainter.cxx.
|
virtual |
Geometry checking method (see: TGeoManager::CheckGeometry())
Implements TVirtualGeoPainter.
Definition at line 211 of file TGeoPainter.cxx.
|
virtual |
Check overlaps for the top volume of the geometry, within a limit OVLP.
Implements TVirtualGeoPainter.
Definition at line 227 of file TGeoPainter.cxx.
|
virtual |
check current point in the geometry
Implements TVirtualGeoPainter.
Definition at line 235 of file TGeoPainter.cxx.
|
virtual |
Test for shape navigation methods.
Summary for test numbers: 1: DistFromInside/Outside. Sample points inside the shape. Generate directions randomly in cos(theta). Compute DistFromInside and move the point with bigger distance. Compute DistFromOutside back from new point. Plot d-(d1+d2)
Implements TVirtualGeoPainter.
Definition at line 248 of file TGeoPainter.cxx.
|
protectedvirtual |
Clear the list of visible volumes reset the kVisOnScreen bit for volumes previously in the list.
Definition at line 257 of file TGeoPainter.cxx.
Referenced by DrawOnly(), DrawOverlap(), DrawVolume(), PaintVolume(), SetVisLevel(), and SetVisOption().
Int_t TGeoPainter::CountNodes | ( | TGeoVolume * | vol, |
Int_t | level | ||
) | const |
Count number of visible nodes down to a given level.
Definition at line 553 of file TGeoPainter.cxx.
Referenced by CountVisibleNodes().
|
virtual |
Count total number of visible nodes.
Implements TVirtualGeoPainter.
Definition at line 603 of file TGeoPainter.cxx.
Referenced by DrawVolume().
|
virtual |
Set default angles for the current view.
Implements TVirtualGeoPainter.
Definition at line 527 of file TGeoPainter.cxx.
|
virtual |
Set default volume colors according to tracking media.
Implements TVirtualGeoPainter.
Definition at line 541 of file TGeoPainter.cxx.
|
private |
Define 100 colors with increasing light intensities for each basic color (1-7) Register these colors at indexes starting with 1000.
Definition at line 273 of file TGeoPainter.cxx.
|
virtual |
compute the closest distance of approach from point px,py to a volume
Implements TVirtualGeoPainter.
Definition at line 334 of file TGeoPainter.cxx.
|
virtual |
Draw the time evolution of a radionuclide.
Implements TVirtualGeoPainter.
Definition at line 686 of file TGeoPainter.cxx.
Draw current point in the same view.
Implements TVirtualGeoPainter.
Definition at line 949 of file TGeoPainter.cxx.
Draw only one volume.
Implements TVirtualGeoPainter.
Definition at line 909 of file TGeoPainter.cxx.
|
virtual |
Implements TVirtualGeoPainter.
Definition at line 964 of file TGeoPainter.cxx.
Draw all volumes for a given path.
Implements TVirtualGeoPainter.
Definition at line 971 of file TGeoPainter.cxx.
|
virtual |
Draw a polygon in 3D.
Implements TVirtualGeoPainter.
Definition at line 726 of file TGeoPainter.cxx.
|
virtual |
Draw method.
Implements TVirtualGeoPainter.
Definition at line 775 of file TGeoPainter.cxx.
Referenced by Draw(), and DrawPath().
Start the geometry editor.
Implements TVirtualGeoPainter.
Definition at line 663 of file TGeoPainter.cxx.
|
virtual |
Estimate camera movement between tmin and tmax for best track display.
Reimplemented from TVirtualGeoPainter.
Definition at line 984 of file TGeoPainter.cxx.
|
virtual |
Execute mouse actions on a given volume.
Implements TVirtualGeoPainter.
Definition at line 1014 of file TGeoPainter.cxx.
Execute mouse actions on a given shape.
Implements TVirtualGeoPainter.
Definition at line 1027 of file TGeoPainter.cxx.
|
virtual |
Execute mouse actions on a given volume.
Implements TVirtualGeoPainter.
Definition at line 1040 of file TGeoPainter.cxx.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 120 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 122 of file TGeoPainter.h.
|
inlinevirtual |
Definition at line 123 of file TGeoPainter.h.
TGeoChecker * TGeoPainter::GetChecker | ( | ) |
Create/return geometry checker.
Definition at line 1110 of file TGeoPainter.cxx.
Get index of a base color with given light intensity (0,1)
Implements TVirtualGeoPainter.
Definition at line 299 of file TGeoPainter.cxx.
Referenced by Raytrace().
|
virtual |
Get currently drawn volume.
Implements TVirtualGeoPainter.
Definition at line 325 of file TGeoPainter.cxx.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 126 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 131 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 128 of file TGeoPainter.h.
|
virtual |
Get the current view angles.
Reimplemented from TVirtualGeoPainter.
Definition at line 1119 of file TGeoPainter.cxx.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 133 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 129 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 130 of file TGeoPainter.h.
|
virtual |
Get some info about the current selected volume.
Implements TVirtualGeoPainter.
Definition at line 1085 of file TGeoPainter.cxx.
|
virtual |
Move focus to current volume.
Implements TVirtualGeoPainter.
Definition at line 1132 of file TGeoPainter.cxx.
Referenced by ExecuteVolumeEvent().
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 135 of file TGeoPainter.h.
Referenced by SetBombFactors().
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 137 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 136 of file TGeoPainter.h.
|
virtual |
Generate a lego plot fot the top volume, according to option.
Implements TVirtualGeoPainter.
Definition at line 1161 of file TGeoPainter.cxx.
Convert a local vector according view rotation matrix.
Definition at line 1170 of file TGeoPainter.cxx.
Referenced by Raytrace().
Definition at line 141 of file TGeoPainter.h.
Check if a pad and view are present and send signal "Modified" to pad.
Implements TVirtualGeoPainter.
Definition at line 1179 of file TGeoPainter.cxx.
Referenced by DefaultAngles(), DefaultColors(), SetBombFactors(), SetExplodedView(), SetIteratorPlugin(), SetNsegments(), SetTopVisible(), SetVisLevel(), and SetVisOption().
|
virtual |
Text progress bar.
Implements TVirtualGeoPainter.
Definition at line 1578 of file TGeoPainter.cxx.
Referenced by Raytrace().
Paint current geometry according to option.
Implements TVirtualGeoPainter.
Definition at line 1196 of file TGeoPainter.cxx.
Referenced by DrawVolume().
|
virtual |
Paint recursively a node and its content accordind to visualization options.
Implements TVirtualGeoPainter.
Definition at line 1281 of file TGeoPainter.cxx.
Paint an overlap.
Implements TVirtualGeoPainter.
Definition at line 1233 of file TGeoPainter.cxx.
Referenced by DrawOverlap().
void TGeoPainter::PaintPhysicalNode | ( | TGeoPhysicalNode * | node, |
Option_t * | option = "" |
||
) |
Paints a physical node associated with a path.
Definition at line 1506 of file TGeoPainter.cxx.
Referenced by Paint().
Paint the supplied shape into the current 3D viewer.
Definition at line 1447 of file TGeoPainter.cxx.
Referenced by DrawShape(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), and PaintVolume().
|
virtual |
Paint recursively a node and its content accordind to visualization options.
Implements TVirtualGeoPainter.
Definition at line 1289 of file TGeoPainter.cxx.
Referenced by Paint(), and PaintNode().
|
virtual |
Print overlaps (see TGeoChecker::PrintOverlaps())
Implements TVirtualGeoPainter.
Definition at line 1570 of file TGeoPainter.cxx.
|
virtual |
Draw random points in the bounding box of a volume.
Implements TVirtualGeoPainter.
Definition at line 1586 of file TGeoPainter.cxx.
|
virtual |
Shoot nrays in the current drawn geometry.
Implements TVirtualGeoPainter.
Definition at line 1594 of file TGeoPainter.cxx.
Raytrace current drawn geometry.
Implements TVirtualGeoPainter.
Definition at line 1602 of file TGeoPainter.cxx.
Referenced by Paint().
|
virtual |
shoot npoints randomly in a box of 1E-5 arround current point.
return minimum distance to points outside
Implements TVirtualGeoPainter.
Definition at line 1806 of file TGeoPainter.cxx.
|
virtual |
— Set cartesian and radial bomb factors for translations
Implements TVirtualGeoPainter.
Definition at line 1815 of file TGeoPainter.cxx.
Select a node to be checked for overlaps.
All overlaps not involving it will be ignored.
Implements TVirtualGeoPainter.
Definition at line 1877 of file TGeoPainter.cxx.
Implements TVirtualGeoPainter.
Definition at line 157 of file TGeoPainter.h.
set type of exploding view
Implements TVirtualGeoPainter.
Definition at line 1827 of file TGeoPainter.cxx.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 161 of file TGeoPainter.h.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 162 of file TGeoPainter.h.
Set number of points to be generated on the shape outline when checking for overlaps.
Implements TVirtualGeoPainter.
Definition at line 1869 of file TGeoPainter.cxx.
Set number of segments to approximate circles.
Implements TVirtualGeoPainter.
Definition at line 1855 of file TGeoPainter.cxx.
Implements TVirtualGeoPainter.
Definition at line 164 of file TGeoPainter.h.
Set top geometry volume as visible.
Implements TVirtualGeoPainter.
Definition at line 1906 of file TGeoPainter.cxx.
|
inlinevirtual |
Implements TVirtualGeoPainter.
Definition at line 166 of file TGeoPainter.h.
Set default level down to which visualization is performed.
Implements TVirtualGeoPainter.
Definition at line 1884 of file TGeoPainter.cxx.
Referenced by CountVisibleNodes().
set drawing mode : option=0 (default) all nodes drawn down to vislevel option=1 leaves and nodes at vislevel drawn option=2 path is drawn
Implements TVirtualGeoPainter.
Definition at line 1919 of file TGeoPainter.cxx.
|
virtual |
Returns distance between point px,py on the pad an a shape.
Implements TVirtualGeoPainter.
Definition at line 1963 of file TGeoPainter.cxx.
Check time of finding "Where am I" for n points.
Implements TVirtualGeoPainter.
Definition at line 2016 of file TGeoPainter.cxx.
|
virtual |
— Geometry overlap checker based on sampling.
Implements TVirtualGeoPainter.
Definition at line 2024 of file TGeoPainter.cxx.
|
virtual |
Check voxels efficiency per volume.
Implements TVirtualGeoPainter.
Definition at line 2032 of file TGeoPainter.cxx.
get the new 'unbombed' translation vector according current exploded view mode
Implements TVirtualGeoPainter.
Definition at line 2040 of file TGeoPainter.cxx.
Compute weight [kg] of the current volume.
Implements TVirtualGeoPainter.
Definition at line 2069 of file TGeoPainter.cxx.
|
private |
Definition at line 49 of file TGeoPainter.h.
Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().
|
private |
Definition at line 46 of file TGeoPainter.h.
Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().
|
private |
Definition at line 47 of file TGeoPainter.h.
Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().
|
private |
Definition at line 48 of file TGeoPainter.h.
Referenced by BombTranslation(), GetBombFactors(), SetBombFactors(), and UnbombTranslation().
|
private |
Definition at line 67 of file TGeoPainter.h.
Referenced by ShapeDistancetoPrimitive(), and ~TGeoPainter().
|
private |
Definition at line 50 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), and GrabFocus().
|
private |
Definition at line 64 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), GetCheckedNode(), and GrabFocus().
|
private |
Definition at line 69 of file TGeoPainter.h.
Referenced by CheckBoundaryErrors(), CheckBoundaryReference(), CheckGeometry(), CheckGeometryFull(), CheckOverlaps(), CheckPoint(), CheckShape(), GetChecker(), LegoPlot(), OpProgress(), PrintOverlaps(), RandomPoints(), RandomRays(), Raytrace(), SamplePoints(), SetCheckedNode(), SetNmeshPoints(), Test(), TestOverlaps(), TestVoxels(), Weight(), and ~TGeoPainter().
|
private |
Definition at line 70 of file TGeoPainter.h.
Referenced by Raytrace().
|
private |
Definition at line 56 of file TGeoPainter.h.
Referenced by BombTranslation(), GetBombMode(), SetExplodedView(), and UnbombTranslation().
|
private |
Definition at line 68 of file TGeoPainter.h.
Referenced by CountNodes(), CountVisibleNodes(), DefaultColors(), DistanceToPrimitiveVol(), Draw(), DrawCurrentPoint(), DrawOnly(), DrawPath(), EditGeometry(), GetChecker(), GrabFocus(), Paint(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), PaintVolume(), Raytrace(), and ShapeDistancetoPrimitive().
|
private |
Definition at line 66 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), PaintOverlap(), PaintPhysicalNode(), PaintShape(), PaintVolume(), and ~TGeoPainter().
|
private |
Definition at line 76 of file TGeoPainter.h.
Referenced by CheckEdit(), EditGeometry(), ExecuteManagerEvent(), ExecuteShapeEvent(), and ExecuteVolumeEvent().
|
private |
Definition at line 61 of file TGeoPainter.h.
Referenced by DrawOnly(), DrawOverlap(), DrawPath(), DrawShape(), DrawVolume(), IsPaintingShape(), and ShapeDistancetoPrimitive().
|
private |
Definition at line 60 of file TGeoPainter.h.
Referenced by IsRaytracing(), and Paint().
|
private |
Definition at line 72 of file TGeoPainter.h.
Referenced by DrawVolume(), and SetVisLevel().
|
private |
Definition at line 51 of file TGeoPainter.h.
Referenced by LocalToMasterVect(), and Raytrace().
|
private |
Definition at line 52 of file TGeoPainter.h.
Referenced by GetNsegments(), and SetNsegments().
|
private |
Definition at line 53 of file TGeoPainter.h.
Referenced by CountVisibleNodes().
|
private |
Definition at line 65 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), DrawOverlap(), DrawShape(), DrawVolume(), GetVolumeInfo(), and PaintOverlap().
|
private |
Definition at line 59 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), DrawOnly(), DrawOverlap(), DrawShape(), DrawVolume(), GetVolumeInfo(), and GrabFocus().
|
private |
Definition at line 74 of file TGeoPainter.h.
Referenced by PaintVolume(), SetIteratorPlugin(), and ~TGeoPainter().
|
private |
Definition at line 58 of file TGeoPainter.h.
Referenced by CountNodes(), DistanceToPrimitiveVol(), PaintVolume(), and SetTopVisible().
|
private |
Definition at line 71 of file TGeoPainter.h.
Referenced by CountVisibleNodes(), DistanceToPrimitiveVol(), DrawOnly(), DrawPath(), DrawVolume(), GetDrawnVolume(), GetTopVolume(), Paint(), PaintVolume(), Raytrace(), SetVisLevel(), and SetVisOption().
|
private |
Definition at line 62 of file TGeoPainter.h.
Referenced by CountNodes(), DistanceToPrimitiveVol(), DrawPath(), and PaintVolume().
|
private |
Definition at line 54 of file TGeoPainter.h.
Referenced by CountVisibleNodes(), DistanceToPrimitiveVol(), GetVisLevel(), PaintVolume(), and SetVisLevel().
|
private |
Definition at line 57 of file TGeoPainter.h.
Referenced by DrawOnly(), DrawOverlap(), DrawVolume(), Paint(), PaintOverlap(), PaintVolume(), SetVisLevel(), and SetVisOption().
|
private |
Definition at line 55 of file TGeoPainter.h.
Referenced by DrawOnly(), DrawPath(), GetVisOption(), Paint(), and SetVisOption().
|
private |
Definition at line 75 of file TGeoPainter.h.
Referenced by ClearVisibleVolumes(), GrabFocus(), PaintOverlap(), PaintVolume(), and ~TGeoPainter().
|
private |
Definition at line 63 of file TGeoPainter.h.
Referenced by DistanceToPrimitiveVol(), and GetVolumeInfo().