void DialogTransformVolume::closeEvent(QCloseEvent *e)
{
  LayerLandmarks* landmarks = (LayerLandmarks*)MainWindow::GetMainWindow()
                              ->GetSupplementLayer("Landmarks");
  if (landmarks)
    landmarks->SetVisible(false);
  QDialog::closeEvent(e);
}
void DialogTransformVolume::OnRadioButtonLandmark(bool bChecked)
{
  if (!bChecked)
  {
    for (int i = 0; i < m_btnPickLandmark.size(); i++)
      this->m_btnPickLandmark[i]->setChecked(false);
  }
  LayerLandmarks* landmarks = (LayerLandmarks*)MainWindow::GetMainWindow()
                              ->GetSupplementLayer("Landmarks");
  if (landmarks)
    landmarks->SetVisible(bChecked);
}