Definition at line 322 of file G4VisCommandsSceneAdd.hh.
◆ G4Logo()
Definition at line 1837 of file G4VisCommandsSceneAdd.cc.
1839{
1852 const G4double xb = -h2, yb = f2 + w;
1853 const G4double dx = xt - xb, dy = yt - yb;
1857 const G4double d = std::sqrt(dx * dx + dy * dy);
1860 const G4double x8 = ((-ss * d - dx * (yt - y8)) / dy) + xt;
1862 G4double x9 = ((-(ss - w) * d - dx * (yt - y8)) / dy) + xt;
1863
1864 const G4double xtr = ss - f1, ytr = -ss - f2 -w;
1865 x9 += xtr; y9 += ytr;
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1882 fpG = logoG.CreatePolyhedron();
1886
1887
1890 G4Box bS2(
"bS2",ss,ss,
d2+2.*e);
1899 fp4 = logo4.CreatePolyhedron();
1900
1901
1902
1903
1904
1905
1906
1907
1911}
static constexpr double rad
static constexpr double pi
static const G4double angle[DIMMOTT]
CLHEP::Hep3Vector G4ThreeVector
HepRotation & rotateZ(double delta)
void SetVisAttributes(const G4VisAttributes *)
HepPolyhedron & Transform(const G4Transform3D &t)
References angle, G4UnionSolid::CreatePolyhedron(), d2, pi, rad, CLHEP::HepRotation::rotateZ(), G4Visible::SetVisAttributes(), and G4coutFormatters::anonymous_namespace{G4coutFormatters.cc}::transform().
◆ ~G4Logo()
G4VisCommandSceneAddLogo::G4Logo::~G4Logo |
( |
| ) |
|
◆ operator()()
Definition at line 1918 of file G4VisCommandsSceneAdd.cc.
1919 {
1924}
virtual void BeginPrimitives(const G4Transform3D &objectTransformation=G4Transform3D())=0
virtual void AddPrimitive(const G4Polyline &)=0
virtual void EndPrimitives()=0
◆ fp4
◆ fpG
The documentation for this struct was generated from the following files: