ATLAS Offline Software
Loading...
Searching...
No Matches
VP1People.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class VP1People //
9// //
10// Description: Helper class providing people figures at scale. //
11// //
12// Author: Riccardo Maria BIANCHI <riccardo.maria.bianchi@cern.ch> //
13// Initial version: November 2021 //
14// //
16
17#ifndef VP1PEOPLE_H
18#define VP1PEOPLE_H
19
21#include <QObject>
22#include <Inventor/SbColor4f.h>
23
24class SoMaterial;
25class SoSeparator;
26
27class VP1People : public QObject, public VP1HelperClassBase {
28
29 Q_OBJECT
30
31public:
32
33 VP1People( SoMaterial * mat,
34 SoSeparator * attachsep,//where the letters separator will attach itself when visible
35 IVP1System * sys,QObject * parent = 0);
36 virtual ~VP1People();
37
38public Q_SLOTS:
39 void setShown(bool);//will attach/detach itself from attachsep depending on this
40 void setZPos(const double&);
41 void setVerticalPosition(const double&);
42 void setColourAndTransp(const SbColor4f&);
43
44private:
45 class Imp;
47
48};
49
50#endif
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
void setColourAndTransp(const SbColor4f &)
void setZPos(const double &)
void setShown(bool)
VP1People(SoMaterial *mat, SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
Definition VP1People.cxx:85
Imp * m_d
Definition VP1People.h:46
void setVerticalPosition(const double &)
virtual ~VP1People()
Definition VP1People.cxx:92