33#ifndef G4VTKSCENEHANDLER_HH
34#define G4VTKSCENEHANDLER_HH
43#pragma GCC diagnostic push
44#pragma GCC diagnostic ignored "-Wextra-semi"
45#include "vtkSmartPointer.h"
46#include "vtkPolyData.h"
48#include "vtkNamedColors.h"
49#include "vtkProperty.h"
50#include "vtkTextProperty.h"
51#include "vtkPolyDataMapper.h"
53#include "vtkFollower.h"
54#include "vtkTextActor.h"
55#include "vtkBillboardTextActor3D.h"
56#include "vtkRegularPolygonSource.h"
57#include "vtkSphereSource.h"
58#include "vtkFeatureEdges.h"
59#include "vtkCleanPolyData.h"
60#include "vtkPolyDataNormals.h"
61#include "vtkGlyph2D.h"
62#include "vtkGlyph3D.h"
63#include "vtkVertexGlyphFilter.h"
64#include "vtkMatrix4x4.h"
65#include "vtkDoubleArray.h"
66#include "vtkPointData.h"
67#include "vtkTriangleFilter.h"
68#include "vtkTensorGlyph.h"
70#include "vtkScalarsToColors.h"
71#include "vtkImageData.h"
73#include "vtkOpenGLGPUVolumeRayCastMapper.h"
74#pragma GCC diagnostic pop
100 G4cout <<
"=================================" <<
G4endl;
101 G4cout <<
"G4VtkSceneHandler::AddPrimitive(const G4Polymarker& polymarker) called." <<
G4endl;
G4GLOB_DLL std::ostream G4cout
virtual void AddPrimitive(const G4Polyline &)=0
std::map< std::size_t, vtkSmartPointer< vtkPolyDataMapper > > polylinePolyDataMapperMap
std::map< std::size_t, vtkSmartPointer< vtkCellArray > > polylineLineMap
std::map< std::size_t, vtkSmartPointer< vtkVertexGlyphFilter > > circleFilterMap
std::map< std::size_t, vtkSmartPointer< vtkVertexGlyphFilter > > squareFilterMap
std::map< std::size_t, vtkSmartPointer< vtkPolyData > > instancePolyDataMap
std::map< std::size_t, vtkSmartPointer< vtkPolyData > > circlePolyDataMap
std::map< std::size_t, const G4VisAttributes * > polylineVisAttributesMap
void AddPrimitive(const G4Polymarker &polymarker)
std::map< std::size_t, vtkSmartPointer< vtkDoubleArray > > instanceColoursMap
std::map< std::size_t, vtkSmartPointer< vtkDoubleArray > > instanceRotationMap
std::map< std::size_t, vtkSmartPointer< vtkPoints > > instancePositionMap
std::map< std::size_t, vtkSmartPointer< vtkPoints > > circleDataMap
void AddPrimitiveBakedTransform(const G4Polyhedron &)
std::map< std::size_t, vtkSmartPointer< vtkPolyData > > polylinePolyDataMap
static G4int fSceneIdCount
std::map< std::size_t, vtkSmartPointer< vtkPoints > > squareDataMap
std::map< std::size_t, vtkSmartPointer< vtkPolyData > > polyhedronPolyDataMap
void AddPrimitive(const G4Polyline &)
std::map< std::size_t, std::size_t > polyhedronPolyDataCountMap
std::map< std::size_t, const G4VisAttributes * > squareVisAttributesMap
std::map< std::size_t, vtkSmartPointer< vtkPolyDataMapper > > circlePolyDataMapperMap
std::map< std::size_t, vtkSmartPointer< vtkActor > > instanceActorMap
std::map< std::size_t, vtkSmartPointer< vtkCellArray > > polyhedronPolyMap
std::map< std::size_t, const G4VisAttributes * > polyhedronVisAttributesMap
std::map< std::size_t, vtkSmartPointer< vtkActor > > squarePolyDataActorMap
std::map< std::size_t, vtkSmartPointer< vtkPolyDataMapper > > squarePolyDataMapperMap
virtual ~G4VtkSceneHandler()=default
void AddSolid(const G4Box &box)
std::map< std::size_t, vtkSmartPointer< vtkPolyData > > squarePolyDataMap
void AddPrimitiveTensorGlyph(const G4Polyhedron &)
std::map< std::size_t, vtkSmartPointer< vtkTensorGlyphColor > > instanceTensorGlyphMap
std::map< std::size_t, vtkSmartPointer< vtkActor > > polylinePolyDataActorMap
std::map< std::size_t, const G4VisAttributes * > circleVisAttributesMap
std::map< std::size_t, vtkSmartPointer< vtkActor > > circlePolyDataActorMap
std::map< std::size_t, vtkSmartPointer< vtkPoints > > polylineDataMap
void AddCompound(const G4Mesh &mesh)
std::map< std::size_t, vtkSmartPointer< vtkPoints > > polyhedronDataMap