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

Method SetOutputOrigin

Imaging/Core/vtkImageReslice.cxx:315–330  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

313
314//------------------------------------------------------------------------------
315void vtkImageReslice::SetOutputOrigin(double x, double y, double z)
316{
317 double* o = this->OutputOrigin;
318 if (o[0] != x || o[1] != y || o[2] != z)
319 {
320 this->OutputOrigin[0] = x;
321 this->OutputOrigin[1] = y;
322 this->OutputOrigin[2] = z;
323 this->Modified();
324 }
325 else if (this->ComputeOutputOrigin)
326 {
327 this->Modified();
328 }
329 this->ComputeOutputOrigin = 0;
330}
331
332//------------------------------------------------------------------------------
333void vtkImageReslice::SetOutputOriginToDefault()

Callers 15

ImportExportWithPipelineFunction · 0.80
ImportExportNoPipelineFunction · 0.80
SetResliceParametersMethod · 0.80
SetResliceParametersMethod · 0.80
UpdatePlaneMethod · 0.80
UpdatePlaneMethod · 0.80
RenderMethod · 0.80
SetOutputOriginFunction · 0.80

Calls 1

ModifiedMethod · 0.45

Tested by 10

ImportExportWithPipelineFunction · 0.64
ImportExportNoPipelineFunction · 0.64
TestBSplineWarpFunction · 0.64
TestSetInformationFunction · 0.64
TestStencilWithLassoFunction · 0.64