ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
TDiamond.h
Go to the documentation of this file.
1
// @(#)root/graf:$Id$
2
// Author: Rene Brun 22/06/96
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TDiamond
13
#define ROOT_TDiamond
14
15
#include "
TPaveText.h
"
16
17
class
TDiamond
:
public
TPaveText
{
18
19
public
:
20
TDiamond
();
21
TDiamond
(
Double_t
x1
,
Double_t
y1,
Double_t
x2
,
Double_t
y2);
22
TDiamond
(
const
TDiamond
&diamond);
23
virtual
~TDiamond
();
24
virtual
Int_t
DistancetoPrimitive
(
Int_t
px,
Int_t
py);
25
virtual
void
Draw
(
Option_t
*option=
""
);
26
virtual
void
ExecuteEvent
(
Int_t
event
,
Int_t
px,
Int_t
py);
27
virtual
void
Paint
(
Option_t
*option=
""
);
28
virtual
void
SavePrimitive
(std::ostream &out,
Option_t
*option =
""
);
29
30
ClassDef
(
TDiamond
,1)
//Diamond class
31
};
32
33
#endif
34
x2
static const double x2[5]
Definition
RooGaussKronrodIntegrator1D.cxx:364
x1
static const double x1[5]
Definition
RooGaussKronrodIntegrator1D.cxx:346
Double_t
double Double_t
Definition
RtypesCore.h:59
Option_t
const char Option_t
Definition
RtypesCore.h:66
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:325
TPaveText.h
TDiamond
Draw a Diamond.
Definition
TDiamond.h:17
TDiamond::TDiamond
TDiamond()
Diamond default constructor.
Definition
TDiamond.cxx:46
TDiamond::Paint
virtual void Paint(Option_t *option="")
Paint this diamond with its current attributes.
Definition
TDiamond.cxx:380
TDiamond::~TDiamond
virtual ~TDiamond()
Diamond destructor.
Definition
TDiamond.cxx:61
TDiamond::SavePrimitive
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition
TDiamond.cxx:439
TDiamond::DistancetoPrimitive
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a diamond.
Definition
TDiamond.cxx:85
TDiamond::ExecuteEvent
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Definition
TDiamond.cxx:109
TPaveText
A Pave (see TPave) with text, lines or/and boxes inside.
Definition
TPaveText.h:21
int
event
Definition
triangle.c:553
Draw
th1 Draw()
graf2d
graf
inc
TDiamond.h
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:02:20 (GVA Time) using Doxygen 1.9.8