|
template<class T > |
void | updateRepresentationsOfVolsAroundZAxis_Specific (std::map< SoSwitch *, std::pair< T *, SoSeparator * > > &volaroundZ) |
|
void | getPhiExtentOfShape (const SoTubs *tubs, double &phistart, double &phispan) |
|
void | getPhiExtentOfShape (const SoPcons *pcons, double &phistart, double &phispan) |
|
void | getPhiExtentOfShape (const SoCons *cons, double &phistart, double &phispan) |
|
void | getPhiExtentOfShape (const SoLAr *lar, double &phistart, double &phispan) |
|
void | copyShapeFieldsAndOverridePhiRange (const SoTubs *source, SoTubs *dest, double phistart, double phispan) |
|
void | copyShapeFieldsAndOverridePhiRange (const SoPcons *source, SoPcons *dest, double phistart, double phispan) |
|
void | copyShapeFieldsAndOverridePhiRange (const SoCons *source, SoCons *dest, double phistart, double phispan) |
|
void | copyShapeFieldsAndOverridePhiRange (const SoLAr *source, SoLAr *dest, double phistart, double phispan) |
|
|
PhiSectionWidget * | phisectionwidget = nullptr |
|
IVP1System * | system = nullptr |
|
std::map< VP1GeoFlags::SubSystemFlag, SoSeparator * > | subsysflag2sep |
|
std::map< VP1GeoFlags::SubSystemFlag, SoSeparator * > | subsysflag2labelsep |
|
std::map< VP1GeoFlags::SubSystemFlag, std::map< int, VP1ExtraSepLayerHelper * > > | subsysflag_2_iphi2sephelper |
|
std::map< VP1GeoFlags::SubSystemFlag, std::map< int, VP1ExtraSepLayerHelper * > > | subsysflag_2_iphi2labelsephelper |
|
std::map< VP1GeoFlags::SubSystemFlag, VP1ExtraSepLayerHelper * > | subsysflag_2_volAroundZSepHelper |
|
std::map< int, std::set< SoSwitch * > > | iphi2switches |
|
std::map< int, std::set< SoSwitch * > > | iphi2Labelswitches |
|
std::map< SoSwitch *, std::pair< SoTubs *, SoSeparator * > > | volaroundZ_tubs |
|
std::map< SoSwitch *, std::pair< SoPcons *, SoSeparator * > > | volaroundZ_pcons |
|
std::map< SoSwitch *, std::pair< SoCons *, SoSeparator * > > | volaroundZ_cons |
|
std::map< SoSwitch *, std::pair< SoLAr *, SoSeparator * > > | volaroundZ_lar |
|
std::map< SoSwitch *, std::pair< double, bool > > | volaroundZ_switch2transfinfo |
|
int | nactivelargechanges = 0 |
|
QVector< bool > | currentlyEnabledPhiSectors |
|
Definition at line 41 of file PhiSectorManager.cxx.
◆ copyShapeFieldsAndOverridePhiRange() [1/4]
void PhiSectorManager::Imp::copyShapeFieldsAndOverridePhiRange |
( |
const SoCons * |
source, |
|
|
SoCons * |
dest, |
|
|
double |
phistart, |
|
|
double |
phispan |
|
) |
| |
◆ copyShapeFieldsAndOverridePhiRange() [2/4]
void PhiSectorManager::Imp::copyShapeFieldsAndOverridePhiRange |
( |
const SoLAr * |
source, |
|
|
SoLAr * |
dest, |
|
|
double |
phistart, |
|
|
double |
phispan |
|
) |
| |
◆ copyShapeFieldsAndOverridePhiRange() [3/4]
void PhiSectorManager::Imp::copyShapeFieldsAndOverridePhiRange |
( |
const SoPcons * |
source, |
|
|
SoPcons * |
dest, |
|
|
double |
phistart, |
|
|
double |
phispan |
|
) |
| |
◆ copyShapeFieldsAndOverridePhiRange() [4/4]
void PhiSectorManager::Imp::copyShapeFieldsAndOverridePhiRange |
( |
const SoTubs * |
source, |
|
|
SoTubs * |
dest, |
|
|
double |
phistart, |
|
|
double |
phispan |
|
) |
| |
◆ getPhiExtentOfShape() [1/4]
void PhiSectorManager::Imp::getPhiExtentOfShape |
( |
const SoCons * |
cons, |
|
|
double & |
phistart, |
|
|
double & |
phispan |
|
) |
| |
◆ getPhiExtentOfShape() [2/4]
void PhiSectorManager::Imp::getPhiExtentOfShape |
( |
const SoLAr * |
lar, |
|
|
double & |
phistart, |
|
|
double & |
phispan |
|
) |
| |
◆ getPhiExtentOfShape() [3/4]
void PhiSectorManager::Imp::getPhiExtentOfShape |
( |
const SoPcons * |
pcons, |
|
|
double & |
phistart, |
|
|
double & |
phispan |
|
) |
| |
◆ getPhiExtentOfShape() [4/4]
void PhiSectorManager::Imp::getPhiExtentOfShape |
( |
const SoTubs * |
tubs, |
|
|
double & |
phistart, |
|
|
double & |
phispan |
|
) |
| |
◆ updateRepresentationsOfVolsAroundZAxis_Specific()
template<class T >
void PhiSectorManager::Imp::updateRepresentationsOfVolsAroundZAxis_Specific |
( |
std::map< SoSwitch *, std::pair< T *, SoSeparator * > > & |
volaroundZ | ) |
|
Definition at line 431 of file PhiSectorManager.cxx.
434 typename std::map<SoSwitch*,std::pair<T*,SoSeparator*> >
::iterator it,
itE = volaroundZ.end();
435 for (
it = volaroundZ.begin();
it!=
itE;++
it) {
437 if (
it->first->whichChild.getValue() != SO_SWITCH_NONE)
438 it->first->whichChild = SO_SWITCH_NONE;
440 if (
it->first->whichChild.getValue() != 0)
441 it->first->whichChild = 0;
444 SbBool
save =
it->first->enableNotify(
false);
445 SoSeparator *
sep =
it->second.second;
446 sep->removeAllChildren();
450 system->
message(
"updateRepresentationsOfVolsAroundZAxis_Specific ERROR: Inconsistent maps");
453 double phirot = it_transfinfo->second.first;
454 bool rotaroundy = it_transfinfo->second.second;
462 for (
int i = 0;
i<
n; ++
i) {
464 double deltaphi =
ranges.at(
i).length();
465 double startphi = rotaroundy ? -
ranges.at(
i).upper() - 2*
M_PI + phirot :
ranges.at(
i).lower()-phirot;
466 while (startphi<0) startphi += 2*
M_PI;
467 while (startphi+deltaphi>2*
M_PI) startphi -= 2*
M_PI;
469 sep->addChild(shape);
472 it->first->whichChild = 1;
473 it->first->enableNotify(
save);
◆ currentlyEnabledPhiSectors
QVector<bool> PhiSectorManager::Imp::currentlyEnabledPhiSectors |
◆ iphi2Labelswitches
std::map<int,std::set<SoSwitch*> > PhiSectorManager::Imp::iphi2Labelswitches |
◆ iphi2switches
std::map<int,std::set<SoSwitch*> > PhiSectorManager::Imp::iphi2switches |
◆ nactivelargechanges
int PhiSectorManager::Imp::nactivelargechanges = 0 |
◆ phisectionwidget
◆ subsysflag2labelsep
◆ subsysflag2sep
◆ subsysflag_2_iphi2labelsephelper
◆ subsysflag_2_iphi2sephelper
◆ subsysflag_2_volAroundZSepHelper
◆ system
IVP1System* PhiSectorManager::Imp::system = nullptr |
◆ volaroundZ_cons
std::map<SoSwitch*,std::pair<SoCons*,SoSeparator*> > PhiSectorManager::Imp::volaroundZ_cons |
◆ volaroundZ_lar
std::map<SoSwitch*,std::pair<SoLAr*,SoSeparator*> > PhiSectorManager::Imp::volaroundZ_lar |
◆ volaroundZ_pcons
std::map<SoSwitch*,std::pair<SoPcons*,SoSeparator*> > PhiSectorManager::Imp::volaroundZ_pcons |
◆ volaroundZ_switch2transfinfo
std::map<SoSwitch*,std::pair<double,bool> > PhiSectorManager::Imp::volaroundZ_switch2transfinfo |
◆ volaroundZ_tubs
std::map<SoSwitch*,std::pair<SoTubs*,SoSeparator*> > PhiSectorManager::Imp::volaroundZ_tubs |
The documentation for this class was generated from the following file: