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

Method Execute

Examples/GUI/QML/QtQuickBoxWidget/main.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 {
40 static Callback* New();
41 void Execute(vtkObject* caller, unsigned long, void*) override
42 {
43 vtkNew<vtkTransform> t;
44 auto widget = reinterpret_cast<vtkBoxWidget*>(caller);
45 widget->GetTransform(t);
46 widget->GetProp3D()->SetUserTransform(t);
47 }
48 };
49
50 vtkUserData initializeVTK(vtkRenderWindow* renderWindow) override

Callers

nothing calls this directly

Calls 3

GetTransformMethod · 0.45
SetUserTransformMethod · 0.45
GetProp3DMethod · 0.45

Tested by

no test coverage detected