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

Method Apply

Rendering/SceneGraph/vtkViewNode.cxx:194–215  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

192
193//------------------------------------------------------------------------------
194void vtkViewNode::Apply(int operation, bool prepass)
195{
196 // std::cerr << this->GetClassName() << "(" << this << ") Apply("
197 // << vtkViewNode::operation_type_strings[operation] << ")" << endl;
198 switch (operation)
199 {
200 case noop:
201 break;
202 case build:
203 this->Build(prepass);
204 break;
205 case synchronize:
206 this->Synchronize(prepass);
207 break;
208 case render:
209 this->Render(prepass);
210 break;
211 case invalidate:
212 this->Invalidate(prepass);
213 break;
214 }
215}
216
217//------------------------------------------------------------------------------
218vtkViewNode* vtkViewNode::GetViewNodeFor(vtkObject* obj)

Callers 4

TraverseMethod · 0.95
LoadCameraPoseMethod · 0.45
TraverseMethod · 0.45

Calls 4

RenderMethod · 0.65
BuildMethod · 0.45
SynchronizeMethod · 0.45
InvalidateMethod · 0.45

Tested by

no test coverage detected