26#ifndef G4VVTKPIPELINE_HH
27#define G4VVTKPIPELINE_HH
35#include <vtkSmartPointer.h>
36#include <vtkRenderer.h>
42template<
typename T,
typename... Rest>
43inline void hash_combine(std::size_t& seed,
const T& v, Rest... rest)
46 seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
60 for (
char const& c : strng) {
107 notLastFace = ph.
GetNextFacet(nEdges, vertex, edgeFlag, normals);
109 for (
int i = 0; i < nEdges; i++) {
110 std::size_t hx = std::hash<double>()(vertex[i].
x());
111 std::size_t hy = std::hash<double>()(vertex[i].
y());
112 std::size_t hz = std::hash<double>()(vertex[i].
z());
117 }
while (notLastFace);
130 G4bool disableParentIn =
false,
147 G4cout << i->GetName() <<
"-" << i->GetTypeName() <<
",";
G4GLOB_DLL std::ostream G4cout
G4double GetAlpha() const
G4double GetGreen() const
std::vector< G4VVtkPipeline * > childPipelines
void SetTypeName(G4String typeNameIn)
G4VVtkPipeline * GetChildPipeline(G4int iPipeline)
G4int GetNumberOfChildPipelines()
vtkSmartPointer< vtkRenderer > renderer
void AddChildPipeline(G4VVtkPipeline *child)
void ClearChildPipeline()
void SetDisableParent(G4bool disableParentIn)
void SetName(G4String nameIn)
std::vector< G4VVtkPipeline * > GetChildPipelines()
G4VtkVisContext & GetVtkVisContext()
G4VVtkPipeline(G4String nameIn, G4String typeIn, const G4VtkVisContext &vcIn, G4bool disableParentIn=false, vtkSmartPointer< vtkRenderer > rendererIn=nullptr)
virtual ~G4VVtkPipeline()
G4bool IsDaughtersInvisible() const
LineStyle GetLineStyle() const
const G4Colour & GetColour() const
G4bool GetNextFacet(G4int &n, G4Point3D *nodes, G4int *edgeFlags=nullptr, G4Normal3D *normals=nullptr) const
void hash_combine(std::size_t)
std::size_t operator()(const G4Polyhedron &ph) const
std::size_t operator()(const G4String &strng) const
std::size_t operator()(const G4VisAttributes &va) const