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

Method InternalClone

Modules/Core/test/mitkBaseGeometryTest.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 mitkNewMacro1Param(Self, const Self &);
57
58 itk::LightObject::Pointer InternalClone() const override
59 {
60 Self::Pointer newGeometry = new Self(*this);
61 newGeometry->UnRegister();
62 return newGeometry.GetPointer();
63 }
64
65protected:
66 void PrintSelf(std::ostream & /*os*/, itk::Indent /*indent*/) const override{};

Callers

nothing calls this directly

Calls 2

GetPointerMethod · 0.80
UnRegisterMethod · 0.45

Tested by

no test coverage detected