scaleSpinBox->setEnabled(0);
lutCheckBox->hide();
lutCheckBox->setEnabled(0);
- fusionShowLegendCheckBox->setChecked(true);
+ fusionShowLegendCheckBox->setChecked(false);
connect(subSamplingSpinBox,SIGNAL(editingFinished()),this,SLOT(setVFProperty()));
connect(scaleSpinBox,SIGNAL(editingFinished()),this,SLOT(setVFProperty()));
legend->SetVisibility(0);
legend->SetLabelFormat("%.1f");
this->GetRenderer()->AddActor(legend);
- showFusionLegend = true;
+ showFusionLegend = false;
this->WindowLevel->Delete();
this->WindowLevel = vvImageMapToWLColors::New();
//----------------------------------------------------------------------------
void vvSlicer::Render()
{
- if (this->mFusion && showFusionLegend) {
+ if (this->mFusion && mFusionActor->GetVisibility() && showFusionLegend) {
legend->SetLookupTable(this->GetFusionMapper()->GetLookupTable());
legend->UseOpacityOn();
legend->SetVisibility(1);
}
- else if (this->GetWindowLevel()->GetLookupTable()) {// && !this->mOverlay && !this->mFusion) {
+ else if (this->GetWindowLevel()->GetLookupTable() && !this->mOverlay) {
legend->SetLookupTable(this->GetWindowLevel()->GetLookupTable());
legend->UseOpacityOff();
legend->SetVisibility(1);