47 plane->SetOrigin(0, 0, 0);
48 plane->SetNormal(0, 1, 0);
52 cutter->SetCutFunction(plane);
53 cutter->SetInputConnection(filter->GetOutputPort());
57 mapper->SetInputConnection(cutter->GetOutputPort());
58 mapper->SetColorModeToDirectScalars();
59 mapper->ScalarVisibilityOn();
63 actor->SetMapper(mapper);
64 actor->SetVisibility(1);
67 actor->GetProperty()->SetAmbient(1);
68 actor->GetProperty()->SetDiffuse(1);
69 actor->GetProperty()->SetSpecular(0.0);
70 actor->GetProperty()->SetSpecularPower(0);
72 actor->GetProperty()->SetLineWidth(10);
76 actor->GetProperty()->SetOpacity(
vc.
alpha);
void TransformPlane(G4double dx, G4double dy, G4double dz, G4double r00, G4double r01, G4double r02, G4double r10, G4double r11, G4double r12, G4double r20, G4double r21, G4double r22)
const G4VtkViewer * fViewer