|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   27 #include <Inventor/C/errors/debugerror.h> 
   28 #include <Inventor/nodes/SoLineSet.h> 
   29 #include <Inventor/nodes/SoVertexProperty.h> 
   30 #include <Inventor/nodes/SoSeparator.h> 
   31 #include <Inventor/nodes/SoMaterial.h> 
   32 #include <Inventor/nodes/SoPickStyle.h> 
   33 #include <Inventor/nodes/SoCylinder.h> 
   34 #include <Inventor/nodes/SoMatrixTransform.h> 
   35 #include <Inventor/SbRotation.h> 
   36 #include <Inventor/SbMatrix.h> 
   37 #include <Inventor/nodes/SoTranslation.h> 
   38 #include <Inventor/nodes/SoText2.h> 
   54   static double dist(
const SbVec3f& 
p1,
const SbVec3f& 
p2);
 
   74   : m_d(
new Imp(this)), m_visible(false),m_collhandle(
ch),m_currentmaterial(0)
 
  101   QString 
tmp = (vis==
true)?
"True":
"False";
 
  181       VP1Msg::message(
"AODHandleBase::attach3DObjects() - No 3D objects to attach!");
 
  281     l << 
"baseInfo : (undefined)";
 
  293     VP1Msg::message(
"ERROR: AODHandleBase::fillObjectBrowser - already have m_objBrowseTree. Aborting.");
 
  329   itemFont.setStrikeOut(!
visible());
 
  
void updateMaterial()
Called after some configuration related to material changes.
static double dist(const SbVec3f &p1, const SbVec3f &p2)
Base class for all AOD object collections This class primarily handles setting up the interface,...
AODHandleBase(AODCollHandleBase *)
virtual void detach3DObjects()
Remove from the scene graph.
AODCollHandleBase * m_collhandle
virtual SoMaterial * determineMaterial()=0
Should be implemented by children, in order to change the material depending on the interface etc.
virtual void fillObjectBrowser(QList< QTreeWidgetItem * > &list)
Create and fill the object browser QTreeWidgetItem.
virtual bool has3DObjects()
Returns true if the 3D objects have been created.
virtual void currentMaterialChanged()
virtual QStringList baseInfo() const
const AODSysCommonData * common() const
void incrementNShownHandles()
virtual void attach3DObjects()
Connect to the scene graph.
static int numberOfInstances()
static std::atomic< int > nobjhandles
virtual void visibleStateChanged()
Dummy implementation does nothing.
void deregisterHandle(AODHandleBase *h)
QTreeWidgetItem * browserTreeItem() const
Return the QTreeWidgetItem;.
void decrementNShownHandles()
virtual QString type() const
return very short word with type (maybe link with collection type?)
static void messageVerbose(const QString &)
virtual SoNode * nodes()=0
Returns the 3Dobjects.
const VP1ExtraSepLayerHelper * sepHelper() const
void setVisible(bool)
use by the collection handle.
static void messageDebug(const QString &)
static void message(const QString &, IVP1System *sys=0)
virtual QString shortInfo() const
returns mom and hit information about track
virtual void rebuild3DObjects()
QTreeWidgetItem * m_objBrowseTree
void registerHandle(AODHandleBase *h)
SoMaterial * m_currentmaterial
virtual void update3DObjects()
Called after some configuration changes, or when the object is first created. Must be overloaded by c...
const AODSysCommonData * common() const
virtual void clear3DObjects()=0
Delete objects.