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

Method ClearMappers

Rendering/VolumeOpenGL2/vtkMultiBlockVolumeMapper.cxx:382–396  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

380
381//------------------------------------------------------------------------------
382void vtkMultiBlockVolumeMapper::ClearMappers()
383{
384 MapperVec::const_iterator end = this->Mappers.end();
385 for (MapperVec::const_iterator it = this->Mappers.begin(); it != end; ++it)
386 {
387 (*it)->Delete();
388 }
389 this->Mappers.clear();
390
391 if (this->FallBackMapper)
392 {
393 this->FallBackMapper->Delete();
394 this->FallBackMapper = nullptr;
395 }
396}
397
398//------------------------------------------------------------------------------
399void vtkMultiBlockVolumeMapper::SelectScalarArray(int arrayNum)

Callers 2

LoadDataSetMethod · 0.95

Calls 4

DeleteMethod · 0.65
endMethod · 0.45
beginMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected