| 211 | } |
| 212 | |
| 213 | void G4VtkPolydataPipeline::SetActorTransform(G4double dx, G4double dy, G4double dz, G4double r00, |
| 214 | G4double r01, G4double r02, G4double r10, |
| 215 | G4double r11, G4double r12, G4double r20, |
| 216 | G4double r21, G4double r22) |
| 217 | { |
| 218 | // create transform |
| 219 | auto transform = vtkSmartPointer<vtkMatrix4x4>::New(); |
| 220 | double transformArray[16] = {r00, r01, r02, dx, r10, r11, r12, dy, |
| 221 | r20, r21, r22, dz, 0., 0., 0., 1.}; |
| 222 | transform->DeepCopy(transformArray); |
| 223 | actor->SetUserMatrix(transform); |
| 224 | } |
| 225 | |
| 226 | void G4VtkPolydataPipeline::SetActorColour(G4double r, G4double g, G4double b, G4double a) |
| 227 | { |
no outgoing calls
no test coverage detected