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

Method SetRepeatTextures

Remoting/Views/vtkGeometryRepresentation.cxx:1300–1312  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1298
1299//----------------------------------------------------------------------------
1300void vtkGeometryRepresentation::SetRepeatTextures(bool rep)
1301{
1302 if (this->Actor->GetTexture())
1303 {
1304 this->Actor->GetTexture()->SetRepeat(rep);
1305 }
1306 std::map<std::string, vtkTexture*>& tex = this->Actor->GetProperty()->GetAllTextures();
1307 for (auto t : tex)
1308 {
1309 t.second->SetRepeat(rep);
1310 }
1311 this->RepeatTextures = rep;
1312}
1313
1314void vtkGeometryRepresentation::SetInterpolateTextures(bool rep)
1315{

Callers

nothing calls this directly

Calls 2

GetTextureMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected