MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkBarChartActor

Method ~vtkBarChartActor

Rendering/Annotation/vtkBarChartActor.cxx:120–150  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

118
119//------------------------------------------------------------------------------
120vtkBarChartActor::~vtkBarChartActor()
121{
122 if (this->Input)
123 {
124 this->Input->Delete();
125 this->Input = nullptr;
126 }
127
128 delete[] this->Title;
129 this->Title = nullptr;
130
131 delete this->Labels;
132 this->SetLabelTextProperty(nullptr);
133 this->SetTitleTextProperty(nullptr);
134
135 this->GlyphSource->Delete();
136
137 this->Initialize();
138
139 this->TitleMapper->Delete();
140 this->TitleMapper = nullptr;
141 this->TitleActor->Delete();
142 this->TitleActor = nullptr;
143
144 this->YAxis->Delete();
145 delete[] this->YTitle;
146
147 this->PlotData->Delete();
148 this->PlotMapper->Delete();
149 this->PlotActor->Delete();
150}
151
152//------------------------------------------------------------------------------
153// Free-up axes and related stuff

Callers

nothing calls this directly

Calls 4

InitializeMethod · 0.95
DeleteMethod · 0.65
SetLabelTextPropertyMethod · 0.45
SetTitleTextPropertyMethod · 0.45

Tested by

no test coverage detected