| 45 | } |
| 46 | |
| 47 | void mitk::ScaleLegendAnnotation::UpdateVtkAnnotation(mitk::BaseRenderer *renderer) |
| 48 | { |
| 49 | LocalStorage *ls = this->m_LSH.GetLocalStorage(renderer); |
| 50 | |
| 51 | if (ls->IsGenerateDataRequired(renderer, this)) |
| 52 | { |
| 53 | ls->m_legendScaleActor->SetRightAxisVisibility(this->GetRightAxisVisibility()); |
| 54 | ls->m_legendScaleActor->SetTopAxisVisibility(this->GetTopAxisVisibility()); |
| 55 | ls->m_legendScaleActor->SetLeftAxisVisibility(this->GetLeftAxisVisibility()); |
| 56 | ls->m_legendScaleActor->SetBottomAxisVisibility(this->GetBottomAxisVisibility()); |
| 57 | ls->m_legendScaleActor->SetLegendVisibility(this->GetLegendVisibility()); |
| 58 | ls->m_legendScaleActor->SetRightBorderOffset(this->GetRightBorderOffset()); |
| 59 | ls->m_legendScaleActor->SetLeftBorderOffset(this->GetLeftBorderOffset()); |
| 60 | ls->m_legendScaleActor->SetTopBorderOffset(this->GetTopBorderOffset()); |
| 61 | ls->m_legendScaleActor->SetBottomBorderOffset(this->GetBottomBorderOffset()); |
| 62 | ls->m_legendScaleActor->SetCornerOffsetFactor(this->GetCornerOffsetFactor()); |
| 63 | ls->m_legendScaleActor->GetLeftAxis()->SetFontFactor(this->GetFontFactor()); |
| 64 | ls->m_legendScaleActor->GetRightAxis()->SetFontFactor(this->GetFontFactor()); |
| 65 | ls->m_legendScaleActor->GetTopAxis()->SetFontFactor(this->GetFontFactor()); |
| 66 | ls->m_legendScaleActor->GetBottomAxis()->SetFontFactor(this->GetFontFactor()); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | vtkProp *mitk::ScaleLegendAnnotation::GetVtkProp(BaseRenderer *renderer) const |
| 71 | { |
nothing calls this directly
no test coverage detected