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

Method Execute

Rendering/Core/vtkCamera.cxx:34–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 static vtkCameraCallbackCommand* New() { return new vtkCameraCallbackCommand; }
33 vtkCamera* Self;
34 void Execute(vtkObject*, unsigned long, void*) override
35 {
36 if (this->Self)
37 {
38 this->Self->Modified();
39 this->Self->ComputeViewTransform();
40 this->Self->ComputeDistance();
41 this->Self->ComputeCameraLightTransform();
42 }
43 }
44
45protected:
46 vtkCameraCallbackCommand() { this->Self = nullptr; }

Callers

nothing calls this directly

Calls 4

ComputeDistanceMethod · 0.80
ModifiedMethod · 0.45
ComputeViewTransformMethod · 0.45

Tested by

no test coverage detected