|
ATLAS Offline Software
|
#include <Example3DChannel2.h>
Definition at line 20 of file Example3DChannel2.h.
◆ 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.
◆ Example3DChannel2()
Example3DChannel2::Example3DChannel2 |
( |
| ) |
|
Definition at line 19 of file Example3DChannel2.cxx.
21 "This channel is an example of a"
22 " 3D channel which displays the"
23 " 3D scene delivered by the"
24 " Example3DSystem2 (along with geometry).",
25 "Thomas.Kittelmann@cern.ch")
◆ ~Example3DChannel2()
virtual Example3DChannel2::~Example3DChannel2 |
( |
| ) |
|
|
inlinevirtual |
◆ 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 |
( |
| ) |
|
|
virtualinherited |
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 |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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 |
|
) |
| |
|
virtualinherited |
◆ 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()
void Example3DChannel2::init |
( |
| ) |
|
|
virtual |
◆ isAccumulator()
bool IVP1ChannelWidget::isAccumulator |
( |
| ) |
const |
|
virtualinherited |
◆ isAntiAliasing()
bool IVP13DStandardChannelWidget::isAntiAliasing |
( |
| ) |
|
|
virtualinherited |
◆ lastOfActiveSystemsRefreshed()
void IVP13DStandardChannelWidget::lastOfActiveSystemsRefreshed |
( |
| ) |
|
|
virtualinherited |
◆ launchStereoEditor()
void IVP13DStandardChannelWidget::launchStereoEditor |
( |
| ) |
|
|
inherited |
◆ message
void IVP1ChannelWidget::message |
( |
QString |
| ) |
|
|
signalinherited |
◆ name()
const QString & IVP1ChannelWidget::name |
( |
| ) |
const |
|
inherited |
◆ 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 | ) |
|
|
virtualinherited |
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 |
( |
| ) |
|
|
virtualinherited |
◆ setAntiAliasing()
bool IVP13DStandardChannelWidget::setAntiAliasing |
( |
bool |
aa | ) |
|
|
virtualinherited |
◆ 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 |
( |
| ) |
|
|
privateslotinherited |
◆ 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 |
( |
| ) |
|
|
protectedslotinherited |
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 |
( |
| ) |
|
|
protectedinherited |
◆ 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 | ) |
|
|
virtualinherited |
◆ systemRefreshed()
void IVP13DStandardChannelWidget::systemRefreshed |
( |
IVP1System * |
| ) |
|
|
virtualinherited |
◆ systemRefreshInfoChanged
void IVP1ChannelWidget::systemRefreshInfoChanged |
( |
QString |
sysrefreshing, |
|
|
int |
nsysOn, |
|
|
int |
nsysOnRefreshed |
|
) |
| |
|
signalinherited |
◆ systems()
◆ toggleSystemActive
void IVP13DStandardChannelWidget::toggleSystemActive |
( |
| ) |
|
|
privateslotinherited |
◆ 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 |
( |
| ) |
|
|
privateslotinherited |
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 |
|
privateinherited |
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 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)