Class implementing all draw interfaces for a generic 3D viewer using TBuffer3D mechanism.
Definition at line 39 of file TGeoPainter.h.
Public Member Functions | |
TGeoPainter (TGeoManager *manager) | |
Default constructor. | |
~TGeoPainter () override | |
Default destructor. | |
void | AddSize3D (Int_t numpoints, Int_t numsegs, Int_t numpolys) override |
Add numpoints, numsegs, numpolys to the global 3D size. | |
TVirtualGeoTrack * | AddTrack (Int_t id, Int_t pdgcode, TObject *part) override |
Create a primary TGeoTrack. | |
void | AddTrackPoint (Double_t *point, Double_t *box, Bool_t reset=kFALSE) override |
Average center of view of all painted tracklets and compute view box. | |
void | BombTranslation (const Double_t *tr, Double_t *bombtr) override |
Get the new 'bombed' translation vector according current exploded view mode. | |
void | CheckBoundaryErrors (Int_t ntracks=1000000, Double_t radius=-1.) override |
Check pushes and pulls needed to cross the next boundary with respect to the position given by FindNextBoundary. | |
void | CheckBoundaryReference (Int_t icheck=-1) override |
Check the boundary errors reference file created by CheckBoundaryErrors method. | |
void | CheckEdit () |
Check if Ged library is loaded and load geometry editor classe. | |
void | CheckGeometry (Int_t nrays, Double_t startx, Double_t starty, Double_t startz) const override |
Geometry checking method (see TGeoChecker). | |
void | CheckGeometryFull (Bool_t checkoverlaps=kTRUE, Bool_t checkcrossings=kTRUE, Int_t nrays=10000, const Double_t *vertex=nullptr) override |
Geometry checking method (see: TGeoManager::CheckGeometry()) | |
void | CheckOverlaps (const TGeoVolume *vol, Double_t ovlp=0.1, Option_t *option="") const override |
Check overlaps for the top volume of the geometry, within a limit OVLP. | |
void | CheckPoint (Double_t x=0, Double_t y=0, Double_t z=0, Option_t *option="") override |
Check current point in the geometry. | |
void | CheckShape (TGeoShape *shape, Int_t testNo, Int_t nsamples, Option_t *option) override |
Test for shape navigation methods. | |
Int_t | CountNodes (TGeoVolume *vol, Int_t level) const |
Count number of visible nodes down to a given level. | |
Int_t | CountVisibleNodes () override |
Count total number of visible nodes. | |
void | DefaultAngles () override |
Set default angles for the current view. | |
void | DefaultColors () override |
Set default volume colors according to tracking media. | |
Int_t | DistanceToPrimitiveVol (TGeoVolume *vol, Int_t px, Int_t py) override |
Compute the closest distance of approach from point px,py to a volume. | |
void | Draw (Option_t *option="") override |
Draw method. | |
void | DrawBatemanSol (TGeoBatemanSol *sol, Option_t *option="") override |
Draw the time evolution of a radionuclide. | |
void | DrawCurrentPoint (Int_t color) override |
Draw current point in the same view. | |
void | DrawOnly (Option_t *option="") override |
Draw only one volume. | |
void | DrawOverlap (void *ovlp, Option_t *option="") override |
Draw an overlap. | |
void | DrawPanel () override |
void | DrawPath (const char *path, Option_t *option="") override |
Draw all volumes for a given path. | |
void | DrawPolygon (const TGeoPolygon *poly) override |
Draw a polygon in 3D. | |
void | DrawShape (TGeoShape *shape, Option_t *option="") override |
Draw a shape. | |
void | DrawVolume (TGeoVolume *vol, Option_t *option="") override |
Draw method. | |
void | EditGeometry (Option_t *option="") override |
Start the geometry editor. | |
void | EstimateCameraMove (Double_t tmin, Double_t tmax, Double_t *start, Double_t *end) override |
Estimate camera movement between tmin and tmax for best track display. | |
void | ExecuteManagerEvent (TGeoManager *geom, Int_t event, Int_t px, Int_t py) override |
Execute mouse actions on a given volume. | |
void | ExecuteShapeEvent (TGeoShape *shape, Int_t event, Int_t px, Int_t py) override |
Execute mouse actions on a given shape. | |
void | ExecuteVolumeEvent (TGeoVolume *volume, Int_t event, Int_t px, Int_t py) override |
Execute mouse actions on a given volume. | |
void | GetBombFactors (Double_t &bombx, Double_t &bomby, Double_t &bombz, Double_t &bombr) const override |
Int_t | GetBombMode () const override |
TGeoNode * | GetCheckedNode () |
TGeoChecker * | GetChecker () |
Create/return geometry checker. | |
Int_t | GetColor (Int_t base, Float_t light) const override |
Get index of a base color with given light intensity (0,1) | |
TGeoVolume * | GetDrawnVolume () const override |
Get currently drawn volume. | |
const char * | GetDrawPath () const override |
Int_t | GetNsegments () const override |
TGeoVolume * | GetTopVolume () const override |
void | GetViewAngles (Double_t &longitude, Double_t &latitude, Double_t &psi) override |
Get the current view angles. | |
Double_t * | GetViewBox () override |
Int_t | GetVisLevel () const override |
Int_t | GetVisOption () const override |
const char * | GetVolumeInfo (const TGeoVolume *volume, Int_t px, Int_t py) const override |
Get some info about the current selected volume. | |
void | GrabFocus (Int_t nfr=0, Double_t dlong=0, Double_t dlat=0, Double_t dpsi=0) override |
Move focus to current volume. | |
Bool_t | IsExplodedView () const override |
Bool_t | IsPaintingShape () const override |
Bool_t | IsRaytracing () const override |
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="") override |
Generate a lego plot fot the top volume, according to option. | |
void | Lock (Bool_t flag=kTRUE) |
void | ModifiedPad (Bool_t update=kFALSE) const override |
Check if a pad and view are present and send signal "Modified" to pad. | |
void | OpProgress (const char *opname, Long64_t current, Long64_t size, TStopwatch *watch=nullptr, Bool_t last=kFALSE, Bool_t refresh=kFALSE, const char *msg="") override |
Text progress bar. | |
void | Paint (Option_t *option="") override |
Paint current geometry according to option. | |
void | PaintNode (TGeoNode *node, Option_t *option="", TGeoMatrix *global=nullptr) override |
Paint recursively a node and its content according to visualization options. | |
void | PaintOverlap (void *ovlp, Option_t *option="") override |
Paint an overlap. | |
void | PaintPhysicalNode (TGeoPhysicalNode *node, Option_t *option="") |
Paints a physical node associated with a path. | |
Bool_t | PaintShape (const TGeoShape &shape, Option_t *option) const |
Paint the supplied shape into the current 3D viewer. | |
void | PaintShape (TGeoShape *shape, Option_t *option="") override |
Paint an overlap. | |
void | PaintVolume (TGeoVolume *vol, Option_t *option="", TGeoMatrix *global=nullptr) override |
Paint recursively a node and its content according to visualization options. | |
void | PrintOverlaps () const override |
Print overlaps (see TGeoChecker::PrintOverlaps()) | |
void | RandomPoints (const TGeoVolume *vol, Int_t npoints, Option_t *option="") override |
Draw random points in the bounding box of a volume. | |
void | RandomRays (Int_t nrays, Double_t startx, Double_t starty, Double_t startz, const char *target_vol=nullptr, Bool_t check_norm=kFALSE) override |
Shoot nrays in the current drawn geometry. | |
void | Raytrace (Option_t *option="") override |
Raytrace current drawn geometry. | |
TGeoNode * | SamplePoints (Int_t npoints, Double_t &dist, Double_t epsil, const char *g3path) override |
Shoot npoints randomly in a box of 1E-5 around current point. | |
void | SetBombFactors (Double_t bombx=1.3, Double_t bomby=1.3, Double_t bombz=1.3, Double_t bombr=1.3) override |
Set cartesian and radial bomb factors for translations. | |
void | SetCheckedNode (TGeoNode *node) override |
Select a node to be checked for overlaps. | |
void | SetClippingShape (TGeoShape *shape) override |
void | SetExplodedView (Int_t iopt=0) override |
Set type of exploding view. | |
void | SetGeoManager (TGeoManager *geom) override |
void | SetIteratorPlugin (TGeoIteratorPlugin *plugin) override |
void | SetNmeshPoints (Int_t npoints) override |
Set number of points to be generated on the shape outline when checking for overlaps. | |
void | SetNsegments (Int_t nseg=20) override |
Set number of segments to approximate circles. | |
void | SetRaytracing (Bool_t flag=kTRUE) override |
void | SetTopVisible (Bool_t vis=kTRUE) override |
Set top geometry volume as visible. | |
void | SetTopVolume (TGeoVolume *vol) override |
void | SetVisLevel (Int_t level=3) override |
Set default level down to which visualization is performed. | |
void | SetVisOption (Int_t option=0) override |
Set drawing mode : | |
Int_t | ShapeDistancetoPrimitive (const TGeoShape *shape, Int_t numpoints, Int_t px, Int_t py) const override |
Returns distance between point px,py on the pad an a shape. | |
void | Test (Int_t npoints, Option_t *option) override |
Check time of finding "Where am I" for n points. | |
void | TestOverlaps (const char *path) override |
Geometry overlap checker based on sampling. | |
Bool_t | TestVoxels (TGeoVolume *vol) override |
Check voxels efficiency per volume. | |
void | UnbombTranslation (const Double_t *tr, Double_t *bombtr) override |
Get the new 'unbombed' translation vector according current exploded view mode. | |
Double_t | Weight (Double_t precision, Option_t *option="v") override |
Compute weight [kg] of the current volume. | |
Public Member Functions inherited from TVirtualGeoPainter | |
TVirtualGeoPainter (TGeoManager *manager) | |
Geometry painter default constructor. | |
~TVirtualGeoPainter () override | |
Geometry painter default destructor. | |
TClass * | IsA () const override |
void | Streamer (TBuffer &) override |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. | |
virtual void | Copy (TObject &object) const |
Copy this to obj. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
Execute method on this object with the given parameter string, e.g. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual const char * | GetName () const |
Returns name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
Returns title of object. | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
virtual ULong_t | Hash () const |
Return hash value for this object. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
IsDestructed. | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. | |
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). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification (the base implementation is no-op). | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete (void *ptr, void *vp) |
Only called by placement new when throwing an exception. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void | operator delete[] (void *ptr, void *vp) |
Only called by placement new[] when throwing an exception. | |
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. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual void | Print (Option_t *option="") const |
This method must be overridden when a class wants to print itself. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE 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. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Protected Member Functions | |
void | ClearVisibleVolumes () |
Clear the list of visible volumes reset the kVisOnScreen bit for volumes previously in the list. | |
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). | |
void | MakeZombie () |
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. | |
void | LocalToMasterVect (const Double_t *local, Double_t *master) const |
Convert a local vector according view rotation matrix. | |
Additional Inherited Members | |
Public Types inherited from TVirtualGeoPainter | |
enum | EGeoBombOption { kGeoNoBomb = 0 , kGeoBombXYZ = 1 , kGeoBombCyl = 2 , kGeoBombSph = 3 } |
enum | EGeoVisLevel { kGeoVisLevel = 0 } |
enum | EGeoVisOption { kGeoVisDefault = 0 , kGeoVisLeaves = 1 , kGeoVisOnly = 2 , kGeoVisBranch = 3 , kGeoVisChanged = 4 } |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) } |
enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) } |
enum | EStatusBits { kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) , kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 )) } |
Static Public Member Functions inherited from TVirtualGeoPainter | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static TVirtualGeoPainter * | GeoPainter () |
Static function returning a pointer to the geometry painter. | |
static void | SetPainter (const TVirtualGeoPainter *painter) |
Static function to set an alternative histogram painter. | |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
Static Protected Attributes inherited from TVirtualGeoPainter | |
static TVirtualGeoPainter * | fgGeoPainter = 0 |
#include <TGeoPainter.h>
TGeoPainter::TGeoPainter | ( | TGeoManager * | manager | ) |
Default constructor.
Definition at line 65 of file TGeoPainter.cxx.
|
override |
Default destructor.
Definition at line 108 of file TGeoPainter.cxx.
Add numpoints, numsegs, numpolys to the global 3D size.
Implements TVirtualGeoPainter.
Definition at line 121 of file TGeoPainter.cxx.
|
overridevirtual |
Create a primary TGeoTrack.
Implements TVirtualGeoPainter.
Definition at line 130 of file TGeoPainter.cxx.
|
overridevirtual |
Average center of view of all painted tracklets and compute view box.
Implements TVirtualGeoPainter.
Definition at line 138 of file TGeoPainter.cxx.
Get the new 'bombed' translation vector according current exploded view mode.
Implements TVirtualGeoPainter.
Definition at line 171 of file TGeoPainter.cxx.
|
overridevirtual |
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 200 of file TGeoPainter.cxx.
|
overridevirtual |
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 210 of file TGeoPainter.cxx.
void TGeoPainter::CheckEdit | ( | ) |
Check if Ged library is loaded and load geometry editor classe.
Definition at line 682 of file TGeoPainter.cxx.
|
overridevirtual |
Geometry checking method (see TGeoChecker).
Implements TVirtualGeoPainter.
Definition at line 226 of file TGeoPainter.cxx.
|
overridevirtual |
Geometry checking method (see: TGeoManager::CheckGeometry())
Implements TVirtualGeoPainter.
Definition at line 218 of file TGeoPainter.cxx.
|
overridevirtual |
Check overlaps for the top volume of the geometry, within a limit OVLP.
Implements TVirtualGeoPainter.
Definition at line 234 of file TGeoPainter.cxx.
|
overridevirtual |
Check current point in the geometry.
Implements TVirtualGeoPainter.
Definition at line 242 of file TGeoPainter.cxx.
|
overridevirtual |
Test for shape navigation methods.
Summary for test numbers:
Implements TVirtualGeoPainter.
Definition at line 254 of file TGeoPainter.cxx.
|
protected |
Clear the list of visible volumes reset the kVisOnScreen bit for volumes previously in the list.
Definition at line 263 of file TGeoPainter.cxx.
Int_t TGeoPainter::CountNodes | ( | TGeoVolume * | vol, |
Int_t | level | ||
) | const |
Count number of visible nodes down to a given level.
Definition at line 582 of file TGeoPainter.cxx.
|
overridevirtual |
Count total number of visible nodes.
Implements TVirtualGeoPainter.
Definition at line 636 of file TGeoPainter.cxx.
|
overridevirtual |
Set default angles for the current view.
Implements TVirtualGeoPainter.
Definition at line 555 of file TGeoPainter.cxx.
|
overridevirtual |
Set default volume colors according to tracking media.
Implements TVirtualGeoPainter.
Definition at line 570 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 279 of file TGeoPainter.cxx.
|
overridevirtual |
Compute the closest distance of approach from point px,py to a volume.
Implements TVirtualGeoPainter.
Definition at line 348 of file TGeoPainter.cxx.
|
overridevirtual |
|
overridevirtual |
Draw the time evolution of a radionuclide.
Implements TVirtualGeoPainter.
Definition at line 726 of file TGeoPainter.cxx.
|
overridevirtual |
Draw current point in the same view.
Implements TVirtualGeoPainter.
Definition at line 1004 of file TGeoPainter.cxx.
|
overridevirtual |
Draw only one volume.
Implements TVirtualGeoPainter.
Definition at line 962 of file TGeoPainter.cxx.
|
overridevirtual |
|
overridevirtual |
Implements TVirtualGeoPainter.
Definition at line 1021 of file TGeoPainter.cxx.
|
overridevirtual |
Draw all volumes for a given path.
Implements TVirtualGeoPainter.
Definition at line 1026 of file TGeoPainter.cxx.
|
overridevirtual |
Draw a polygon in 3D.
Implements TVirtualGeoPainter.
Definition at line 770 of file TGeoPainter.cxx.
|
overridevirtual |
|
overridevirtual |
Start the geometry editor.
Implements TVirtualGeoPainter.
Definition at line 700 of file TGeoPainter.cxx.
|
overridevirtual |
Estimate camera movement between tmin and tmax for best track display.
Reimplemented from TVirtualGeoPainter.
Definition at line 1039 of file TGeoPainter.cxx.
|
overridevirtual |
Execute mouse actions on a given volume.
Implements TVirtualGeoPainter.
Definition at line 1074 of file TGeoPainter.cxx.
|
overridevirtual |
Execute mouse actions on a given shape.
Implements TVirtualGeoPainter.
Definition at line 1089 of file TGeoPainter.cxx.
|
overridevirtual |
Execute mouse actions on a given volume.
Implements TVirtualGeoPainter.
Definition at line 1104 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 116 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 123 of file TGeoPainter.h.
|
inline |
Definition at line 124 of file TGeoPainter.h.
TGeoChecker * TGeoPainter::GetChecker | ( | ) |
Create/return geometry checker.
Definition at line 1181 of file TGeoPainter.cxx.
Get index of a base color with given light intensity (0,1)
Implements TVirtualGeoPainter.
Definition at line 292 of file TGeoPainter.cxx.
|
overridevirtual |
Get currently drawn volume.
Implements TVirtualGeoPainter.
Definition at line 338 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 127 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 132 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 129 of file TGeoPainter.h.
|
overridevirtual |
Get the current view angles.
Reimplemented from TVirtualGeoPainter.
Definition at line 1191 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 134 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 130 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 131 of file TGeoPainter.h.
|
overridevirtual |
Get some info about the current selected volume.
Implements TVirtualGeoPainter.
Definition at line 1151 of file TGeoPainter.cxx.
|
overridevirtual |
Move focus to current volume.
Implements TVirtualGeoPainter.
Definition at line 1206 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 136 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 138 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 137 of file TGeoPainter.h.
|
overridevirtual |
Generate a lego plot fot the top volume, according to option.
Implements TVirtualGeoPainter.
Definition at line 1241 of file TGeoPainter.cxx.
Convert a local vector according view rotation matrix.
Definition at line 1249 of file TGeoPainter.cxx.
Definition at line 142 of file TGeoPainter.h.
Check if a pad and view are present and send signal "Modified" to pad.
Implements TVirtualGeoPainter.
Definition at line 1258 of file TGeoPainter.cxx.
|
overridevirtual |
Paint current geometry according to option.
Implements TVirtualGeoPainter.
Definition at line 1278 of file TGeoPainter.cxx.
|
overridevirtual |
Paint recursively a node and its content according to visualization options.
Implements TVirtualGeoPainter.
Definition at line 1376 of file TGeoPainter.cxx.
|
overridevirtual |
void TGeoPainter::PaintPhysicalNode | ( | TGeoPhysicalNode * | node, |
Option_t * | option = "" |
||
) |
Paints a physical node associated with a path.
Definition at line 1609 of file TGeoPainter.cxx.
Paint the supplied shape into the current 3D viewer.
Definition at line 1550 of file TGeoPainter.cxx.
|
overridevirtual |
Paint recursively a node and its content according to visualization options.
Implements TVirtualGeoPainter.
Definition at line 1384 of file TGeoPainter.cxx.
|
overridevirtual |
Print overlaps (see TGeoChecker::PrintOverlaps())
Implements TVirtualGeoPainter.
Definition at line 1676 of file TGeoPainter.cxx.
|
overridevirtual |
Draw random points in the bounding box of a volume.
Implements TVirtualGeoPainter.
Definition at line 1693 of file TGeoPainter.cxx.
|
overridevirtual |
Shoot nrays in the current drawn geometry.
Implements TVirtualGeoPainter.
Definition at line 1701 of file TGeoPainter.cxx.
|
overridevirtual |
Raytrace current drawn geometry.
Implements TVirtualGeoPainter.
Definition at line 1710 of file TGeoPainter.cxx.
|
overridevirtual |
Shoot npoints randomly in a box of 1E-5 around current point.
Return minimum distance to points outside.
Implements TVirtualGeoPainter.
Definition at line 1941 of file TGeoPainter.cxx.
|
overridevirtual |
Set cartesian and radial bomb factors for translations.
Implements TVirtualGeoPainter.
Definition at line 1949 of file TGeoPainter.cxx.
|
overridevirtual |
Select a node to be checked for overlaps.
All overlaps not involving it will be ignored.
Implements TVirtualGeoPainter.
Definition at line 2016 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 160 of file TGeoPainter.h.
|
overridevirtual |
Set type of exploding view.
Implements TVirtualGeoPainter.
Definition at line 1962 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 164 of file TGeoPainter.h.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 165 of file TGeoPainter.h.
|
overridevirtual |
Set number of points to be generated on the shape outline when checking for overlaps.
Implements TVirtualGeoPainter.
Definition at line 2007 of file TGeoPainter.cxx.
|
overridevirtual |
Set number of segments to approximate circles.
Implements TVirtualGeoPainter.
Definition at line 1992 of file TGeoPainter.cxx.
Implements TVirtualGeoPainter.
Definition at line 171 of file TGeoPainter.h.
Set top geometry volume as visible.
Implements TVirtualGeoPainter.
Definition at line 2050 of file TGeoPainter.cxx.
|
inlineoverridevirtual |
Implements TVirtualGeoPainter.
Definition at line 173 of file TGeoPainter.h.
|
overridevirtual |
Set default level down to which visualization is performed.
Implements TVirtualGeoPainter.
Definition at line 2024 of file TGeoPainter.cxx.
|
overridevirtual |
Set drawing mode :
Implements TVirtualGeoPainter.
Definition at line 2064 of file TGeoPainter.cxx.
|
overridevirtual |
Returns distance between point px,py on the pad an a shape.
Implements TVirtualGeoPainter.
Definition at line 2105 of file TGeoPainter.cxx.
Check time of finding "Where am I" for n points.
Implements TVirtualGeoPainter.
Definition at line 2170 of file TGeoPainter.cxx.
|
overridevirtual |
Geometry overlap checker based on sampling.
Implements TVirtualGeoPainter.
Definition at line 2178 of file TGeoPainter.cxx.
|
overridevirtual |
Check voxels efficiency per volume.
Implements TVirtualGeoPainter.
Definition at line 2186 of file TGeoPainter.cxx.
Get the new 'unbombed' translation vector according current exploded view mode.
Implements TVirtualGeoPainter.
Definition at line 2194 of file TGeoPainter.cxx.
Compute weight [kg] of the current volume.
Implements TVirtualGeoPainter.
Definition at line 2221 of file TGeoPainter.cxx.
|
private |
Definition at line 44 of file TGeoPainter.h.
|
private |
Definition at line 41 of file TGeoPainter.h.
|
private |
Definition at line 42 of file TGeoPainter.h.
|
private |
Definition at line 43 of file TGeoPainter.h.
|
private |
Definition at line 62 of file TGeoPainter.h.
|
private |
Definition at line 45 of file TGeoPainter.h.
|
private |
Definition at line 59 of file TGeoPainter.h.
|
private |
Definition at line 64 of file TGeoPainter.h.
|
private |
Definition at line 65 of file TGeoPainter.h.
|
private |
Definition at line 51 of file TGeoPainter.h.
|
private |
Definition at line 63 of file TGeoPainter.h.
|
private |
Definition at line 61 of file TGeoPainter.h.
|
private |
Definition at line 70 of file TGeoPainter.h.
|
private |
Definition at line 56 of file TGeoPainter.h.
|
private |
Definition at line 55 of file TGeoPainter.h.
|
private |
Definition at line 67 of file TGeoPainter.h.
|
private |
Definition at line 46 of file TGeoPainter.h.
|
private |
Definition at line 47 of file TGeoPainter.h.
|
private |
Definition at line 48 of file TGeoPainter.h.
|
private |
Definition at line 60 of file TGeoPainter.h.
|
private |
Definition at line 54 of file TGeoPainter.h.
|
private |
Definition at line 68 of file TGeoPainter.h.
|
private |
Definition at line 53 of file TGeoPainter.h.
|
private |
Definition at line 66 of file TGeoPainter.h.
|
private |
Definition at line 57 of file TGeoPainter.h.
|
private |
Definition at line 49 of file TGeoPainter.h.
|
private |
Definition at line 52 of file TGeoPainter.h.
|
private |
Definition at line 50 of file TGeoPainter.h.
|
private |
Definition at line 69 of file TGeoPainter.h.
|
private |
Definition at line 58 of file TGeoPainter.h.