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

Method ~vtkCornerAnnotation

Rendering/Annotation/vtkCornerAnnotation.cxx:67–80  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

65
66//------------------------------------------------------------------------------
67vtkCornerAnnotation::~vtkCornerAnnotation()
68{
69 this->SetTextProperty(nullptr);
70
71 for (int i = 0; i < NumTextPositions; i++)
72 {
73 delete[] this->CornerText[i];
74 this->TextMapper[i]->Delete();
75 this->TextActor[i]->Delete();
76 }
77
78 this->SetWindowLevel(nullptr);
79 this->SetImageActor(nullptr);
80}
81
82//------------------------------------------------------------------------------
83// Release any graphics resources that are being consumed by this actor.

Callers

nothing calls this directly

Calls 3

DeleteMethod · 0.65
SetTextPropertyMethod · 0.45
SetWindowLevelMethod · 0.45

Tested by

no test coverage detected