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

Public Member Functions

void getNodesWithDisabledNotifications (SoGroup *, QList< SoNode * > &) const

Static Public Member Functions

static void made_selection (void *userdata, SoPath *path)

Public Attributes

IVP13DSystemSimpletheclass
SoCooperativeSelectionroot
SoSeparator * rootR
SoSeparator * rootE
bool wasrefreshed
bool wascreated
bool controllerBuilt
bool first

Detailed Description

Definition at line 33 of file IVP13DSystemSimple.cxx.

Member Function Documentation

◆ getNodesWithDisabledNotifications()

void IVP13DSystemSimple::Imp::getNodesWithDisabledNotifications ( SoGroup * gr,
QList< SoNode * > & l ) const

Definition at line 240 of file IVP13DSystemSimple.cxx.

241{
242 const int n = gr->getNumChildren();
243 for (int i = 0; i < n; ++i) {
244 SoNode * child = gr->getChild(i);
245 if (!child->isNotifyEnabled())
246 l << child;
247 if (child->getTypeId().isDerivedFrom(SoGroup::getClassTypeId()))
248 getNodesWithDisabledNotifications(static_cast<SoGroup*>(child),l);
249 }
250}
#define gr
void getNodesWithDisabledNotifications(SoGroup *, QList< SoNode * > &) const
l
Printing final latex table to .tex output file.

◆ made_selection()

void IVP13DSystemSimple::Imp::made_selection ( void * userdata,
SoPath * path )
static

Definition at line 107 of file IVP13DSystemSimple.cxx.

108{
109 IVP13DSystemSimple * system = static_cast<IVP13DSystemSimple *>(userdata);
110 if (!system) {
111 std::cout<<"IVP13DSystemSimple::Imp::made_selection Error: Could not find system pointer!"<<std::endl;
112 return;
113 }
114
115 SoFullPath *fPath = static_cast<SoFullPath *>(path);
116 if (!fPath)
117 return;
118 SoNode *selectedNode = fPath->getTail();
119 if (!selectedNode)
120 return;
121
122 system->userPickedNode(selectedNode, path);
123 std::cout << "selected nodes: " << system->m_d->root->getNumSelected() << ", " << system->m_d->root->getPath(0) << std::endl;
124}
SoCooperativeSelection * root
IVP13DSystemSimple(const QString &name, const QString &information, const QString &contact_info)
virtual void userPickedNode(SoNode *pickedNode, SoPath *pickedPath)
path
python interpreter configuration --------------------------------------—
Definition athena.py:128

Member Data Documentation

◆ controllerBuilt

bool IVP13DSystemSimple::Imp::controllerBuilt

Definition at line 42 of file IVP13DSystemSimple.cxx.

◆ first

bool IVP13DSystemSimple::Imp::first

Definition at line 43 of file IVP13DSystemSimple.cxx.

◆ root

SoCooperativeSelection* IVP13DSystemSimple::Imp::root

Definition at line 36 of file IVP13DSystemSimple.cxx.

◆ rootE

SoSeparator* IVP13DSystemSimple::Imp::rootE

Definition at line 38 of file IVP13DSystemSimple.cxx.

◆ rootR

SoSeparator* IVP13DSystemSimple::Imp::rootR

Definition at line 37 of file IVP13DSystemSimple.cxx.

◆ theclass

IVP13DSystemSimple* IVP13DSystemSimple::Imp::theclass

Definition at line 35 of file IVP13DSystemSimple.cxx.

◆ wascreated

bool IVP13DSystemSimple::Imp::wascreated

Definition at line 41 of file IVP13DSystemSimple.cxx.

◆ wasrefreshed

bool IVP13DSystemSimple::Imp::wasrefreshed

Definition at line 40 of file IVP13DSystemSimple.cxx.


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