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

Method HasTranslucentPolygonalGeometry

Rendering/Image/vtkImageStack.cxx:245–259  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Does this prop have some translucent polygonal geometry?

Source from the content-addressed store, hash-verified

243//------------------------------------------------------------------------------
244// Does this prop have some translucent polygonal geometry?
245vtkTypeBool vtkImageStack::HasTranslucentPolygonalGeometry()
246{
247 vtkCollectionSimpleIterator pit;
248 this->Images->InitTraversal(pit);
249 vtkImageSlice* image = nullptr;
250 while ((image = this->Images->GetNextImage(pit)) != nullptr)
251 {
252 if (image->HasTranslucentPolygonalGeometry())
253 {
254 return 1;
255 }
256 }
257
258 return 0;
259}
260
261//------------------------------------------------------------------------------
262// Assembly-like behavior

Callers

nothing calls this directly

Calls 2

GetNextImageMethod · 0.80
InitTraversalMethod · 0.45

Tested by

no test coverage detected