32#include <vtkDataArray.h>
33#include <vtkDoubleArray.h>
34#include <vtkPointData.h>
35#include <vtkPolyData.h>
36#include <vtkPolyDataMapper.h>
37#include <vtkProperty.h>
47 std::size_t vhash = 0;
50 std::size_t phash = std::hash<G4Polyhedron>{}(polyhedron);
89 actor->SetVisibility(1);
92 actor->GetProperty()->SetAmbient(0.2);
93 actor->GetProperty()->SetDiffuse(0.7);
94 actor->GetProperty()->SetSpecular(0.1);
95 actor->GetProperty()->SetSpecularPower(1);
G4GLOB_DLL std::ostream G4cout
void SetTypeName(G4String typeNameIn)
G4VtkPolydataInstancePipeline(G4String name, const G4VtkVisContext &vc)
vtkSmartPointer< vtkPoints > instancePosition
vtkSmartPointer< vtkDoubleArray > instanceColour
vtkSmartPointer< vtkDoubleArray > instanceTransform
G4VtkPolydataInstanceTensorPipeline(G4String name, const G4VtkVisContext &vc)
static std::size_t MakeHash(const G4Polyhedron &p, const G4VtkVisContext &vc)
vtkSmartPointer< vtkPolyData > instancePolydata
vtkSmartPointer< vtkTensorGlyphColor > instanceTensorGlyph
vtkSmartPointer< vtkPolyDataAlgorithm > GetFinalFilter()
vtkSmartPointer< vtkActor > actor
vtkSmartPointer< vtkPolyDataMapper > mapper
virtual vtkSmartPointer< vtkActor > GetActor()
void AddFilter(vtkSmartPointer< vtkPolyDataAlgorithm > f)
void hash_combine(std::size_t)