Import Geant4 11.2.2 source tree
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
#include "G4VisAttributes.hh"
|
||||
#include "G4VtkVisContext.hh"
|
||||
|
||||
#include "vtkRenderer.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkRenderer.h>
|
||||
|
||||
namespace std
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "G4VVtkPipeline.hh"
|
||||
|
||||
#include "vtkSmartPointer.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
class G4VtkVisContext;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "G4VVtkPipeline.hh"
|
||||
|
||||
#include "vtkSmartPointer.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
class G4VtkVisContext;
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@
|
||||
#include "G4Types.hh"
|
||||
#include "G4VVtkPipeline.hh"
|
||||
|
||||
#include "vtkImageData.h"
|
||||
#include "vtkImageReader2.h"
|
||||
#include "vtkImageReader2Factory.h"
|
||||
#include "vtkSmartPointer.h"
|
||||
#include <vtkImageData.h>
|
||||
#include <vtkImageReader2.h>
|
||||
#include <vtkImageReader2Factory.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -30,12 +30,12 @@
|
||||
#define G4VTKINTERACTORSTYLE_HH
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include "vtkInteractionStyleModule.h" // For export macro
|
||||
#include "vtkInteractorStyleMultiTouchCamera.h"
|
||||
#include <vtkInteractionStyleModule.h> // For export macro
|
||||
#include <vtkInteractorStyleMultiTouchCamera.h>
|
||||
#include <vtkObjectFactory.h>
|
||||
|
||||
// Define interaction style
|
||||
class VTKINTERACTIONSTYLE_EXPORT G4VtkInteractorStyle : public vtkInteractorStyleMultiTouchCamera
|
||||
class G4VtkInteractorStyle : public vtkInteractorStyleMultiTouchCamera
|
||||
{
|
||||
public:
|
||||
static G4VtkInteractorStyle* New();
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "G4Point3D.hh"
|
||||
#include "G4VVtkPipeline.hh"
|
||||
|
||||
#include "vtkSmartPointer.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -40,38 +40,44 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#ifndef WIN32
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wextra-semi"
|
||||
#include "vtkActor.h"
|
||||
#include "vtkBillboardTextActor3D.h"
|
||||
#include "vtkCleanPolyData.h"
|
||||
#include "vtkDoubleArray.h"
|
||||
#include "vtkFeatureEdges.h"
|
||||
#include "vtkFollower.h"
|
||||
#include "vtkGlyph2D.h"
|
||||
#include "vtkGlyph3D.h"
|
||||
#include "vtkImageData.h"
|
||||
#include "vtkLine.h"
|
||||
#include "vtkMatrix4x4.h"
|
||||
#include "vtkNamedColors.h"
|
||||
#include "vtkOpenGLGPUVolumeRayCastMapper.h"
|
||||
#include "vtkPointData.h"
|
||||
#include "vtkPolyData.h"
|
||||
#include "vtkPolyDataMapper.h"
|
||||
#include "vtkPolyDataNormals.h"
|
||||
#include "vtkProperty.h"
|
||||
#include "vtkRegularPolygonSource.h"
|
||||
#include "vtkScalarsToColors.h"
|
||||
#include "vtkSmartPointer.h"
|
||||
#include "vtkSphereSource.h"
|
||||
#include "vtkTensorGlyph.h"
|
||||
#include "vtkTensorGlyphColor.h"
|
||||
#include "vtkTextActor.h"
|
||||
#include "vtkTextProperty.h"
|
||||
#include "vtkTriangleFilter.h"
|
||||
#include "vtkVertexGlyphFilter.h"
|
||||
#include "vtkVolume.h"
|
||||
#endif
|
||||
|
||||
#include <vtkActor.h>
|
||||
#include <vtkBillboardTextActor3D.h>
|
||||
#include <vtkCleanPolyData.h>
|
||||
#include <vtkDoubleArray.h>
|
||||
#include <vtkFeatureEdges.h>
|
||||
#include <vtkFollower.h>
|
||||
#include <vtkGlyph2D.h>
|
||||
#include <vtkGlyph3D.h>
|
||||
#include <vtkImageData.h>
|
||||
#include <vtkLine.h>
|
||||
#include <vtkMatrix4x4.h>
|
||||
#include <vtkNamedColors.h>
|
||||
#include <vtkOpenGLGPUVolumeRayCastMapper.h>
|
||||
#include <vtkPointData.h>
|
||||
#include <vtkPolyData.h>
|
||||
#include <vtkPolyDataMapper.h>
|
||||
#include <vtkPolyDataNormals.h>
|
||||
#include <vtkProperty.h>
|
||||
#include <vtkRegularPolygonSource.h>
|
||||
#include <vtkScalarsToColors.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkSphereSource.h>
|
||||
#include <vtkTensorGlyph.h>
|
||||
#include <vtkTensorGlyphColor.h>
|
||||
#include <vtkTextActor.h>
|
||||
#include <vtkTextProperty.h>
|
||||
#include <vtkTriangleFilter.h>
|
||||
#include <vtkVertexGlyphFilter.h>
|
||||
#include <vtkVolume.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
class G4VtkSceneHandler : public G4VSceneHandler
|
||||
{
|
||||
|
||||
@@ -32,33 +32,33 @@
|
||||
#include "G4Transform3D.hh"
|
||||
#include "G4ViewParameters.hh"
|
||||
|
||||
#include "vtkActor.h"
|
||||
#include "vtkActor2D.h"
|
||||
#include "vtkCellArray.h"
|
||||
#include "vtkCellData.h"
|
||||
#include "vtkCleanPolyData.h"
|
||||
#include "vtkClipClosedSurface.h"
|
||||
#include "vtkClipPolyData.h"
|
||||
#include "vtkDataSetMapper.h"
|
||||
#include "vtkDoubleArray.h"
|
||||
#include "vtkFeatureEdges.h"
|
||||
#include "vtkNamedColors.h"
|
||||
#include "vtkPlane.h"
|
||||
#include "vtkPlaneCollection.h"
|
||||
#include "vtkPointData.h"
|
||||
#include "vtkPoints.h"
|
||||
#include "vtkPolyData.h"
|
||||
#include "vtkPolyDataAlgorithm.h"
|
||||
#include "vtkPolyDataMapper.h"
|
||||
#include "vtkPolyDataMapper2D.h"
|
||||
#include "vtkPolyDataNormals.h"
|
||||
#include "vtkProperty.h"
|
||||
#include "vtkRenderer.h"
|
||||
#include "vtkStripper.h"
|
||||
#include "vtkStructuredGrid.h"
|
||||
#include "vtkTensorGlyphColor.h"
|
||||
#include "vtkTriangleFilter.h"
|
||||
#include "vtkVertexGlyphFilter.h"
|
||||
#include <vtkActor.h>
|
||||
#include <vtkActor2D.h>
|
||||
#include <vtkCellArray.h>
|
||||
#include <vtkCellData.h>
|
||||
#include <vtkCleanPolyData.h>
|
||||
#include <vtkClipClosedSurface.h>
|
||||
#include <vtkClipPolyData.h>
|
||||
#include <vtkDataSetMapper.h>
|
||||
#include <vtkDoubleArray.h>
|
||||
#include <vtkFeatureEdges.h>
|
||||
#include <vtkNamedColors.h>
|
||||
#include <vtkPlane.h>
|
||||
#include <vtkPlaneCollection.h>
|
||||
#include <vtkPointData.h>
|
||||
#include <vtkPoints.h>
|
||||
#include <vtkPolyData.h>
|
||||
#include <vtkPolyDataAlgorithm.h>
|
||||
#include <vtkPolyDataMapper.h>
|
||||
#include <vtkPolyDataMapper2D.h>
|
||||
#include <vtkPolyDataNormals.h>
|
||||
#include <vtkProperty.h>
|
||||
#include <vtkRenderer.h>
|
||||
#include <vtkStripper.h>
|
||||
#include <vtkStructuredGrid.h>
|
||||
#include <vtkTensorGlyphColor.h>
|
||||
#include <vtkTriangleFilter.h>
|
||||
#include <vtkVertexGlyphFilter.h>
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
@@ -32,14 +32,16 @@
|
||||
#include "G4VVtkPipeline.hh"
|
||||
#include "G4PseudoScene.hh"
|
||||
|
||||
#include "vtkSmartPointer.h"
|
||||
#include "vtkPoints.h"
|
||||
#include "vtkCharArray.h"
|
||||
#include "vtkDoubleArray.h"
|
||||
#include "vtkUnstructuredGrid.h"
|
||||
#include "vtkStaticCleanUnstructuredGrid.h"
|
||||
#include "vtkLookupTable.h"
|
||||
#include "vtkDiscretizableColorTransferFunction.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
#include <vtkPoints.h>
|
||||
#include <vtkCharArray.h>
|
||||
#include <vtkDoubleArray.h>
|
||||
#include <vtkUnstructuredGrid.h>
|
||||
#if VTK_MINOR_VERSION >= 2
|
||||
#include <vtkStaticCleanUnstructuredGrid.h>
|
||||
#endif
|
||||
#include <vtkLookupTable.h>
|
||||
#include <vtkDiscretizableColorTransferFunction.h>
|
||||
|
||||
class vtkClipDataSet;
|
||||
class vtkDataSetMapper;
|
||||
@@ -171,7 +173,9 @@ class G4VtkUnstructuredGridPipeline : public G4VVtkPipeline
|
||||
|
||||
vtkSmartPointer<vtkUnstructuredGrid> unstructuredGrid;
|
||||
std::vector<vtkSmartPointer<vtkUnstructuredGridAlgorithm>> filters; // derived types can store filters in this vector
|
||||
#if VTK_MINOR_VERSION >= 2
|
||||
vtkSmartPointer<vtkStaticCleanUnstructuredGrid> clean;
|
||||
#endif
|
||||
vtkSmartPointer<vtkClipDataSet> clip;
|
||||
vtkSmartPointer<vtkDataSetMapper> mapper;
|
||||
vtkSmartPointer<vtkUnstructuredGridVolumeRayCastMapper> volumeMapper;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "G4Transform3D.hh"
|
||||
#include "G4Types.hh"
|
||||
|
||||
#include "vtkSmartPointer.h"
|
||||
#include <vtkSmartPointer.h>
|
||||
|
||||
class vtkMatrix4x4;
|
||||
class vtkPlane;
|
||||
|
||||
@@ -38,25 +38,30 @@
|
||||
#include "G4VtkStore.hh"
|
||||
#include "G4VtkUtility.hh"
|
||||
|
||||
#ifndef WIN32
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wextra-semi"
|
||||
#include "vtkAutoInit.h"
|
||||
#include "vtkCamera.h"
|
||||
#include "vtkCameraOrientationWidget.h"
|
||||
#include "vtkImplicitPlaneRepresentation.h"
|
||||
#include "vtkImplicitPlaneWidget2.h"
|
||||
#include "vtkInteractorStyleTerrain.h"
|
||||
#include "vtkInteractorStyleTrackballCamera.h"
|
||||
#include "vtkLight.h"
|
||||
#include "vtkNew.h"
|
||||
#include "vtkObject.h"
|
||||
#include "vtkPlane.h"
|
||||
#include "vtkRenderWindow.h"
|
||||
#include "vtkRenderWindowInteractor.h"
|
||||
#include "vtkRenderer.h"
|
||||
#include "vtkTextActor.h"
|
||||
#endif
|
||||
|
||||
#include <vtkAutoInit.h>
|
||||
#include <vtkCamera.h>
|
||||
#include <vtkCameraOrientationWidget.h>
|
||||
#include <vtkImplicitPlaneRepresentation.h>
|
||||
#include <vtkImplicitPlaneWidget2.h>
|
||||
#include <vtkInteractorStyleTerrain.h>
|
||||
#include <vtkInteractorStyleTrackballCamera.h>
|
||||
#include <vtkLight.h>
|
||||
#include <vtkNew.h>
|
||||
#include <vtkObject.h>
|
||||
#include <vtkPlane.h>
|
||||
#include <vtkRenderWindow.h>
|
||||
#include <vtkRenderWindowInteractor.h>
|
||||
#include <vtkRenderer.h>
|
||||
#include <vtkTextActor.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
VTK_MODULE_INIT(vtkRenderingOpenGL2)
|
||||
VTK_MODULE_INIT(vtkInteractionStyle);
|
||||
|
||||
@@ -84,10 +84,9 @@
|
||||
#ifndef vtkTensorGlyphColor_h
|
||||
#define vtkTensorGlyphColor_h
|
||||
|
||||
#include "vtkFiltersCoreModule.h" // For export macro
|
||||
#include "vtkPolyDataAlgorithm.h"
|
||||
#include <vtkPolyDataAlgorithm.h>
|
||||
|
||||
class VTKFILTERSCORE_EXPORT vtkTensorGlyphColor : public vtkPolyDataAlgorithm
|
||||
class vtkTensorGlyphColor : public vtkPolyDataAlgorithm
|
||||
{
|
||||
public:
|
||||
vtkTypeMacro(vtkTensorGlyphColor,
|
||||
|
||||
Reference in New Issue
Block a user