A detector can be used even if no solid angle was given.
Implement setDetector.