2 #include "nutools/EventDisplayBase/View3D.h" 3 #include "nutools/EventDisplayBase/Functors.h" 52 double dx,
double dy,
double dz,
58 m =
new TMarker3DBox(x,y,z,dx,dy,dz,th,ph);
59 m->SetBit(kCanDelete,kFALSE);
65 m->SetPosition(x,y,z);
77 TPolyMarker3D*
pm = 0;
79 pm =
new TPolyMarker3D(n);
80 pm->SetBit(kCanDelete,kFALSE);
81 pm->SetMarkerColor(c);
82 pm->SetMarkerStyle(st);
83 pm->SetMarkerSize(sz);
92 pm->SetPolyMarker(0,(
double*)0,1,
"");
93 pm->SetPolyMarker(n,(
double*)0,1,
"");
94 pm->SetMarkerColor(c);
95 pm->SetMarkerStyle(st);
96 pm->SetMarkerSize(sz);
109 pl =
new TPolyLine3D(n);
110 pl->SetBit(kCanDelete,kFALSE);
122 pl->SetPolyLine(0,(
double*)0,
"");
123 pl->SetPolyLine(n,(
double*)0,
"");
139 itxt =
new TText(x,y,text);
140 itxt->SetBit(kCanDelete,kFALSE);
146 itxt->SetText(x,y,text);
TMarker3DBox & AddMarker3DBox(double x, double y, double z, double dx, double dy, double dz, double th=0.0, double ph=0.0)
Manage all things related to colors for the event display.
static std::list< TPolyMarker3D * > fgPolyMarker3DL
TText & AddText(double x, double y, const char *text)
std::list< TText * > fText3DL
List of texts.
static std::list< TPolyLine3D * > fgPolyLine3DL
TPolyLine3D & AddPolyLine3D(int n, int c, int w, int s)
static std::list< TText * > fgText3DL
std::list< TMarker3DBox * > fMarker3DBoxL
List of 3D marker boxes.
static std::list< TMarker3DBox * > fgMarker3DBoxL
std::list< TPolyLine3D * > fPolyLine3DL
List of poly lines.
std::list< TPolyMarker3D * > fPolyMarker3DL
List of poly markers.
TPolyMarker3D & AddPolyMarker3D(int n, int c, int st, double sz)