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

Method Translate

Common/DataModel/vtkBoundingBox.cxx:743–750  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

741
742// ---------------------------------------------------------------------------
743void vtkBoundingBox::Translate(double motion[3])
744{
745 for (int i = 0; i < 3; i++)
746 {
747 this->MinPnt[i] += motion[i];
748 this->MaxPnt[i] += motion[i];
749 }
750}
751
752// ---------------------------------------------------------------------------
753void vtkBoundingBox::ClampPoint(double point[3])

Callers 15

ComputeViewTransformMethod · 0.45
PanMethod · 0.45
CalculateTransformsMethod · 0.45
InitializeFutureBoxMethod · 0.45
PaintMethod · 0.45
DrawPointMethod · 0.45
ComputeViewTransformMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestContextSceneFunction · 0.36
PaintMethod · 0.36
TestCategoryLegendFunction · 0.36
TestColumnTreeFunction · 0.36
TestHeatmapScalarLegendFunction · 0.36
TestRenderViewFunction · 0.36
TestTanglegramItemFunction · 0.36
TestTreeHeatmapItemFunction · 0.36
TestMatrix3x3Function · 0.36
RequestDataMethod · 0.36