MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Detach

Method Detach

GTE/Applications/TrackObject.cpp:81–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void TrackObject::Detach(std::shared_ptr<Spatial> const& object)
82{
83 if (mValid && object)
84 {
85 auto node = std::dynamic_pointer_cast<Node>(mRoot);
86 if (node)
87 {
88 node->DetachChild(object);
89 }
90 }
91}
92
93void TrackObject::DetachAll()
94{

Callers 3

OnPrecreateMeshMethod · 0.80
CreateBSplinePolylineMethod · 0.80
LoadDataMethod · 0.80

Calls 1

DetachChildMethod · 0.80

Tested by

no test coverage detected