|
ATLAS Offline Software
|
#include <IVP13DStandardChannelWidget.h>
Inherits IVP13DChannelWidget.
Inherited by Example3DChannel1, Example3DChannel2, Example3DChannel3, Example3DChannel4, Example3DChannel5, VP13DCocktailChannel, VP1AODChannel, VP1CaloCellChannel, VP1GeometryChannel, VP1LegoChannel, VP1LightChannel, VP1TrackCaloChannel, and VP1TrackChannel.
◆ State
◆ SystemOption
Enumerator |
---|
AllowAll | |
DisallowExtraDisplayWidget | |
DisallowSwitchable | |
DisallowController | |
StartDisabled | |
DisallowCameraAccess | |
Definition at line 33 of file IVP13DStandardChannelWidget.h.
◆ Type
Enumerator |
---|
UNKNOWN | |
THREEDIMENSIONAL | |
TWODIMENSIONAL | |
HISTOGRAM | |
NUMBERS | |
Definition at line 46 of file IVP1ChannelWidget.h.
◆ IVP13DStandardChannelWidget() [1/2]
IVP13DStandardChannelWidget::IVP13DStandardChannelWidget |
( |
const QString & |
name, |
|
|
const QString & |
information, |
|
|
const QString & |
contact_info, |
|
|
bool |
detectorViewButtons = true |
|
) |
| |
◆ ~IVP13DStandardChannelWidget()
IVP13DStandardChannelWidget::~IVP13DStandardChannelWidget |
( |
| ) |
|
|
virtual |
◆ IVP13DStandardChannelWidget() [2/2]
◆ addSystem() [1/2]
◆ addSystem() [2/2]
◆ cloneID()
unsigned IVP1ChannelWidget::cloneID |
( |
| ) |
const |
|
privateinherited |
◆ contact_info()
const QString & IVP1ChannelWidget::contact_info |
( |
| ) |
const |
|
inherited |
◆ controllerWidget()
QWidget * IVP1ChannelWidget::controllerWidget |
( |
| ) |
|
|
privateinherited |
◆ create()
void IVP13DStandardChannelWidget::create |
( |
| ) |
|
|
virtual |
Reimplemented from IVP1ChannelWidget.
Definition at line 168 of file IVP13DStandardChannelWidget.cxx.
171 QWidget * snapshotgroupbox =
new QWidget();
179 colorselectbutton_dummy,
180 snapshotgroupbox,
true ));
182 SoOffscreenRenderer::getMaximumResolution().getValue(
x,
y);
205 while (
it.hasNext()) {
210 it.key()->setChecked(
false);
222 QList<QPair<QString,QWidget*> > sysname2extradisplay;
224 QWidget * edwidget =
sys->buildExtraDisplayWidget();
226 sysname2extradisplay << QPair<QString,QWidget*>(
sys->name(),edwidget);
229 if (sysname2extradisplay.count()==0) {
232 }
else if (sysname2extradisplay.count()==1) {
234 }
else if (sysname2extradisplay.count()>1) {
236 for (
int i = 0;
i < sysname2extradisplay.count(); ++
i) {
237 tabWidget->addTab(sysname2extradisplay.at(
i).second,sysname2extradisplay.at(
i).first);
239 tabWidget->setCurrentIndex(0);
246 m_d->
viewer->setGLRenderAction(
new SoLineHighlightRenderAction());
◆ deleteControllers()
void IVP1ChannelWidget::deleteControllers |
( |
| ) |
|
|
privateinherited |
◆ dockResized()
void IVP13DStandardChannelWidget::dockResized |
( |
| ) |
|
|
protectedvirtual |
◆ emitRefreshInfoChanged()
void IVP1ChannelWidget::emitRefreshInfoChanged |
( |
| ) |
|
|
privateinherited |
Definition at line 268 of file IVP1ChannelWidget.cxx.
270 int nsysOn(0), nsysOnRefreshed(0);
271 QString sysrefreshing;
278 if ((*it)->isRefreshing()) {
279 assert(sysrefreshing.isEmpty());
280 sysrefreshing=(*it)->name();
◆ getEvtTimestamp()
void IVP1ChannelWidget::getEvtTimestamp |
( |
unsigned & |
timestamp | ) |
|
|
protectedinherited |
◆ getRunEvtNumber()
void IVP1ChannelWidget::getRunEvtNumber |
( |
int & |
runnumber, |
|
|
unsigned long long & |
eventnumber |
|
) |
| |
|
protectedinherited |
◆ getSnapshot()
QPixmap IVP13DStandardChannelWidget::getSnapshot |
( |
bool |
transp = false , |
|
|
int |
width = 0 , |
|
|
bool |
batch = false |
|
) |
| |
|
virtual |
◆ goingToNextEvent()
void IVP13DChannelWidget::goingToNextEvent |
( |
| ) |
|
|
virtualinherited |
Reimplemented from IVP1ChannelWidget.
Definition at line 114 of file IVP13DChannelWidget.cxx.
120 if (ra->getTypeId().isDerivedFrom(SoQtViewer::getClassTypeId())) {
122 if (ra->getTypeId().isDerivedFrom(SoQtExaminerViewer::getClassTypeId())) {
123 if (
static_cast<SoQtExaminerViewer*
>(ra)->isAnimating())
124 static_cast<SoQtExaminerViewer*
>(ra)->stopAnimating();
◆ hasRefreshingSystem()
bool IVP1ChannelWidget::hasRefreshingSystem |
( |
| ) |
|
|
privateinherited |
◆ information()
const QString & IVP1ChannelWidget::information |
( |
| ) |
const |
|
inherited |
◆ init()
virtual void IVP1ChannelWidget::init |
( |
| ) |
|
|
pure virtualinherited |
Implemented in VP1MCChannel, VP1TriggerDecisionChannel, VP1BanksChannel, VP13DCocktailChannel, VP1GeometryChannel, VP1LightChannel, Example3DChannel1, Example3DChannel2, Example3DChannel3, Example3DChannel4, Example3DChannel5, VP1CaloCellChannel, VP1LegoChannel, VP1TrackCaloChannel, VP1AODChannel, and VP1TrackChannel.
◆ isAccumulator()
bool IVP1ChannelWidget::isAccumulator |
( |
| ) |
const |
|
virtualinherited |
◆ isAntiAliasing()
bool IVP13DStandardChannelWidget::isAntiAliasing |
( |
| ) |
|
|
virtual |
◆ lastOfActiveSystemsRefreshed()
void IVP13DStandardChannelWidget::lastOfActiveSystemsRefreshed |
( |
| ) |
|
|
virtual |
◆ launchStereoEditor()
void IVP13DStandardChannelWidget::launchStereoEditor |
( |
| ) |
|
◆ message
void IVP1ChannelWidget::message |
( |
QString |
| ) |
|
|
signalinherited |
◆ name()
const QString & IVP1ChannelWidget::name |
( |
| ) |
const |
|
inherited |
◆ operator=()
◆ registerController()
void IVP1ChannelWidget::registerController |
( |
QWidget * |
w | ) |
|
|
protectedinherited |
Definition at line 210 of file IVP1ChannelWidget.cxx.
214 assert(
w&&
"IVP1ChannelWidget::registerController(...) called with null pointer!!");
215 assert(!
m_d->
controller&&
"IVP1ChannelWidget::registerController(...) called twice!!");
◆ registerRenderArea()
Definition at line 94 of file IVP13DChannelWidget.cxx.
97 message(
"Error - tried to register NULL render area!");
109 if (ra->getParentWidget()&&ra->getWidget())
110 ra->getParentWidget()->setFocusProxy(ra->getWidget());
◆ registerSystem()
void IVP1ChannelWidget::registerSystem |
( |
IVP1System * |
s | ) |
|
|
protectedinherited |
◆ restoreFromState()
void IVP13DStandardChannelWidget::restoreFromState |
( |
QByteArray |
ba | ) |
|
|
virtual |
Reimplemented from IVP13DChannelWidget.
Definition at line 771 of file IVP13DStandardChannelWidget.cxx.
777 buffer.open(QIODevice::ReadOnly);
785 if (version<0||version>7) {
786 message(
"Warning: State data in .vp1 file is in wrong format - ignoring!");
790 QByteArray basestate;
802 state >> bgdcol_dummy;
806 QMap<QString, bool> sysname2turnedon;
807 state >> sysname2turnedon;
810 if (sysname2turnedon.contains(
it.key()->text())) {
811 if (sysname2turnedon[
it.key()->text()]!=
it.key()->isChecked())
812 it.key()->setChecked(sysname2turnedon[
it.key()->text()]);
814 message(
"Warning: Config data does not contain information about switched state of subsystem '"+
it.key()->text()+
"'");
826 QByteArray splitstate;
832 QByteArray ba_viewer;
838 bool aa_dummy, transp, widthfixed, as_shown;
◆ saveState()
QByteArray IVP13DStandardChannelWidget::saveState |
( |
| ) |
|
|
virtual |
◆ setAntiAliasing()
bool IVP13DStandardChannelWidget::setAntiAliasing |
( |
bool |
aa | ) |
|
|
virtual |
◆ setCanRegister()
void IVP1ChannelWidget::setCanRegister |
( |
const bool & |
controller, |
|
|
const bool & |
system |
|
) |
| |
|
privateinherited |
◆ setCloneID()
void IVP1ChannelWidget::setCloneID |
( |
unsigned |
id | ) |
|
|
privateinherited |
◆ setEvtTimestamp()
void IVP1ChannelWidget::setEvtTimestamp |
( |
unsigned |
timestamp | ) |
|
|
protectedinherited |
◆ setImageFromPresets
void IVP13DStandardChannelWidget::setImageFromPresets |
( |
| ) |
|
|
privateslot |
◆ setRunEvtNumber()
void IVP1ChannelWidget::setRunEvtNumber |
( |
int |
runnumber, |
|
|
unsigned long long |
eventnumber |
|
) |
| |
|
inherited |
◆ setState()
void IVP1ChannelWidget::setState |
( |
const State & |
s | ) |
|
|
privateinherited |
◆ setUpdatesEnabled()
void IVP13DChannelWidget::setUpdatesEnabled |
( |
bool |
enable | ) |
|
|
inherited |
◆ showControlsForSystem
void IVP13DStandardChannelWidget::showControlsForSystem |
( |
| ) |
|
|
protectedslot |
Definition at line 882 of file IVP13DStandardChannelWidget.cxx.
888 message(
"showControlsForSystem Error: Unable to determine system identity.");
897 if (index<0||!m_d->tabwidget->isTabEnabled(
index)) {
898 message(
"Warning: Asked to show controller for a disabled system. Surely you jest?");
◆ state()
◆ stopSpinning()
void IVP13DStandardChannelWidget::stopSpinning |
( |
| ) |
|
|
protected |
◆ 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 |
◆ systemErased()
void IVP13DStandardChannelWidget::systemErased |
( |
IVP1System * |
sys | ) |
|
|
virtual |
◆ systemRefreshed()
void IVP13DStandardChannelWidget::systemRefreshed |
( |
IVP1System * |
| ) |
|
|
virtual |
◆ systemRefreshInfoChanged
void IVP1ChannelWidget::systemRefreshInfoChanged |
( |
QString |
sysrefreshing, |
|
|
int |
nsysOn, |
|
|
int |
nsysOnRefreshed |
|
) |
| |
|
signalinherited |
◆ systems()
◆ toggleSystemActive
void IVP13DStandardChannelWidget::toggleSystemActive |
( |
| ) |
|
|
privateslot |
◆ turnOff()
void IVP1ChannelWidget::turnOff |
( |
IVP1System * |
s, |
|
|
const bool & |
immediateErase = true |
|
) |
| |
|
protectedinherited |
◆ turnOn()
◆ type()
Type IVP13DChannelWidget::type |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ uncreate()
void IVP1ChannelWidget::uncreate |
( |
| ) |
|
|
protectedvirtualinherited |
◆ unique_name()
const QString IVP1ChannelWidget::unique_name |
( |
| ) |
const |
|
inherited |
◆ uniqueNameChanged
void IVP1ChannelWidget::uniqueNameChanged |
( |
const QString & |
| ) |
|
|
signalinherited |
◆ updateSnapshotDim
void IVP13DStandardChannelWidget::updateSnapshotDim |
( |
| ) |
|
|
privateslot |
Definition at line 538 of file IVP13DStandardChannelWidget.cxx.
562 int onscreen_width =
m_d->
viewer->getNormalWidget()->geometry().width();
563 int onscreen_height =
m_d->
viewer->getNormalWidget()->geometry().height();
577 m_d->
uisnapshot.spinBox_height->setValue(
static_cast<int>(
m_d->
uisnapshot.spinBox_width->value()*
static_cast<double>(onscreen_height)/onscreen_width+0.5));
581 m_d->
uisnapshot.spinBox_width->setValue(
static_cast<int>(
m_d->
uisnapshot.spinBox_height->value()*
static_cast<double>(onscreen_width)/onscreen_height+0.5));
604 m_d->
uisnapshot.spinBox_height->setValue(
static_cast<int>(
m_d->
uisnapshot.spinBox_width->value()*
static_cast<double>(onscreen_height)/onscreen_width+0.5));
612 m_d->
uisnapshot.spinBox_width->setValue(
static_cast<int>(
m_d->
uisnapshot.spinBox_height->value()*
static_cast<double>(onscreen_width)/onscreen_width+0.5));
◆ m_d
Imp* IVP13DStandardChannelWidget::m_d |
|
private |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
virtual void setSceneGraph(SoNode *)
virtual void setTransparencyType(SoGLRenderAction::TransparencyType)
static QString str(const QString &s)
virtual SoSeparator * getSceneGraph() const =0
static void abortAnyCurrentZoom(SoCamera *camera)
virtual void restoreFromState(QByteArray)
static bool environmentVariableIsSet(const QString &name)
void launchStereoEditor()
static QColor sbcol2qcol(const SbColor &)
bool startTourEachEvent() const
static void ensureInitClass()
static void messageVerbose(const QString &)
static void messageDebug(const QString &)
static QWidget * compositionController(const QList< IVP1System * > &systemsWithControllersAllowed, QMap< IVP1System *, QWidget * > &sys2tabpage, VP1TabWidget *&tabwidget, const QList< QPair< IVP1System *, bool > > &system2switchable, QMap< QCheckBox *, IVP1System * > &checkbox2system, VP1ColorSelectButton *&colorselectbutton, QWidget *extrawidget=0, bool nobgdcolorsel=false)
static QPixmap renderToPixmap(VP1ExaminerViewer *ra, int pixels_x, int pixels_y, bool transparent_background=false, double actualRenderedSizeFact=1.0)
static void ensureInitLineWidthAndPointSize(SoQtRenderArea *)
void storeCameraParametersForReset()
virtual QByteArray saveState()
virtual void deselectAll(SoCooperativeSelection *exception_sel=0)