ATLAS Offline Software
Loading...
Searching...
No Matches
AssocObjAttachmentHandle::Imp Class Reference
Collaboration diagram for AssocObjAttachmentHandle::Imp:

Public Member Functions

 Imp (TrackLODHandle *tlh, TrackHandleBase *th)
void ensureInit ()
void ensureAttached ()
void ensureDetached ()

Public Attributes

TrackHandleBasetrackhandle
SoMaterial * trackmat
TrackLODHandlelodHandle
SoSeparator * septrack_simple
SoSeparator * septrack_detailed
int pickStyleChildIdx
bool attached

Static Public Attributes

static SoPickStyle * pickStyle = nullptr
static SoMaterial * dummymaterial = nullptr

Detailed Description

Definition at line 1646 of file TrackHandleBase.cxx.

Constructor & Destructor Documentation

◆ Imp()

AssocObjAttachmentHandle::Imp::Imp ( TrackLODHandle * tlh,
TrackHandleBase * th )
inline

Member Function Documentation

◆ ensureAttached()

void AssocObjAttachmentHandle::Imp::ensureAttached ( )
inline

Definition at line 1665 of file TrackHandleBase.cxx.

1666 {
1667 if (attached)
1668 return;
1669 attached=true;
1670 if (!septrack_detailed)
1671 return;//We attach in ensureInit in this case!
1673 }

◆ ensureDetached()

void AssocObjAttachmentHandle::Imp::ensureDetached ( )
inline

Definition at line 1674 of file TrackHandleBase.cxx.

1675 {
1676 if (!attached)
1677 return;
1678 attached=false;
1679 if (!septrack_detailed)
1680 return;
1682 }

◆ ensureInit()

void AssocObjAttachmentHandle::Imp::ensureInit ( )

Definition at line 1763 of file TrackHandleBase.cxx.

1764{
1765 if (septrack_simple)
1766 return;
1767 septrack_simple = new SoSeparator;
1768 septrack_detailed = new SoSeparator;
1769 septrack_simple->ref();
1770 septrack_detailed->ref();
1771
1772 if (!pickStyle) {
1773 pickStyle = new SoPickStyle;
1774 pickStyle->style=SoPickStyle::UNPICKABLE;
1775 pickStyle->ref();
1776 }
1777 pickStyle->ref();
1778 if (attached) {
1779 attached = false;
1781 }
1782}

Member Data Documentation

◆ attached

bool AssocObjAttachmentHandle::Imp::attached

Definition at line 1664 of file TrackHandleBase.cxx.

◆ dummymaterial

SoMaterial * AssocObjAttachmentHandle::Imp::dummymaterial = nullptr
static

Definition at line 1683 of file TrackHandleBase.cxx.

◆ lodHandle

TrackLODHandle* AssocObjAttachmentHandle::Imp::lodHandle

Definition at line 1658 of file TrackHandleBase.cxx.

◆ pickStyle

SoPickStyle * AssocObjAttachmentHandle::Imp::pickStyle = nullptr
static

Definition at line 1662 of file TrackHandleBase.cxx.

◆ pickStyleChildIdx

int AssocObjAttachmentHandle::Imp::pickStyleChildIdx

Definition at line 1663 of file TrackHandleBase.cxx.

◆ septrack_detailed

SoSeparator* AssocObjAttachmentHandle::Imp::septrack_detailed

Definition at line 1660 of file TrackHandleBase.cxx.

◆ septrack_simple

SoSeparator* AssocObjAttachmentHandle::Imp::septrack_simple

Definition at line 1659 of file TrackHandleBase.cxx.

◆ trackhandle

TrackHandleBase* AssocObjAttachmentHandle::Imp::trackhandle

Definition at line 1656 of file TrackHandleBase.cxx.

◆ trackmat

SoMaterial* AssocObjAttachmentHandle::Imp::trackmat

Definition at line 1657 of file TrackHandleBase.cxx.


The documentation for this class was generated from the following file: