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

Method FromJSON

Modules/Core/src/DataManagement/mitkClippingProperty.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 bool ClippingProperty::FromJSON(const nlohmann::json& j)
95 {
96 this->SetClippingEnabled(j["Enabled"].get<bool>());
97 this->SetOrigin(j["Origin"].get<Point3D>());
98 this->SetNormal(j["Normal"].get<Vector3D>());
99
100 return true;
101 }
102
103} // namespace

Callers

nothing calls this directly

Calls 3

SetClippingEnabledMethod · 0.95
SetOriginMethod · 0.95
SetNormalMethod · 0.95

Tested by

no test coverage detected