MCPcopy Create free account
hub / github.com/Geant4/geant4 / AddNonG4ObjectImage

Method AddNonG4ObjectImage

source/visualization/Vtk/src/G4VtkStore.cc:731–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729void G4VtkStore::RemoveCutter(G4String /*nameIn*/) {}
730
731void G4VtkStore::AddNonG4ObjectImage(const G4String& fileName, const G4VtkVisContext& vc)
732{
733 auto pl = std::make_shared<G4VtkImagePipeline>(G4String("name"), vc);
734 pl->SetImage(fileName);
735 imagePipeMap.insert(std::make_pair(fileName, pl));
736}
737
738void G4VtkStore::AddNonG4ObjectPolydata(const G4String fileName, const G4VtkVisContext& vc)
739{

Callers 1

AddImageOverlayMethod · 0.80

Calls 3

SetImageMethod · 0.80
G4StringClass · 0.50
insertMethod · 0.45

Tested by

no test coverage detected