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

Method SetRepeatTextures

Remoting/Views/vtkHyperTreeGridRepresentation.cxx:771–783  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

769
770//----------------------------------------------------------------------------
771void vtkHyperTreeGridRepresentation::SetRepeatTextures(bool rep)
772{
773 if (this->Actor->GetTexture())
774 {
775 this->Actor->GetTexture()->SetRepeat(rep);
776 }
777 std::map<std::string, vtkTexture*>& tex = this->Actor->GetProperty()->GetAllTextures();
778 for (auto t : tex)
779 {
780 t.second->SetRepeat(rep);
781 }
782 this->RepeatTextures = rep;
783}
784
785//----------------------------------------------------------------------------
786void vtkHyperTreeGridRepresentation::SetInterpolateTextures(bool rep)

Callers

nothing calls this directly

Calls 2

GetTextureMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected