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

Method CircuitCheck

Common/Transforms/vtkPerspectiveTransform.cxx:97–115  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

95
96//------------------------------------------------------------------------------
97int vtkPerspectiveTransform::CircuitCheck(vtkAbstractTransform* transform)
98{
99 if (this->vtkHomogeneousTransform::CircuitCheck(transform) ||
100 (this->Input && this->Input->CircuitCheck(transform)))
101 {
102 return 1;
103 }
104
105 int n = this->Concatenation->GetNumberOfTransforms();
106 for (int i = 0; i < n; i++)
107 {
108 if (this->Concatenation->GetTransform(i)->CircuitCheck(transform))
109 {
110 return 1;
111 }
112 }
113
114 return 0;
115}
116
117//------------------------------------------------------------------------------
118vtkAbstractTransform* vtkPerspectiveTransform::MakeTransform()

Callers 2

ConcatenateMethod · 0.45
SetInputMethod · 0.45

Calls 2

GetNumberOfTransformsMethod · 0.45
GetTransformMethod · 0.45

Tested by

no test coverage detected