------------------------------------------------------------------------------ Free-up axes and related stuff
| 178 | //------------------------------------------------------------------------------ |
| 179 | // Free-up axes and related stuff |
| 180 | void vtkPieChartActor::Initialize() |
| 181 | { |
| 182 | if (this->PieceActors) |
| 183 | { |
| 184 | for (int i = 0; i < this->N; i++) |
| 185 | { |
| 186 | this->PieceMappers[i]->Delete(); |
| 187 | this->PieceActors[i]->Delete(); |
| 188 | } |
| 189 | delete[] this->PieceMappers; |
| 190 | this->PieceMappers = nullptr; |
| 191 | delete[] this->PieceActors; |
| 192 | this->PieceActors = nullptr; |
| 193 | } |
| 194 | |
| 195 | this->N = 0; |
| 196 | this->Total = 0.0; |
| 197 | delete[] this->Fractions; |
| 198 | } |
| 199 | |
| 200 | //------------------------------------------------------------------------------ |
| 201 | // Plot scalar data for each input dataset. |
no test coverage detected