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

Method MasterStartRender

Rendering/Parallel/vtkSynchronizedRenderWindows.cxx:197–217  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

195
196//------------------------------------------------------------------------------
197void vtkSynchronizedRenderWindows::MasterStartRender()
198{
199 if (this->RenderEventPropagation)
200 {
201 vtkMultiProcessStream stream;
202 stream << this->Identifier;
203
204 std::vector<unsigned char> data;
205 stream.GetRawData(data);
206
207 this->ParallelController->TriggerRMIOnAllChildren(
208 data.data(), static_cast<int>(data.size()), SYNC_RENDER_TAG);
209 }
210
211 RenderWindowInfo windowInfo;
212 windowInfo.CopyFrom(this->RenderWindow);
213
214 vtkMultiProcessStream stream;
215 windowInfo.Save(stream);
216 this->ParallelController->Broadcast(stream, this->RootProcessId);
217}
218
219//------------------------------------------------------------------------------
220void vtkSynchronizedRenderWindows::SlaveStartRender()

Callers 1

HandleStartRenderMethod · 0.95

Calls 7

GetRawDataMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
CopyFromMethod · 0.45
SaveMethod · 0.45
BroadcastMethod · 0.45

Tested by

no test coverage detected