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

Method CircuitCheck

Common/Transforms/vtkTransform.cxx:260–278  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

258
259//------------------------------------------------------------------------------
260int vtkTransform::CircuitCheck(vtkAbstractTransform* transform)
261{
262 if (this->vtkLinearTransform::CircuitCheck(transform) ||
263 (this->Input && this->Input->CircuitCheck(transform)))
264 {
265 return 1;
266 }
267
268 int n = this->Concatenation->GetNumberOfTransforms();
269 for (int i = 0; i < n; i++)
270 {
271 if (this->Concatenation->GetTransform(i)->CircuitCheck(transform))
272 {
273 return 1;
274 }
275 }
276
277 return 0;
278}
279
280//------------------------------------------------------------------------------
281vtkAbstractTransform* vtkTransform::MakeTransform()

Callers 2

ConcatenateMethod · 0.45
SetInputMethod · 0.45

Calls 2

GetNumberOfTransformsMethod · 0.45
GetTransformMethod · 0.45

Tested by

no test coverage detected