1 #ifndef OPENSIM_BODY_SET_H_ 2 #define OPENSIM_BODY_SET_H_ 3 /* -------------------------------------------------------------------------- * 4 * OpenSim: BodySet.h * 5 * -------------------------------------------------------------------------- * 6 * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * 7 * See http://opensim.stanford.edu and the NOTICE file for more information. * 8 * OpenSim is developed at Stanford University and supported by the US * 9 * National Institutes of Health (U54 GM072970, R24 HD065690) and by DARPA * 10 * through the Warrior Web program. * 11 * * 12 * Copyright (c) 2005-2018 Stanford University and the Authors * 13 * Author(s): Peter Loan * 14 * * 15 * Licensed under the Apache License, Version 2.0 (the "License"); you may * 16 * not use this file except in compliance with the License. You may obtain a * 17 * copy of the License at http://www.apache.org/licenses/LICENSE-2.0. * 18 * * 19 * Unless required by applicable law or agreed to in writing, software * 20 * distributed under the License is distributed on an "AS IS" BASIS, * 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * 22 * See the License for the specific language governing permissions and * 23 * limitations under the License. * 24 * -------------------------------------------------------------------------- */ 25 26 #include <OpenSim/Simulation/Model/ModelComponentSet.h> 27 #include <OpenSim/Simulation/SimbodyEngine/Body.h> 28 29 namespace OpenSim { 30 //============================================================================= 31 //============================================================================= 32 /** 33 * A class for holding a set of bodies. 34 * 35 * @authors Peter Loan 36 * @version 1.0 37 */ 38 class OSIMSIMULATION_API BodySet : public ModelComponentSet<Body> { 39 OpenSim_DECLARE_CONCRETE_OBJECT(BodySet, ModelComponentSet<Body>); 40 41 public: 42 /** Use Super's constructors. @see ModelComponentSet */ 43 using Super::Super; 44 45 // default copy, assignment operator, and destructor 46 47 //============================================================================= 48 }; // END of class BodySet 49 //============================================================================= 50 //============================================================================= 51 52 } // end of namespace OpenSim 53 54 #endif // OPENSIM_BODY_SET_H_ 55