Ejemplo n.º 1
0
void DialogTransformVolume::closeEvent(QCloseEvent *e)
{
  LayerLandmarks* landmarks = (LayerLandmarks*)MainWindow::GetMainWindow()
                              ->GetSupplementLayer("Landmarks");
  if (landmarks)
    landmarks->SetVisible(false);
  QDialog::closeEvent(e);
}
Ejemplo n.º 2
0
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);
}