Main Page
Namespaces
Classes
Package Documentation
Fireworks
Core
interface
FWTextProjected.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWTextProjected_h
2
#define Fireworks_Core_FWTextProjected_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWTextProjected
7
//
16
//
17
// Original Author: Alja Mrak-Tadel
18
// Created: Fri Aug 12 01:12:28 CEST 2011
19
//
20
21
#include "TNamed.h"
22
#include "TAtt3D.h"
23
#include "TAttBBox.h"
24
25
#include "TEveProjectionBases.h"
26
#include "TEveText.h"
27
#include "TEveTextGL.h"
28
29
30
class
FWEveText
:
public
TEveText,
31
public
TEveProjectable
32
{
33
private
:
34
FWEveText
(
const
FWEveText
&);
// stop default
35
const
FWEveText
&
operator=
(
const
FWEveText
&);
// stop default
36
37
public
:
38
float
m_offsetZ
;
39
float
m_textPad
;
40
FWEveText
(
const
char
* txt=
""
):TEveText(txt), m_offsetZ(0), m_textPad(5) {}
41
virtual
~FWEveText
() {}
42
43
virtual
TClass*
ProjectedClass
(
const
TEveProjection*
p
)
const
;
44
ClassDef
(
FWEveText
, 0);
// Class for visualisation of text with FTGL font.
45
};
46
47
//==============================================================================
48
//==============================================================================
49
50
51
class
FWEveTextProjected
:
public
FWEveText
,
52
public
TEveProjected
53
{
54
private
:
55
FWEveTextProjected
(
const
FWEveTextProjected
&);
// Not implemented
56
FWEveTextProjected
&
operator=
(
const
FWEveTextProjected
&);
// Not implemented
57
58
public
:
59
FWEveTextProjected
() {}
60
virtual
~FWEveTextProjected
() {}
61
62
virtual
void
UpdateProjection();
63
virtual
TEveElement*
GetProjectedAsElement
() {
return
this
; }
64
65
ClassDef
(
FWEveTextProjected
, 0);
// Projected replica of a FWEveText.
66
};
67
68
//______________________________________________________________________________
69
70
class
FWEveTextGL
:
public
TEveTextGL
71
{
72
public
:
73
FWEveTextGL
(){}
74
virtual
~FWEveTextGL
() {}
75
76
virtual
void
DirectDraw(TGLRnrCtx & rnrCtx)
const
;
77
78
ClassDef
(
FWEveTextGL
, 0);
// GL renderer class for TEveText.
79
};
80
81
82
#endif
FWEveText::operator=
const FWEveText & operator=(const FWEveText &)
FWEveText::m_offsetZ
float m_offsetZ
Definition:
FWTextProjected.h:38
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
FWEveTextProjected::GetProjectedAsElement
virtual TEveElement * GetProjectedAsElement()
Definition:
FWTextProjected.h:63
FWEveTextProjected
Definition:
FWTextProjected.h:51
FWEveTextGL::~FWEveTextGL
virtual ~FWEveTextGL()
Definition:
FWTextProjected.h:74
FWEveText::m_textPad
float m_textPad
Definition:
FWTextProjected.h:39
FWEveTextProjected::~FWEveTextProjected
virtual ~FWEveTextProjected()
Definition:
FWTextProjected.h:60
FWEveText::FWEveText
FWEveText(const char *txt="")
Definition:
FWTextProjected.h:40
FWEveText::~FWEveText
virtual ~FWEveText()
Definition:
FWTextProjected.h:41
FWEveTextProjected::FWEveTextProjected
FWEveTextProjected()
Definition:
FWTextProjected.h:59
FWEveText::ProjectedClass
virtual TClass * ProjectedClass(const TEveProjection *p) const
Definition:
FWTextProjected.cc:29
FWEveTextGL
Definition:
FWTextProjected.h:70
FWEveText::FWEveText
FWEveText(const FWEveText &)
FWEveTextGL::FWEveTextGL
FWEveTextGL()
Definition:
FWTextProjected.h:73
FWEveText::ClassDef
ClassDef(FWEveText, 0)
FWEveText
Definition:
FWTextProjected.h:30
Generated for CMSSW Reference Manual by
1.8.11