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

Method SetXMax

Common/DataModel/vtkBox.cxx:67–78  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

65
66//------------------------------------------------------------------------------
67void vtkBox::SetXMax(double x, double y, double z)
68{
69 vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting XMax to (" << x << "," << y
70 << "," << z << ")");
71 const double* p = this->BBox->GetMaxPoint();
72 if ((p[0] == x) && (p[1] == y) && (p[2] == z))
73 {
74 return;
75 }
76 this->BBox->SetMaxPoint(x, y, z);
77 this->Modified();
78}
79
80//------------------------------------------------------------------------------
81void vtkBox::GetBounds(double& xMin, double& xMax, double& yMin, double& yMax, double& zMin,

Callers

nothing calls this directly

Calls 4

GetMaxPointMethod · 0.80
SetMaxPointMethod · 0.60
GetClassNameMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected