28#ifndef G4SceneTreeItem_hh
29#define G4SceneTreeItem_hh
81 fModelDescription = modelDescription;
84 const std::map<G4String, G4AttDef>*
GetAttDefs()
const {
return fpAttDefs; }
85 void SetAttDefs(
const std::map<G4String, G4AttDef>* pAttDefs) { fpAttDefs = pAttDefs; };
87 std::vector<G4AttValue>*
GetAttValues()
const {
return fpAttValues; }
88 void SetAttValues(std::vector<G4AttValue>* pAttValues) { fpAttValues = pAttValues; }
94 const std::list<G4SceneTreeItem>&
GetChildren()
const {
return fChildren; }
96 std::list<G4SceneTreeItem>::iterator
InsertChild(std::list<G4SceneTreeItem>::iterator pos,
99 return fChildren.insert(pos, item);
113 std::list<G4SceneTreeItem>::iterator& foundIter);
123 static std::map<Type, G4String> fTypeMap;
129 const std::map<G4String, G4AttDef>* fpAttDefs =
nullptr;
130 std::vector<G4AttValue>* fpAttValues =
nullptr;
131 std::list<G4SceneTreeItem> fChildren;
void DumpTree(std::ostream &, G4int verbosity=0) const
G4SceneTreeItem(const G4SceneTreeItem &)=default
void SetAttValues(std::vector< G4AttValue > *pAttValues)
void SetModelDescription(const G4String &modelDescription)
void SetDescription(const G4String &description)
~G4SceneTreeItem()=default
std::list< G4SceneTreeItem > & AccessChildren()
void SetVisAttributes(const G4VisAttributes &visAtts)
void SetExpanded(G4bool expanded)
G4bool FindTouchableFromRoot(const G4String &fullPathString, std::list< G4SceneTreeItem >::iterator &foundIter)
G4VisAttributes & AccessVisAttributes()
const G4String & GetDescription() const
G4SceneTreeItem(Type type=unidentified)
const std::list< G4SceneTreeItem > & GetChildren() const
const G4String & GetModelDescription() const
G4SceneTreeItem & operator=(const G4SceneTreeItem &)=default
const G4String & GetTypeString() const
std::list< G4SceneTreeItem >::iterator InsertChild(std::list< G4SceneTreeItem >::iterator pos, const G4SceneTreeItem &item)
const G4String & GetPVPath() const
const std::map< G4String, G4AttDef > * GetAttDefs() const
void SetModelType(const G4String &modelType)
void SetPVPath(const G4String &PVPath)
const G4VisAttributes & GetVisAttributes() const
void SetAttDefs(const std::map< G4String, G4AttDef > *pAttDefs)
void DumpSingleItem(std::ostream &, G4int verbosity=0) const
G4bool IsExpanded() const
const G4String & GetModelType() const
std::vector< G4AttValue > * GetAttValues() const