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

Method MagnifyImage

Rendering/Parallel/vtkParallelRenderManager.cxx:1376–1391  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1374
1375//------------------------------------------------------------------------------
1376void vtkParallelRenderManager::MagnifyImage(vtkUnsignedCharArray* fullImage,
1377 const int fullImageSize[2], vtkUnsignedCharArray* reducedImage, const int reducedImageSize[2],
1378 const int fullImageViewport[4], const int reducedImageViewport[4])
1379{
1380 switch (this->MagnifyImageMethod)
1381 {
1382 case vtkParallelRenderManager::NEAREST:
1383 this->MagnifyImageNearest(fullImage, fullImageSize, reducedImage, reducedImageSize,
1384 fullImageViewport, reducedImageViewport);
1385 break;
1386 case LINEAR:
1387 this->MagnifyImageLinear(fullImage, fullImageSize, reducedImage, reducedImageSize,
1388 fullImageViewport, reducedImageViewport);
1389 break;
1390 }
1391}
1392
1393//------------------------------------------------------------------------------
1394void vtkParallelRenderManager::MagnifyReducedImage()

Callers 1

MagnifyReducedImageMethod · 0.95

Calls 2

MagnifyImageNearestMethod · 0.95
MagnifyImageLinearMethod · 0.95

Tested by

no test coverage detected