MCPcopy Create free account
hub / github.com/Kitware/VTK / Initialize

Method Initialize

Rendering/Annotation/vtkSpiderPlotActor.cxx:203–227  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Free-up axes and related stuff

Source from the content-addressed store, hash-verified

201//------------------------------------------------------------------------------
202// Free-up axes and related stuff
203void vtkSpiderPlotActor::Initialize()
204{
205 if (this->LabelActors)
206 {
207 for (int i = 0; i < this->N; i++)
208 {
209 this->LabelMappers[i]->Delete();
210 this->LabelActors[i]->Delete();
211 }
212 delete[] this->LabelMappers;
213 this->LabelMappers = nullptr;
214 delete[] this->LabelActors;
215 this->LabelActors = nullptr;
216 }
217
218 if (this->Mins)
219 {
220 delete[] this->Mins;
221 this->Mins = nullptr;
222 delete[] this->Maxs;
223 this->Maxs = nullptr;
224 }
225
226 this->N = 0;
227}
228
229//------------------------------------------------------------------------------
230// Plot scalar data for each input dataset.

Callers 2

~vtkSpiderPlotActorMethod · 0.95
PlaceAxesMethod · 0.95

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected