MCPcopy Create free account
hub / github.com/MITK/MITK / SetResolution

Method SetResolution

Modules/DataTypesExt/src/mitkPlane.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void Plane::SetResolution(const int xR, const int yR)
73 {
74 m_PlaneSource->SetResolution(xR, yR);
75 m_PlaneSource->Update();
76
77 m_Plane->DeepCopy(m_PlaneSource->GetOutput());
78 m_Plane->GetPointData()->SetVectors(m_PlaneNormal);
79
80 this->Modified();
81 }
82
83 void Plane::GetResolution(int &xR, int &yR) const { m_PlaneSource->GetResolution(xR, yR); }
84 bool Plane::IsInside(const Point3D & /*worldPoint*/) const

Callers 7

BuildAxisFunction · 0.80
PlaneMethod · 0.80
CylinderMethod · 0.80
ConeMethod · 0.80

Calls 4

DeepCopyMethod · 0.80
UpdateMethod · 0.45
GetOutputMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected