46   fSmartRefresh (
kTRUE),
 
 
   65   fSmartRefresh (
kTRUE),
 
 
  120      if (
elm && 
li->second->Ref() == 1)
 
  123         pshp->Select(
elm->GetSelectedLevel());
 
 
  153   static const TEveException eh(
"TEveScene::RetransHierarchicallyRecurse ");
 
  156   if (
el->HasMainTrans())
 
  157      t *= 
el->RefMainTrans();
 
  159   if (
el->GetRnrSelf() && 
el != 
this)
 
  164   if (
el->GetRnrChildren())
 
  166      for (
List_i i = 
el->BeginChildren(); i != 
el->EndChildren(); ++i)
 
  168         if ((*i)->GetRnrAnything())
 
 
  289   static const TEveException eh(
"TEveSceneList::DestroyElementRenderers ");
 
  294      ((
TEveScene*)*i)->DestroyElementRenderers(obj);
 
 
  353            if (
li->first == 
ei->first)
 
  355               if (
li->second->Ref() != 1)
 
  356                  Warning(
"TEveSceneList::ProcessSceneChanges",
 
  357                          "Expect one physical, cnt=%u.", 
li->second->Ref());
 
  366                  pshp->Select(
el->GetSelectedLevel());
 
  367                  pshp->SetDiffuseColor(
el->GetMainColor(),
 
  368                                        el->GetMainTransparency());
 
  373                  if (
el->HasMainTrans())
 
  374                     pshp->SetTransform(
el->PtrMainTrans()->Array());
 
  375                  lshp->UpdateBoundingBox();
 
  382                  lshp->DLCacheClear();
 
  388            else if (
li->first < 
ei->first)
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
const_iterator begin() const
const_iterator end() const
void SetChildClass(TClass *c)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
std::list< TEveElement * > List_t
virtual Bool_t GetRnrState() const
virtual void DestroyElements()
Destroy all children of this element.
virtual void RemoveElement(TEveElement *el)
Remove el from the list of children.
static const TGPicture * fgListTreeIcons[9]
virtual void DestroyOrWarn()
Destroy this element. Prints a warning if deny-destroy is in force.
Exception class thrown by TEve classes and macros.
TEveViewerList * GetViewers() const
TEveSceneList * GetScenes() const
This was intended as a TPad wrapper to allow smart updates of groups of pads.
List of Scenes providing common operations on TEveScene collections.
void DestroyScenes()
Destroy all scenes and their contents.
void DestroyElementRenderers(TEveElement *element)
Loop over all scenes and remove all instances of element from them.
void RepaintAllScenes(Bool_t dropLogicals)
Repaint all scenes.
TEveSceneList(const TEveSceneList &)
void ProcessSceneChanges(Bool_t dropLogicals, TExMap *stampMap)
Loop over all scenes and update them accordingly:
void RepaintChangedScenes(Bool_t dropLogicals)
Repaint scenes that are tagged as changed.
Eve representation of TGLScene.
void DestroyElementRenderers(TEveElement *element)
Remove element from the scene.
~TEveScene() override
Destructor.
const TGPicture * GetListTreeIcon(Bool_t open=kFALSE) override
Return icon for scene.
void RetransHierarchicallyRecurse(TEveElement *el, const TEveTrans &tp)
Set transformation matrix for physical shape of element el in the GL-scene and recursively descend in...
void Repaint(Bool_t dropLogicals=kFALSE)
Repaint the scene.
void RetransHierarchically()
Entry point for hierarchical transformation update.
TEveScene(const TEveScene &)
Bool_t GetHierarchical() const
void Paint(Option_t *option="") override
Paint the scene. Iterate over children and calls PadPaint().
void CollectSceneParents(List_t &scenes) override
Virtual from TEveElement; here we simply append this scene to the list.
TGLScenePad * GetGLScene() const
void SetName(const char *n) override
Set scene's name.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void SceneDestructing(TEveScene *scene)
Callback done from a TEveScene destructor allowing proper removal of the scene from affected viewers.
This class stores a (key,value) pair using an external hash.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
Concrete physical shape - a GL drawable.
void SetAutoDestruct(Bool_t a)
virtual void SetName(const char *name)
Implements VirtualViewer3D interface and fills the base-class visualization structures from pad conte...
void PadPaint(TVirtualPad *pad) override
Entry point for updating scene contents via VirtualViewer3D interface.
void SetSmartRefresh(Bool_t smart_ref)
void SetPad(TVirtualPad *p)
virtual Bool_t BeginUpdate()
Put scene in update mode, return true if lock acquired.
virtual void EndUpdate(Bool_t minorChange=kTRUE, Bool_t sceneChanged=kTRUE, Bool_t updateViewers=kTRUE)
Exit scene update mode.
virtual Bool_t DestroyLogical(TObject *logid, Bool_t mustFind=kTRUE)
Destroy logical shape defined by unique 'ID'.
LogicalShapeMap_t::iterator LogicalShapeMapIt_t
std::map< TObject *, TGLLogicalShape * > LogicalShapeMap_t
virtual void UpdatePhysioLogical(TObject *logid, Double_t *trans, UChar_t *col)
Reposition/recolor physical for given logical (assume TGLObject and a single physical).
LogicalShapeMap_t & RefLogicalShapes()
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void Add(TObject *obj, Option_t *opt="", Bool_t modified=kTRUE) override
Add an object to list of primitives with speicified draw option When.