MCPcopy Create free account
hub / github.com/Kitware/ParaView / SetUseMipmapTextures

Method SetUseMipmapTextures

Remoting/Views/vtkHyperTreeGridRepresentation.cxx:801–813  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

799
800//----------------------------------------------------------------------------
801void vtkHyperTreeGridRepresentation::SetUseMipmapTextures(bool rep)
802{
803 if (this->Actor->GetTexture())
804 {
805 this->Actor->GetTexture()->SetMipmap(rep);
806 }
807 std::map<std::string, vtkTexture*>& tex = this->Actor->GetProperty()->GetAllTextures();
808 for (auto t : tex)
809 {
810 t.second->SetMipmap(rep);
811 }
812 this->UseMipmapTextures = rep;
813}
814
815//----------------------------------------------------------------------------
816// Mapper and LODMapper

Callers

nothing calls this directly

Calls 2

GetTextureMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected