26#ifndef G4VTKIMAGEPIPELINE_HH
27#define G4VTKIMAGEPIPELINE_HH
33#include <vtkImageData.h>
34#include <vtkImageReader2.h>
35#include <vtkImageReader2Factory.h>
36#include <vtkSmartPointer.h>
40class vtkImageAlgorithm;
57 childPipelines.push_back(child);
58 if (child->GetDisableParent()) {
67 void Print()
override;
69 void Clear()
override;
77 std::vector<vtkSmartPointer<vtkImageAlgorithm>>
79 std::vector<G4VtkImagePipeline*> childPipelines;
vtkSmartPointer< vtkImageAlgorithm > GetFilter(G4int iFilter)
G4VtkImagePipeline * GetChildPipeline(G4int iPipeline)
G4VtkImagePipeline(const G4String &name, const G4VtkVisContext &vc)
virtual void SetTransformation(const G4Transform3D &transformation)
virtual vtkSmartPointer< vtkImageActor > GetActor()
void AddFilter(vtkSmartPointer< vtkImageAlgorithm > f)
vtkSmartPointer< vtkImageAlgorithm > GetFinalFilter()
~G4VtkImagePipeline() override=default
void AddChildPipeline(G4VtkImagePipeline *child)
virtual void SetImage(const G4String &fileName)