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

Method SetRenderWindow

Rendering/OpenGL2/vtkOpenGLImageAlgorithmHelper.cxx:34–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void vtkOpenGLImageAlgorithmHelper::SetRenderWindow(vtkRenderWindow* renWin)
35{
36 if (renWin == this->RenderWindow.GetPointer())
37 {
38 return;
39 }
40
41 vtkOpenGLRenderWindow* orw = nullptr;
42 if (renWin)
43 {
44 orw = vtkOpenGLRenderWindow::SafeDownCast(renWin);
45 }
46
47 this->RenderWindow = orw;
48 this->Modified();
49}
50
51void vtkOpenGLImageAlgorithmHelper::Execute(vtkOpenGLImageAlgorithmCallback* cb,
52 vtkImageData* inImage, vtkDataArray* inArray, vtkImageData* outImage, int outExt[6],

Callers 15

ExecuteMethod · 0.95
~vtkEGLRenderWindowMethod · 0.45
WindowInitializeMethod · 0.45
WindowInitializeMethod · 0.45
CreateOffScreenWindowMethod · 0.45
WindowInitializeMethod · 0.45

Calls 2

GetPointerMethod · 0.45
ModifiedMethod · 0.45

Tested by 15

TestOpenXRInstantiationFunction · 0.36
TestOpenXRInteractiveBoxFunction · 0.36
TestOpenXRInitializationFunction · 0.36
TestOpenXRRenderingFunction · 0.36
TestOpenVRInteractiveBoxFunction · 0.36
TestOpenVRRenderingFunction · 0.36
TestOpenVRInitializationFunction · 0.36
TestAvatarFunction · 0.36