Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VtkViewer.hh>
Public Attributes | |
vtkNew< vtkTextActor > | infoTextActor |
vtkNew< vtkInfoCallback > | infoCallback |
vtkNew< vtkGeant4Callback > | geant4Callback |
vtkSmartPointer< vtkLight > | light |
vtkNew< vtkCamera > | camera |
vtkNew< vtkRenderer > | renderer |
vtkRenderWindow * | _renderWindow |
vtkRenderWindowInteractor * | renderWindowInteractor |
Protected Attributes | |
G4bool | firstSetView = true |
G4bool | firstFinishView = true |
G4double | cameraDistance |
vtkNew< vtkImplicitPlaneRepresentation > | cutterPlaneRepresentation |
vtkNew< vtkImplicitPlaneWidget2 > | cutterPlaneWidget |
vtkNew< vtkImplicitPlaneRepresentation > | clipperPlaneRepresentation |
vtkNew< vtkImplicitPlaneWidget2 > | clipperPlaneWidget |
vtkNew< vtkCameraOrientationWidget > | camOrientWidget |
bool | bCutter = false |
bool | bClipper = false |
bool | bHud = false |
bool | bOrientation = false |
Protected Attributes inherited from G4VViewer | |
G4VSceneHandler & | fSceneHandler |
G4int | fViewId |
G4String | fName |
G4String | fShortName |
G4ViewParameters | fVP |
G4ViewParameters | fDefaultVP |
G4double | fKernelVisitElapsedTimeSeconds = 999. |
SceneTreeScene | fSceneTreeScene |
G4SceneTreeItem | fSceneTree |
G4bool | fNeedKernelVisit |
Additional Inherited Members | |
Protected Member Functions inherited from G4VViewer | |
void | SetTouchable (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath) |
void | TouchableSetVisibility (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, G4bool visibility) |
void | TouchableSetColour (const std::vector< G4PhysicalVolumeModel::G4PhysicalVolumeNodeID > &fullPath, const G4Colour &) |
Definition at line 214 of file G4VtkViewer.hh.
G4VtkViewer::G4VtkViewer | ( | G4VSceneHandler & | sceneHandler, |
const G4String & | name ) |
Definition at line 81 of file G4VtkViewer.cc.
|
override |
Definition at line 149 of file G4VtkViewer.cc.
|
virtual |
Definition at line 678 of file G4VtkViewer.cc.
Referenced by DrawView().
|
virtual |
Definition at line 552 of file G4VtkViewer.cc.
Referenced by DrawView().
|
virtual |
Definition at line 579 of file G4VtkViewer.cc.
Referenced by DrawView().
void G4VtkViewer::AddGeometryOverlay | ( | const G4String & | fileName, |
const G4double | colour[3], | ||
const G4double | alpha, | ||
const G4String & | representation, | ||
const G4double | scale[3], | ||
const G4double | rotation[3], | ||
const G4double | translation[3] ) |
Definition at line 729 of file G4VtkViewer.cc.
void G4VtkViewer::AddImageOverlay | ( | const G4String & | fileName, |
const G4double | alpha, | ||
const G4double | imageBottomLeft[2], | ||
const G4double | worldBottomLeft[2], | ||
const G4double | imageTopRight[2], | ||
const G4double | worldTopRight[2], | ||
const G4double | rot[3], | ||
const G4double | trans[3] ) |
Definition at line 695 of file G4VtkViewer.cc.
void G4VtkViewer::AddViewHUD | ( | ) |
Definition at line 538 of file G4VtkViewer.cc.
Referenced by DrawView().
|
overridevirtual |
Implements G4VViewer.
Definition at line 234 of file G4VtkViewer.cc.
|
virtual |
Definition at line 690 of file G4VtkViewer.cc.
void G4VtkViewer::DisableClipper | ( | ) |
Definition at line 632 of file G4VtkViewer.cc.
|
virtual |
Definition at line 644 of file G4VtkViewer.cc.
void G4VtkViewer::DisableCutter | ( | G4String | name | ) |
Definition at line 660 of file G4VtkViewer.cc.
|
virtual |
Definition at line 673 of file G4VtkViewer.cc.
void G4VtkViewer::DisableHUD | ( | ) |
Definition at line 616 of file G4VtkViewer.cc.
void G4VtkViewer::DisableShadows | ( | ) |
Definition at line 606 of file G4VtkViewer.cc.
void G4VtkViewer::DrawShadows | ( | ) |
Definition at line 282 of file G4VtkViewer.cc.
|
overridevirtual |
Implements G4VViewer.
Definition at line 248 of file G4VtkViewer.cc.
|
virtual |
Definition at line 685 of file G4VtkViewer.cc.
Definition at line 621 of file G4VtkViewer.cc.
|
virtual |
Reimplemented in G4VtkQtViewer.
Definition at line 639 of file G4VtkViewer.cc.
Referenced by EnableClipper(), and G4VtkQtViewer::EnableClipperWidget().
Definition at line 649 of file G4VtkViewer.cc.
|
virtual |
Definition at line 667 of file G4VtkViewer.cc.
Referenced by EnableCutter().
void G4VtkViewer::EnableHUD | ( | ) |
Definition at line 611 of file G4VtkViewer.cc.
void G4VtkViewer::EnableShadows | ( | ) |
Definition at line 601 of file G4VtkViewer.cc.
Definition at line 493 of file G4VtkViewer.cc.
void G4VtkViewer::ExportGLTFScene | ( | G4String | fileName | ) |
Definition at line 412 of file G4VtkViewer.cc.
void G4VtkViewer::ExportJSONRenderWindowScene | ( | G4String | ) |
Definition at line 420 of file G4VtkViewer.cc.
void G4VtkViewer::ExportOBJScene | ( | G4String | path | ) |
Definition at line 388 of file G4VtkViewer.cc.
Definition at line 342 of file G4VtkViewer.cc.
|
inline |
Definition at line 281 of file G4VtkViewer.hh.
void G4VtkViewer::ExportVRMLScene | ( | G4String | path | ) |
Definition at line 396 of file G4VtkViewer.cc.
void G4VtkViewer::ExportVTPCutter | ( | G4String | fileName | ) |
Definition at line 428 of file G4VtkViewer.cc.
void G4VtkViewer::ExportVTPScene | ( | G4String | path | ) |
Definition at line 404 of file G4VtkViewer.cc.
|
overridevirtual |
Reimplemented from G4VViewer.
Definition at line 322 of file G4VtkViewer.cc.
Referenced by DrawView().
|
overridevirtual |
Reimplemented from G4VViewer.
Definition at line 91 of file G4VtkViewer.cc.
Referenced by G4VtkOffscreenViewer::Initialise().
void G4VtkViewer::Print | ( | ) |
Definition at line 759 of file G4VtkViewer.cc.
|
inline |
Definition at line 270 of file G4VtkViewer.hh.
|
inline |
Definition at line 282 of file G4VtkViewer.hh.
void G4VtkViewer::SetPolyhedronPipeline | ( | const G4String & | t | ) |
Definition at line 772 of file G4VtkViewer.cc.
|
overridevirtual |
Implements G4VViewer.
Definition at line 156 of file G4VtkViewer.cc.
|
virtual |
Reimplemented in G4VtkQtViewer.
Definition at line 779 of file G4VtkViewer.cc.
Referenced by AddClipperPlaneWidget(), and AddCutterPlaneWidget().
|
overridevirtual |
Reimplemented from G4VViewer.
Definition at line 302 of file G4VtkViewer.cc.
|
inline |
Definition at line 271 of file G4VtkViewer.hh.
vtkRenderWindow* G4VtkViewer::_renderWindow |
Definition at line 290 of file G4VtkViewer.hh.
Referenced by DrawShadows(), ExportGLTFScene(), ExportJSONRenderWindowScene(), ExportOBJScene(), ExportScreenShot(), ExportVRMLScene(), ExportVTPScene(), G4VtkOffscreenViewer::FinishView(), G4VtkQtViewer::FinishView(), FinishView(), G4VtkOffscreenViewer::Initialise(), G4VtkQtViewer::Initialise(), Initialise(), Render(), SetWidgetInteractor(), and StartInteractor().
|
protected |
Definition at line 307 of file G4VtkViewer.hh.
|
protected |
Definition at line 306 of file G4VtkViewer.hh.
|
protected |
Definition at line 308 of file G4VtkViewer.hh.
|
protected |
Definition at line 309 of file G4VtkViewer.hh.
vtkNew<vtkCamera> G4VtkViewer::camera |
Definition at line 288 of file G4VtkViewer.hh.
Referenced by Initialise().
|
protected |
Definition at line 296 of file G4VtkViewer.hh.
Referenced by SetView().
|
protected |
Definition at line 304 of file G4VtkViewer.hh.
Referenced by AddCameraOrientationWidget(), DisableCameraOrientationWidget(), and EnableCameraOrientationWidget().
|
protected |
Definition at line 301 of file G4VtkViewer.hh.
Referenced by AddClipperPlaneWidget().
|
protected |
Definition at line 302 of file G4VtkViewer.hh.
Referenced by AddClipperPlaneWidget(), DisableClipperWidget(), and EnableClipperWidget().
|
protected |
Definition at line 298 of file G4VtkViewer.hh.
Referenced by AddCutterPlaneWidget(), and Print().
|
protected |
Definition at line 299 of file G4VtkViewer.hh.
Referenced by AddCutterPlaneWidget(), DisableCutterWidget(), and EnableCutterWidget().
|
protected |
Definition at line 295 of file G4VtkViewer.hh.
Referenced by FinishView().
|
protected |
Definition at line 294 of file G4VtkViewer.hh.
Referenced by SetView().
vtkNew<vtkGeant4Callback> G4VtkViewer::geant4Callback |
Definition at line 286 of file G4VtkViewer.hh.
Referenced by G4VtkQtViewer::Initialise(), Initialise(), SetView(), and ShowView().
vtkNew<vtkInfoCallback> G4VtkViewer::infoCallback |
Definition at line 285 of file G4VtkViewer.hh.
Referenced by AddViewHUD(), and ShowView().
vtkNew<vtkTextActor> G4VtkViewer::infoTextActor |
Definition at line 284 of file G4VtkViewer.hh.
Referenced by AddViewHUD(), DisableHUD(), EnableHUD(), and ShowView().
vtkSmartPointer<vtkLight> G4VtkViewer::light |
Definition at line 287 of file G4VtkViewer.hh.
vtkNew<vtkRenderer> G4VtkViewer::renderer |
Definition at line 289 of file G4VtkViewer.hh.
Referenced by AddCameraOrientationWidget(), AddViewHUD(), DisableShadows(), DrawShadows(), EnableShadows(), G4VtkClipClosedSurfacePipeline::G4VtkClipClosedSurfacePipeline(), G4VtkClipOpenPipeline::G4VtkClipOpenPipeline(), G4VtkCutterPipeline::G4VtkCutterPipeline(), G4VtkImagePipeline::G4VtkImagePipeline(), G4VtkPolydataInstanceAppendPipeline::G4VtkPolydataInstanceAppendPipeline(), G4VtkPolydataInstanceTensorPipeline::G4VtkPolydataInstanceTensorPipeline(), G4VtkPolydataPipeline::G4VtkPolydataPipeline(), G4VtkPolydataPolygonPipeline::G4VtkPolydataPolygonPipeline(), G4VtkPolydataPolyline2DPipeline::G4VtkPolydataPolyline2DPipeline(), G4VtkPolydataSpherePipeline::G4VtkPolydataSpherePipeline(), G4VtkText2DPipeline::G4VtkText2DPipeline(), G4VtkTextPipeline::G4VtkTextPipeline(), G4VtkUnstructuredGridPipeline::G4VtkUnstructuredGridPipeline(), G4VtkQtViewer::Initialise(), Initialise(), Print(), SetView(), and ShowView().
vtkRenderWindowInteractor* G4VtkViewer::renderWindowInteractor |
Definition at line 291 of file G4VtkViewer.hh.
Referenced by Initialise().