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

Method CircuitCheck

Common/Transforms/vtkGeneralTransform.cxx:255–273  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

253
254//------------------------------------------------------------------------------
255int vtkGeneralTransform::CircuitCheck(vtkAbstractTransform* transform)
256{
257 if (this->vtkAbstractTransform::CircuitCheck(transform) ||
258 (this->Input && this->Input->CircuitCheck(transform)))
259 {
260 return 1;
261 }
262
263 int n = this->Concatenation->GetNumberOfTransforms();
264 for (int i = 0; i < n; i++)
265 {
266 if (this->Concatenation->GetTransform(i)->CircuitCheck(transform))
267 {
268 return 1;
269 }
270 }
271
272 return 0;
273}
274
275//------------------------------------------------------------------------------
276vtkAbstractTransform* vtkGeneralTransform::MakeTransform()

Callers 2

ConcatenateMethod · 0.45
SetInputMethod · 0.45

Calls 2

GetNumberOfTransformsMethod · 0.45
GetTransformMethod · 0.45

Tested by

no test coverage detected