Demonstrates usage pre-scaling for automatic 2D projections.
#include <sstream>
#include <iostream>
{
ps->SetNextPoint(
r.Uniform(-s, s),
r.Uniform(-s, s),
r.Uniform(-s, s));
ps->SetMarkerColor(color);
ps->SetMarkerSize(3 +
r.Uniform(1, 2));
return ps;
}
{
p->AddPreScaleEntry(0, 0, 4);
p->AddPreScaleEntry(0, 45, 1);
p->AddPreScaleEntry(0, 310, 0.5);
}
rphiView->SetCameraType(REX::REveViewer::kCameraOrthoXOY);
for (
auto &
ie :
eveMng->GetGlobalScene()->RefChildren())
for (
auto &
ie :
eveMng->GetEventScene()->RefChildren())
}
{
string s;
return node;
}
{
eveMng = REX::REveManager::Create();
m->SetShape(
n->GetVolume()->GetShape());
auto bv =
n->GetVolume();
for (int i = 1; i < 5; ++i) {
auto n =
bv->FindNode(
Form(
"MBXC_%d", i));
auto gss =
n->GetVolume()->GetShape();
const double *
move =
n->GetMatrix()->GetTranslation();
b1s->RefMainTrans().SetFrom(*(
n->GetMatrix()));
}
line->SetNextPoint(0, 0, 0);
line2->SetNextPoint(0, 0, 0);
line2->SetNextPoint(
b,
b + 5,
b);
line2->SetMainColor(
kRed);
eveMng->GetEventScene()->AddElement(line2);
} else {
}
}
int Int_t
Signed integer 4 bytes (int)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t points
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
REveLine An arbitrary polyline with fixed line and marker attributes.
REveProjectionManager Manager class for steering of projections and managing projected objects.
REveProjection Base for specific classes that implement non-linear projections.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoVolume * GetVolume() const
TGeoNode * FindNode(const char *name) const
search a daughter inside the list of nodes
This is the base class for the ROOT Random number generators.
Namespace for ROOT features in testing.