------------------------------------------------------------------------------
| 124 | |
| 125 | //------------------------------------------------------------------------------ |
| 126 | vtkLegendBoxActor::~vtkLegendBoxActor() |
| 127 | { |
| 128 | this->InitializeEntries(); |
| 129 | |
| 130 | if (this->BorderActor) |
| 131 | { |
| 132 | this->BorderActor->Delete(); |
| 133 | this->BorderMapper->Delete(); |
| 134 | this->BorderPolyData->Delete(); |
| 135 | } |
| 136 | |
| 137 | if (this->BoxActor) |
| 138 | { |
| 139 | this->BoxActor->Delete(); |
| 140 | this->BoxMapper->Delete(); |
| 141 | this->BoxPolyData->Delete(); |
| 142 | } |
| 143 | |
| 144 | if (this->BackgroundActor) |
| 145 | { |
| 146 | this->BackgroundActor->Delete(); |
| 147 | this->BackgroundMapper->Delete(); |
| 148 | this->Background->Delete(); |
| 149 | } |
| 150 | |
| 151 | this->SetEntryTextProperty(nullptr); |
| 152 | } |
| 153 | |
| 154 | //------------------------------------------------------------------------------ |
| 155 | void vtkLegendBoxActor::InitializeEntries() |
nothing calls this directly
no test coverage detected