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

Method ~vtkLegendBoxActor

Rendering/Annotation/vtkLegendBoxActor.cxx:126–152  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

124
125//------------------------------------------------------------------------------
126vtkLegendBoxActor::~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//------------------------------------------------------------------------------
155void vtkLegendBoxActor::InitializeEntries()

Callers

nothing calls this directly

Calls 2

InitializeEntriesMethod · 0.95
DeleteMethod · 0.65

Tested by

no test coverage detected