The variations in the displacement and shape alterations of the heart and its substructures during cardiac motion under various respiratory states are significant. When assessing the dose-volume index of the heart and its substructures during radiotherapy for thoracic tumors, it is essential to account for the combined impacts of cardiac motion and respiration.