FProduct* FLogistics::addProduct() { FProduct* p = new FProduct(); objects[p->getID()] = p; return p; }
FProduct* FLogistics::addProduct(OSG::VRTransformPtr t) { FProduct* p = new FProduct(); objects[p->getID()] = p; if (t) p->setTransformation(t); return p; }