The interactive Medical Simulation Toolkit (iMSTK) is a solution designed to support the prototyping of virtual medical trainers and planners. It provides end-to-end application development services by offering components for medical simulators such as physics-based simulation, haptic feedback, collision detection and response, external tracking and virtual reality support, and real-time rendering and visualization techniques.