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

Method ClearColorArrays

Rendering/Core/vtkMapper.cxx:1073–1090  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1071
1072//-------------------------------------------------------------------
1073void vtkMapper::ClearColorArrays()
1074{
1075 if (this->Colors)
1076 {
1077 this->Colors->Delete();
1078 this->Colors = nullptr;
1079 }
1080 if (this->ColorCoordinates)
1081 {
1082 this->ColorCoordinates->Delete();
1083 this->ColorCoordinates = nullptr;
1084 }
1085 if (this->ColorTextureMap)
1086 {
1087 this->ColorTextureMap->Delete();
1088 this->ColorTextureMap = nullptr;
1089 }
1090}
1091
1092//-------------------------------------------------------------------
1093vtkUnsignedCharArray* vtkMapper::GetColorMapColors()

Callers 2

RenderBlockMethod · 0.80
SynchronizeBlockMethod · 0.80

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected