|
ATLAS Offline Software
|
Definition at line 43 of file VolumeTreeModel.cxx.
◆ VolumeHandleList
◆ VolumeHandleListConstItr
◆ VolumeHandleListItr
◆ MuonChamberState
Enumerator |
---|
NONMUONCHAMBER | |
MUONCHAMBERCHILD | |
MUONCHAMBER | |
MUONCHAMBER_DIRTY | |
Definition at line 24 of file VolumeHandle.h.
◆ SubSystem()
◆ ~SubSystem()
VolumeTreeModel::Imp::SubSystem::~SubSystem |
( |
| ) |
|
|
inline |
◆ applyPersistifiableState()
void VolumeHandle::applyPersistifiableState |
( |
QByteArray |
ba | ) |
|
|
inherited |
◆ attachAllContractedChildren()
void VolumeHandle::attachAllContractedChildren |
( |
| ) |
|
|
privateinherited |
Definition at line 422 of file VolumeHandle.cxx.
432 (*childItr)->m_d->attach(*childItr);
434 (*childItr)->attachAllContractedChildren();
◆ child()
◆ childNumber()
int VolumeHandle::childNumber |
( |
| ) |
const |
|
inlineinherited |
◆ childrenAreInitialised()
bool VolumeHandle::childrenAreInitialised |
( |
| ) |
const |
|
inlineinherited |
◆ childrenBegin()
◆ childrenEnd()
◆ contractDaughtersRecursively()
void VolumeHandle::contractDaughtersRecursively |
( |
| ) |
|
|
inherited |
Definition at line 403 of file VolumeHandle.cxx.
411 (*childItr)->contractDaughtersRecursively();
◆ copyNumber()
int VolumeHandle::copyNumber |
( |
| ) |
const |
|
inherited |
Definition at line 455 of file VolumeHandle.cxx.
457 GeoPVConstLink parent_pV;
462 if (parent_pV==
m_d->
pV) {
468 GeoVolumeCursor av(parent_pV);
470 while (!av.atEnd()) {
472 Query<int> Qint = av.getId();
473 return Qint.isValid() ?
int(Qint) : -1;
◆ detachAllContractedChildren()
void VolumeHandle::detachAllContractedChildren |
( |
| ) |
|
|
privateinherited |
Definition at line 439 of file VolumeHandle.cxx.
448 (*childItr)->m_d->detach();
450 (*childItr)->detachAllContractedChildren();
◆ ensureBuildNodeSep()
void VolumeHandle::ensureBuildNodeSep |
( |
| ) |
|
|
inherited |
Definition at line 238 of file VolumeHandle.cxx.
259 std::cout <<
"Geomsys/VolumeHandle Error: Null shape!!!"<<std::endl;
271 if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoTube::getClassTypeID() )
274 const GeoTube * geotube =
static_cast<const GeoTube*
>(
m_d->
pV->getLogVol()->getShape());
275 if (geotube->getRMin()==0.0)
278 else if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoTubs::getClassTypeID() )
281 const GeoTubs * geotubs =
static_cast<const GeoTubs*
>(
m_d->
pV->getLogVol()->getShape());
282 if (geotubs->getRMin()==0.0 && geotubs->getDPhi() >= 2*
M_PI-1.0e-6)
289 if (
m_d->
pV->getLogVol()->getShape()->typeID()==GeoShapeShift::getClassTypeID())
298 SoSwitch * sw =
new SoSwitch;
300 SoSeparator * sep_slicedvols =
new SoSeparator;
301 sw->addChild(sep_slicedvols);
◆ expandMothersRecursivelyToNonEther()
void VolumeHandle::expandMothersRecursivelyToNonEther |
( |
| ) |
|
|
inherited |
Definition at line 518 of file VolumeHandle.cxx.
531 (*childItr)->expandMothersRecursivelyToNonEther();
◆ geoMaterial()
const GeoMaterial * VolumeHandle::geoMaterial |
( |
| ) |
const |
|
inherited |
◆ geoPVConstLink()
GeoPVConstLink VolumeHandle::geoPVConstLink |
( |
| ) |
const |
|
inherited |
◆ getDescriptiveName()
QString VolumeHandle::getDescriptiveName |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getGlobalTransformToVolume()
const SbMatrix & VolumeHandle::getGlobalTransformToVolume |
( |
| ) |
const |
|
inherited |
◆ getLocalTransformToVolume()
SbMatrix VolumeHandle::getLocalTransformToVolume |
( |
| ) |
const |
|
inherited |
◆ getName()
QString VolumeHandle::getName |
( |
| ) |
const |
|
inherited |
◆ getNameStdString()
std::string VolumeHandle::getNameStdString |
( |
| ) |
const |
|
inherited |
◆ getPersistifiableState()
QByteArray VolumeHandle::getPersistifiableState |
( |
| ) |
const |
|
inherited |
◆ hashID()
quint32 VolumeHandle::hashID |
( |
| ) |
const |
|
inherited |
◆ hasName()
bool VolumeHandle::hasName |
( |
const std::string & |
n | ) |
const |
|
inherited |
◆ haveParentsNotExpanded()
bool VolumeHandle::haveParentsNotExpanded |
( |
| ) |
const |
|
privateinherited |
◆ initialiseChildren()
void VolumeHandle::initialiseChildren |
( |
| ) |
|
|
inherited |
◆ isAttached()
bool VolumeHandle::isAttached |
( |
| ) |
const |
|
inherited |
◆ isEther()
bool VolumeHandle::isEther |
( |
| ) |
const |
|
inherited |
◆ isInitialisedAndHasNonStandardShape()
bool VolumeHandle::isInitialisedAndHasNonStandardShape |
( |
| ) |
const |
|
inherited |
◆ isInMuonChamber()
bool VolumeHandle::isInMuonChamber |
( |
| ) |
const |
|
inlineinherited |
◆ isMuonChamber()
bool VolumeHandle::isMuonChamber |
( |
| ) |
const |
|
inlineinherited |
◆ isPositiveZ()
bool VolumeHandle::isPositiveZ |
( |
| ) |
const |
|
inherited |
◆ material()
SoMaterial * VolumeHandle::material |
( |
| ) |
|
|
inherited |
◆ muonChamberDirty()
bool VolumeHandle::muonChamberDirty |
( |
| ) |
const |
|
inlineinherited |
◆ muonChamberState()
◆ muonChamberT0()
QString VolumeHandle::muonChamberT0 |
( |
unsigned int |
= 0 | ) |
const |
|
inlinevirtualinherited |
◆ nChildren()
unsigned VolumeHandle::nChildren |
( |
| ) |
const |
|
inlineinherited |
◆ nodeSoSeparator()
SoSeparator * VolumeHandle::nodeSoSeparator |
( |
| ) |
const |
|
inherited |
◆ parent()
◆ reset()
void VolumeHandle::reset |
( |
| ) |
|
|
inlineinherited |
◆ setMuonChamberDirty()
void VolumeHandle::setMuonChamberDirty |
( |
bool |
b | ) |
|
|
inlineinherited |
◆ setState()
◆ state()
◆ subsystem()
◆ topLevelParent()
◆ updateLabels()
void VolumeHandle::updateLabels |
( |
| ) |
|
|
inherited |
Definition at line 672 of file VolumeHandle.cxx.
683 SoText2 *labelText =
new SoText2;
696 for (
unsigned int i=0;
i<3 ;++
i){
698 unsigned int mask=1<<(
i+1);
707 if (
i==2)
output+=
"<unknown>=";
715 for(
const QString&
str :
text){
717 labelText->string.set1Value(
row++,
array.data());
721 assert(labelTranslate!=0);
723 float labx,laby,labz;
724 labelTranslate->translation.getValue().getValue(labx,laby,labz);
727 labelTranslate->translation.setValue(labx+(offsets[0]*offScale),laby+(offsets[1]*offScale),labz+(offsets[2]*offScale));
◆ m_childNumber
const int VolumeHandle::m_childNumber |
|
privateinherited |
◆ m_children
◆ m_d
◆ m_muonChamberState
◆ m_nchildren
const unsigned VolumeHandle::m_nchildren |
|
privateinherited |
◆ m_parent
◆ m_state
◆ name
QString VolumeTreeModel::Imp::SubSystem::name |
◆ section
◆ subsysflag
◆ volhandlelist
The documentation for this class was generated from the following file:
SoMaterial * fallBackTopLevelMaterial() const
virtual QString muonChamberT0(unsigned int=0) const
bool isInMuonChamber() const
VP1ExtraSepLayerHelper * getSepHelperForNode(VP1GeoFlags::SubSystemFlag flag, int iphi)
static bool hasNonStandardShapeChildren(const SoGroup *g)
void setState(const VP1GeoFlags::VOLSTATE &state)
const GeoMaterial * geoMaterial() const
void attachAllContractedChildren()
VolumeHandle * topLevelParent()
void attach(VolumeHandle *vh)
GeoPVConstLink geoPVConstLink() const
VolVisAttributes * volVisAttributes() const
VP1GeoFlags::SubSystemFlag subsysflag
VolumeHandleList m_children
bool isMuonChamber() const
bool childrenAreInitialised() const
VolumeHandle::VolumeHandleList volhandlelist
int getVolumeType(const SbMatrix &transform, SoNode *shape) const
VP1ExtraSepLayerHelper * registerVolumeAroundZAxis(VP1GeoFlags::SubSystemFlag flag, SoSwitch *sw, const SbMatrix &tranformation)
static void initAllCustomClasses()
PhiSectorManager * phiSectorManager() const
void detachAllContractedChildren()
static VolState getChildStates(const VolumeHandle *theclass)
static void applyChildStates(const VolState &, VolumeHandle *theclass)
void registerNodeSepForVolumeHandle(SoSeparator *, VolumeHandle *)
VolumeHandleSharedData * commondata
VP1GeoFlags::VOLSTATE m_state
MuonChamberState m_muonChamberState
VolumeHandle(VolumeHandleSharedData *, VolumeHandle *parent, const GeoPVConstLink &, int childNumber, const MuonChamberState &mcs=NONMUONCHAMBER, const SbMatrix &accumTrans=SbMatrix())
void initialiseChildren()
GeoPVConstLink geoPVConstLinkOfTreeTopsMother() const
unsigned nChildren() const
bool haveParentsNotExpanded() const
static void transformToMatrix(SoTransform *xf, SbMatrix &result)
VP1ExtraSepLayerHelper * attachsepHelper
VP1GeoFlags::SubSystemFlag subSystemFlag() const
void removeZappedVolumesFromGui(VolumeHandle *)
VP1ExtraSepLayerHelper * getLabelSepHelperForNode(VP1GeoFlags::SubSystemFlag flag, int iphi)
Addition to handle label separators, in exactly the same way as getSepHelperForNode(....
static void messageDebug(const QString &)
void addZappedVolumeToGui(VolumeHandle *)
HepGeom::Transform3D EigenTransformToCLHEP(const Amg::Transform3D &eigenTransf)
Converts an Eigen-based Amg::Transform3D into a CLHEP-based HepGeom::Transform3D.
VolumeHandleList::iterator VolumeHandleListItr
VP1GeoFlags::VOLSTATE state() const
const SbMatrix accumTrans
VP1ExtraSepLayerHelper * attachlabelSepHelper
QList< int > labelsPosOffsets
GeoSysController * controller() const
SoNode * toShapeNode(const GeoPVConstLink &pV)
QList< int > labelPosOffset()
Offset in x,y,z.
SoMaterial * get(const std::string &name) const
SoNode * getSoCylinderOrientedLikeGeoTube(const double &radius, const double &halfLength)
static SoTransform * toSoTransform(const HepGeom::Transform3D &, SoTransform *t=0)
const unsigned m_nchildren
const SbMatrix & getGlobalTransformToVolume() const
virtual QString getDescriptiveName() const
MatVisAttributes * matVisAttributes() const
void contractDaughtersRecursively()