  A generalized contour deformation method (GCDM) which combines complex
rotation and translation in momentum space, is discussed. GCDM gives accurate
results for bound, virtual (antibound), resonant and scattering states starting
with a realistic nucleon-nucleon interaction. It provides a basis for full
off-shell $t$-matrix calculations both for real and complex input energies.
Results for both spectral structures and scattering amplitudes compare
perfectly well with exact values for the separable Yamaguchi potential.
Accurate calculation of virtual states in the Malfliet-Tjon and the realistic
CD-Bonn nucleon-nucleon interactions are presented.
  GCDM is also a promising method for the computation of in-medium properties
such as the resummation of particle-particle and particle-hole diagrams in
infinite nuclear matter. Implications for in-medium scattering are discussed.
