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 1645 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 1664 of file TrackHandleBase.cxx.

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

◆ ensureDetached()

void AssocObjAttachmentHandle::Imp::ensureDetached ( )
inline

Definition at line 1673 of file TrackHandleBase.cxx.

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

◆ ensureInit()

void AssocObjAttachmentHandle::Imp::ensureInit ( )

Definition at line 1762 of file TrackHandleBase.cxx.

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

Member Data Documentation

◆ attached

bool AssocObjAttachmentHandle::Imp::attached

Definition at line 1663 of file TrackHandleBase.cxx.

◆ dummymaterial

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

Definition at line 1682 of file TrackHandleBase.cxx.

◆ lodHandle

TrackLODHandle* AssocObjAttachmentHandle::Imp::lodHandle

Definition at line 1657 of file TrackHandleBase.cxx.

◆ pickStyle

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

Definition at line 1661 of file TrackHandleBase.cxx.

◆ pickStyleChildIdx

int AssocObjAttachmentHandle::Imp::pickStyleChildIdx

Definition at line 1662 of file TrackHandleBase.cxx.

◆ septrack_detailed

SoSeparator* AssocObjAttachmentHandle::Imp::septrack_detailed

Definition at line 1659 of file TrackHandleBase.cxx.

◆ septrack_simple

SoSeparator* AssocObjAttachmentHandle::Imp::septrack_simple

Definition at line 1658 of file TrackHandleBase.cxx.

◆ trackhandle

TrackHandleBase* AssocObjAttachmentHandle::Imp::trackhandle

Definition at line 1655 of file TrackHandleBase.cxx.

◆ trackmat

SoMaterial* AssocObjAttachmentHandle::Imp::trackmat

Definition at line 1656 of file TrackHandleBase.cxx.


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