#include <PerspectiveVisAction.hh>
Definition at line 50 of file PerspectiveVisAction.hh.
◆ PerspectiveVisAction()
PerspectiveVisAction::PerspectiveVisAction |
( |
| ) |
|
Definition at line 46 of file PerspectiveVisAction.cc.
G4double fWindowSillHeight
G4VVisManager * fpVisManager
G4double fDoorFrameOffset
◆ Chair()
Definition at line 145 of file PerspectiveVisAction.cc.
156 for (
int i = -1; i < 2; i+=2) {
157 for (
int j = -1; j < 2; j+=2) {
void ExtendedDraw(const G4VSolid &, const G4VisAttributes &, const G4Transform3D &objectTransformation=G4Transform3D())
◆ Draw()
void PerspectiveVisAction::Draw |
( |
| ) |
|
|
virtual |
◆ ExtendedDraw()
Definition at line 173 of file PerspectiveVisAction.cc.
183 G4bool any =
false,
A =
false,
X =
false,
Y =
false,
Z =
false;
191 G4bool isAuxEdgeVisible =
false;
201 notLastEdge = polyhedron->
GetNextEdge(v1, v2, edgeFlag);
202 if (isAuxEdgeVisible || edgeFlag > 0) {
206 v21a.transform(transform);
210 (
Z && abs(v21a.
z()) >
211 sqrt(v21a.
x()*v21a.
x()+v21a.
y()*v21a.
y())) ||
212 (
X && abs(v21a.
x()) >
213 sqrt(v21a.
y()*v21a.
y()+v21a.
z()*v21a.
z())) ||
214 (
Y && abs(v21a.
y()) >
215 sqrt(v21a.
x()*v21a.
x()+v21a.
x()*v21a.
z()))) {
218 edge.push_back(v1 - extender * v21.
unit());
219 edge.push_back(v2 + extender * v21.
unit());
223 }
while (notLastEdge);
224 }
while (notLastFace);
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
G4bool GetNextFacet(G4int &n, G4Point3D *nodes, G4int *edgeFlags=0, G4Normal3D *normals=0) const
G4bool contains(const std::string &) const
virtual G4Polyhedron * GetPolyhedron() const
double A(double temperature)
G4bool GetNextEdge(G4Point3D &p1, G4Point3D &p2, G4int &edgeFlag) const
void SetVisAttributes(const G4VisAttributes *)
G4VVisManager * fpVisManager
BasicVector3D< T > unit() const
◆ RoomAndChair()
void PerspectiveVisAction::RoomAndChair |
( |
| ) |
|
|
private |
Definition at line 93 of file PerspectiveVisAction.cc.
97 room_visAtts.SetForceWireframe(
true);
139 Chair(chair_visAtts, chair_transform);
double A(double temperature)
void ExtendedDraw(const G4VSolid &, const G4VisAttributes &, const G4Transform3D &objectTransformation=G4Transform3D())
G4double fWindowSillHeight
void Chair(const G4VisAttributes &, const G4Transform3D &)
G4double fDoorFrameOffset
◆ SetOptionString()
void PerspectiveVisAction::SetOptionString |
( |
const G4String & |
optionString | ) |
|
|
inline |
◆ SetScene()
void PerspectiveVisAction::SetScene |
( |
const G4String & |
scene | ) |
|
|
inline |
◆ fChairSeat
G4double PerspectiveVisAction::fChairSeat |
|
private |
◆ fChairThickness
G4double PerspectiveVisAction::fChairThickness |
|
private |
◆ fChairX
◆ fChairY
◆ fChairZ
◆ fDoorFrameOffset
G4double PerspectiveVisAction::fDoorFrameOffset |
|
private |
◆ fDoorFrameX
G4double PerspectiveVisAction::fDoorFrameX |
|
private |
◆ fDoorFrameY
G4double PerspectiveVisAction::fDoorFrameY |
|
private |
◆ fDoorFrameZ
G4double PerspectiveVisAction::fDoorFrameZ |
|
private |
◆ fDoorX
◆ fDoorY
◆ fDoorZ
◆ fOptionString
G4String PerspectiveVisAction::fOptionString |
|
private |
◆ fpVisManager
◆ fRoomX
◆ fRoomY
◆ fRoomZ
◆ fScene
◆ fWindowOffset
G4double PerspectiveVisAction::fWindowOffset |
|
private |
◆ fWindowSillHeight
G4double PerspectiveVisAction::fWindowSillHeight |
|
private |
◆ fWindowX
◆ fWindowY
◆ fWindowZ
The documentation for this class was generated from the following files: