Make pointer casts explicit (needed for c6678)
remove ToHSDFVisitor