MCPcopy Create free account
hub / github.com/Kitware/ParaView / SetModelTransformMatrix

Method SetModelTransformMatrix

Remoting/Views/vtkPVGridAxes3DActor.cxx:48–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

46
47//----------------------------------------------------------------------------
48void vtkPVGridAxes3DActor::SetModelTransformMatrix(double* matrix)
49{
50 if (!std::equal(matrix, matrix + 16, &this->ModelTransformMatrix->Element[0][0]))
51 {
52 std::copy(matrix, matrix + 16, &this->ModelTransformMatrix->Element[0][0]);
53 this->ModelTransformMatrix->Modified();
54 this->Modified();
55 }
56}
57
58//----------------------------------------------------------------------------
59void vtkPVGridAxes3DActor::Update(vtkViewport* viewport)

Callers 2

ShallowCopyMethod · 0.95

Calls 2

equalFunction · 0.50
ModifiedMethod · 0.45

Tested by

no test coverage detected