abstracting out a handler for visuals in OSG