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

Method RenderTexture

Rendering/VolumeOpenGL2/vtkOpenGLRayCastImageDisplayHelper.cxx:66–72  ·  view source on GitHub ↗

------------------------------------------------------------------------------ imageMemorySize is how big the texture is - this is always a power of two imageViewportSize is how big the renderer viewport is in pixels imageInUseSize is the rendered image - equal or smaller than imageMemorySize and imageViewportSize imageOrigin is the starting pixel of the imageInUseSize image on the t

Source from the content-addressed store, hash-verified

64// the imageViewportSize viewport
65//
66void vtkOpenGLRayCastImageDisplayHelper::RenderTexture(
67 vtkVolume* vol, vtkRenderer* ren, vtkFixedPointRayCastImage* image, float requestedDepth)
68{
69 this->RenderTextureInternal(vol, ren, image->GetImageMemorySize(), image->GetImageViewportSize(),
70 image->GetImageInUseSize(), image->GetImageOrigin(), requestedDepth, VTK_UNSIGNED_SHORT,
71 image->GetImage());
72}
73
74//------------------------------------------------------------------------------
75void vtkOpenGLRayCastImageDisplayHelper::RenderTexture(vtkVolume* vol, vtkRenderer* ren,

Callers 3

DisplayRenderedImageMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80

Calls 2

RenderTextureInternalMethod · 0.95
GetImageMethod · 0.45

Tested by

no test coverage detected