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

Method Initialize

Rendering/Annotation/vtkParallelCoordinatesActor.cxx:118–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

116//------------------------------------------------------------------------------
117// Free-up axes and related stuff
118void vtkParallelCoordinatesActor::Initialize()
119{
120 if (this->Axes)
121 {
122 for (int i = 0; i < this->N; i++)
123 {
124 this->Axes[i]->Delete();
125 }
126 delete[] this->Axes;
127 this->Axes = nullptr;
128 delete[] this->Mins;
129 this->Mins = nullptr;
130 delete[] this->Maxs;
131 this->Maxs = nullptr;
132 delete[] this->Xs;
133 this->Xs = nullptr;
134 }
135 this->N = 0;
136}
137
138//------------------------------------------------------------------------------
139void vtkParallelCoordinatesActor::SetInputConnection(vtkAlgorithmOutput* ao)

Callers 2

PlaceAxesMethod · 0.95

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected