#include <Doxymodules_visualization.h>
Definition at line 29 of file Doxymodules_visualization.h.
◆ StandaloneVisAction()
StandaloneVisAction::StandaloneVisAction |
( |
| ) |
|
Definition at line 42 of file StandaloneVisAction.cc.
42 {
43 auto pA =
G4Box(
"boxA",3*cm,3*cm,3*cm).CreatePolyhedron();
44 auto pB =
G4Box(
"boxB",1*cm,1*cm,1*cm).CreatePolyhedron();
45 pB->Transform(G4Translate3D(3*cm,3*cm,3*cm));
49 delete pA;
50 delete pB;
51}
G4Polyhedron * fpSubtractedPolyhedron
◆ ~StandaloneVisAction()
StandaloneVisAction::~StandaloneVisAction |
( |
| ) |
|
◆ Draw()
void StandaloneVisAction::Draw |
( |
| ) |
|
|
override |
Definition at line 61 of file StandaloneVisAction.cc.
61 {
62 G4VVisManager* pVisManager = G4VVisManager::GetConcreteInstance();
63 if (pVisManager) {
64
65
66 pVisManager->Draw(
G4Box(
"box",2*cm,2*cm,2*cm),
68
69
70 G4Box boxA(
"boxA",3*cm,3*cm,3*cm);
71 G4Box boxB(
"boxB",1*cm,1*cm,1*cm);
73 G4Translate3D(3*cm,3*cm,3*cm));
74 pVisManager->Draw(subtracted,
76 G4Translate3D(-6*cm,-6*cm,-6*cm));
77
78
79
81 }
82}
◆ fpSubtractedPolyhedron
The documentation for this class was generated from the following files: