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

Method vtkRenderWindow

Rendering/Core/vtkRenderWindow.cxx:34–80  ·  view source on GitHub ↗

Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on, positioned at (0,0), double buffering turned on, stereo capable off.

Source from the content-addressed store, hash-verified

32// set to 300x300, borders turned on, positioned at (0,0), double
33// buffering turned on, stereo capable off.
34vtkRenderWindow::vtkRenderWindow()
35{
36 this->Borders = 1;
37 this->Coverable = 0;
38 this->FullScreen = 0;
39 this->OldScreen[0] = this->OldScreen[1] = 0;
40 this->OldScreen[2] = this->OldScreen[3] = 300;
41 this->OldScreen[4] = 1;
42 this->DoubleBuffer = 1;
43 this->PointSmoothing = 0;
44 this->LineSmoothing = 0;
45 this->PolygonSmoothing = 0;
46 this->StereoRender = 0;
47 this->StereoType = VTK_STEREO_RED_BLUE;
48 this->StereoCapableWindow = 0;
49 this->AlphaBitPlanes = 0;
50 this->StencilCapable = 0;
51 this->Interactor = nullptr;
52 this->DesiredUpdateRate = 0.0001;
53 this->StereoBuffer = vtkSmartPointer<vtkUnsignedCharArray>::New();
54 this->ResultFrame = vtkSmartPointer<vtkUnsignedCharArray>::New();
55 this->SwapBuffers = 1;
56 this->AbortRender = 0;
57 this->InAbortCheck = 0;
58 this->InRender = 0;
59 this->NeverRendered = 1;
60 this->Renderers = vtkRendererCollection::New();
61 this->NumberOfLayers = 1;
62 this->CurrentCursor = VTK_CURSOR_DEFAULT;
63 this->AnaglyphColorSaturation = 0.65f;
64 this->AnaglyphColorMask[0] = 4; // red
65 this->AnaglyphColorMask[1] = 3; // cyan
66
67 this->AbortCheckTime = 0.0;
68 this->CapturingGL2PSSpecialProps = 0;
69 this->MultiSamples = 0;
70 this->UseSRGBColorSpace = false;
71
72#ifdef VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN
73 this->ShowWindow = false;
74 this->UseOffScreenBuffers = true;
75#endif
76 this->DeviceIndex = 0;
77 this->SharedRenderWindow = nullptr;
78
79 this->CursorFileName = nullptr;
80}
81
82//------------------------------------------------------------------------------
83vtkRenderWindow::~vtkRenderWindow()

Callers 9

runCaseMethod · 0.80
render_datasetFunction · 0.80

Calls 1

NewFunction · 0.70

Tested by 1

runCaseMethod · 0.64