|
ATLAS Offline Software
|
#include <AscObjSelectionManager.h>
|
| AscObjSelectionManager (SoSeparator *eventRoot, IVP13DSystem *, TrackSystemController *) |
|
void | aboutTodelete () |
|
virtual | ~AscObjSelectionManager () |
|
SoSeparator * | getAscObjAttachSep () const |
|
MODE | mode () const |
|
void | setMode (MODE) |
|
void | pretendUserClicked (AssociatedObjectHandleBase *) |
|
void | ensureDeselected (const QList< AssociatedObjectHandleBase * > &) |
|
void | ensureSelected (const QList< AssociatedObjectHandleBase * > &) |
|
void | deselectAll () |
|
QList< AssociatedObjectHandleBase * > | currentSelection () const |
|
SoSeparator * | eventRoot () |
|
void | setSystemBasePointer (IVP1System *sys) |
|
void | message (const QString &) const |
|
void | message (const QStringList &, const QString &addtoend="") const |
|
void | message (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &) const |
|
void | messageDebug (const QStringList &, const QString &addtoend="") const |
|
void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &) const |
|
void | messageVerbose (const QStringList &, const QString &addtoend="") const |
|
void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") const |
|
IVP1System * | systemBase () const |
|
QString | helperClassName () const |
|
Definition at line 37 of file AscObjSelectionManager.h.
◆ MODE
◆ AscObjSelectionManager()
◆ ~AscObjSelectionManager()
AscObjSelectionManager::~AscObjSelectionManager |
( |
| ) |
|
|
virtual |
◆ aboutTodelete()
void AscObjSelectionManager::aboutTodelete |
( |
| ) |
|
◆ ascObjDetailLevelChanged
void AscObjSelectionManager::ascObjDetailLevelChanged |
( |
| ) |
|
|
privateslot |
◆ currentSelection()
◆ currentSelectionChanged
◆ deselectAll()
void AscObjSelectionManager::deselectAll |
( |
| ) |
|
◆ ensureDeselected()
◆ ensureSelected()
Definition at line 350 of file AscObjSelectionManager.cxx.
352 if (handles.isEmpty())
356 if (handles.count()>1)
357 message(
"WARNING: ensureSelected called with more than one handle in SINGLE mode. Ignoring all but the first.");
◆ eventRoot()
SoSeparator * AscObjSelectionManager::eventRoot |
( |
| ) |
|
◆ getAscObjAttachSep()
SoSeparator * AscObjSelectionManager::getAscObjAttachSep |
( |
| ) |
const |
◆ handleUserSelectedSingleNode()
◆ helperClassName()
QString VP1HelperClassBase::helperClassName |
( |
| ) |
const |
|
inlineinherited |
◆ message() [1/3]
void VP1HelperClassBase::message |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ message() [2/3]
void VP1HelperClassBase::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ message() [3/3]
void VP1HelperClassBase::message |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [1/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageDebug() [2/3]
void VP1HelperClassBase::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageDebug() [3/3]
void VP1HelperClassBase::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [1/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
str | ) |
const |
|
inherited |
◆ messageVerbose() [2/3]
void VP1HelperClassBase::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ messageVerbose() [3/3]
void VP1HelperClassBase::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| const |
|
inherited |
◆ mode()
◆ pretendUserClicked()
Definition at line 259 of file AscObjSelectionManager.cxx.
278 if (!alreadyselected) {
292 if (!alreadyselected)
296 if (alreadyselected) {
302 message(
"ERROR: Should not happen!");
◆ registerAscObj()
Definition at line 140 of file AscObjSelectionManager.cxx.
143 if (!simple||!detailed||!handle) {
144 message(
"registerAscObj ERROR: Received null pointer!");
150 if (
it->first==simple||
it->second==handle)
151 message(
"registerAscObj ERROR: Simple separator/handle already registered!");
155 if (
it->first==detailed||
it->second==handle)
156 message(
"registerAscObj ERROR: Detailed separator/handle already registered!");
◆ setHelperClassName()
void VP1HelperClassBase::setHelperClassName |
( |
const QString & |
n | ) |
|
|
inlineprotectedinherited |
◆ setMode()
void AscObjSelectionManager::setMode |
( |
MODE |
m | ) |
|
◆ setSystemBasePointer()
void VP1HelperClassBase::setSystemBasePointer |
( |
IVP1System * |
sys | ) |
|
|
inherited |
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ systemBase()
IVP1System* VP1HelperClassBase::systemBase |
( |
| ) |
const |
|
inlineinherited |
◆ toString()
QString AscObjSelectionManager::toString |
( |
MODE |
m | ) |
|
|
static |
◆ unregisterAscObj()
void AscObjSelectionManager::unregisterAscObj |
( |
SoSeparator * |
simple, |
|
|
SoSeparator * |
detailed |
|
) |
| |
|
private |
Definition at line 164 of file AscObjSelectionManager.cxx.
167 if (!simple||!detailed) {
168 message(
"unregisterAscObj ERROR: Received null pointer!");
174 message(
"unregisterAscObj ERROR: Not previously registered simple sep!");
180 message(
"unregisterAscObj ERROR: Not previously registered detailed sep!");
◆ userClickedOnBgd()
void AscObjSelectionManager::userClickedOnBgd |
( |
| ) |
|
|
private |
◆ verbose()
static bool VP1HelperClassBase::verbose |
( |
| ) |
|
|
inlinestaticinherited |
◆ warnUndeletedInstances()
void VP1HelperClassBase::warnUndeletedInstances |
( |
| ) |
|
|
staticinherited |
Definition at line 183 of file VP1HelperClassBase.cxx.
185 if (vp1helperclassbase_instanceMap.empty())
187 std::cout <<
"WARNING: Detected "<<vp1helperclassbase_instanceMap.size()<<
" undeleted helper class instances:"<<std::endl;
190 for (
it = vp1helperclassbase_instanceMap.begin();
it!=
itE;++
it) {
191 std::cout <<
" ==> "<<
it->first<<
": "<<
it->first->m_helpername.toStdString()
192 << (
it->second.isEmpty()?QString(
""):
" (in system "+
it->
second+
")").toStdString()<<std::endl;
◆ AssociatedObjectHandleBase
◆ VP1TrackSystem
◆ m_d
Imp* AscObjSelectionManager::m_d |
|
private |
◆ m_helpername
QString VP1HelperClassBase::m_helpername |
|
privateinherited |
◆ m_system
◆ s_vp1verbose
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
path
python interpreter configuration --------------------------------------—
static QString toString(MODE)
AssociatedObjectHandleBase * ascObjHandle(const SoPath *)
void messageVerbose(const QString &) const
QList< AssociatedObjectHandleBase * > selAscObjHandles
SoCooperativeSelection * sel_assocobjs_click
static const bool s_vp1verbose
TrackCommonFlags::DETAILLEVEL assocObjDetailLevel() const
static QString str(const QString &s)
void messageDebug(const QString &) const
void pretendUserClicked(AssociatedObjectHandleBase *)
std::map< SoSeparator *, AssociatedObjectHandleBase * > ascobjs_simpleToHandle
static const char * prefix_msg()
void ascObjDetailLevelChanged()
const QString & name() const
void updateSelectionVisuals()
bool printInfoOnSingleSelection() const
static QColor sbcol2qcol(const SbColor &)
static const char * prefix_debug()
static const char * prefix_verbose()
TrackSystemController * controller
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.
SoSeparator * shapeSimple() const
void message(const QString &) const
static bool shiftIsDown()
SoSeparator * shapeDetailed() const
virtual QStringList clicked()=0
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
std::map< SoSeparator *, AssociatedObjectHandleBase * > ascobjs_detailedToHandle
void currentSelectionChanged(const QList< AssociatedObjectHandleBase * > &)
SoCooperativeSelection * sel_assocobjs
static bool changePathTail(SoPath *path, SoNode *commonBranchPoint, SoNode *newtail)
void message(const QString &) const