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

Method InternalUpdate

Common/Transforms/vtkGeneralTransform.cxx:195–216  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

193
194//------------------------------------------------------------------------------
195void vtkGeneralTransform::InternalUpdate()
196{
197 // update the input
198 if (this->Input)
199 {
200 if (this->Concatenation->GetInverseFlag())
201 {
202 this->Input->GetInverse()->Update();
203 }
204 else
205 {
206 this->Input->Update();
207 }
208 }
209
210 // update the concatenation
211 int nTransforms = this->Concatenation->GetNumberOfTransforms();
212 for (int i = 0; i < nTransforms; i++)
213 {
214 this->Concatenation->GetTransform(i)->Update();
215 }
216}
217
218//------------------------------------------------------------------------------
219void vtkGeneralTransform::Concatenate(vtkAbstractTransform* transform)

Callers

nothing calls this directly

Calls 4

UpdateMethod · 0.45
GetInverseMethod · 0.45
GetNumberOfTransformsMethod · 0.45
GetTransformMethod · 0.45

Tested by

no test coverage detected