Skip to content

Commit aef12b3

Browse files
committed
Address feedback on PR, formatting and headers
1 parent 8ab69b2 commit aef12b3

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

OpenSim/Tools/InverseKinematicsTool.h

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* See the License for the specific language governing permissions and *
2323
* limitations under the License. *
2424
* -------------------------------------------------------------------------- */
25-
#include "Simbody.h"
25+
#include <SimTKcommon/internal/ReferencePtr.h>
2626
#include "osimToolsDLL.h"
2727
#include <OpenSim/Common/Object.h>
2828
#include <OpenSim/Tools/IKTaskSet.h>
@@ -127,16 +127,24 @@ OpenSim_DECLARE_CONCRETE_OBJECT(InverseKinematicsTool, Tool);
127127
//---- Setters and getters for various attributes
128128
void setModel(Model& aModel) { _model = &aModel; };
129129
void setStartTime(double d) { upd_time_range(0) = d; };
130-
double getStartTime() const {return get_time_range(0); };
130+
double getStartTime() const { return get_time_range(0); };
131131

132132
void setEndTime(double d) { upd_time_range(1) = d; };
133133
double getEndTime() const { return get_time_range(1); };
134134

135-
void setMarkerDataFileName(const std::string& markerDataFileName) { upd_marker_file() =markerDataFileName;};
136-
const std::string& getMarkerDataFileName() const { return get_marker_file();};
137-
138-
void setCoordinateFileName(const std::string& coordDataFileName) { upd_coordinate_file()=coordDataFileName;};
139-
const std::string& getCoordinateFileName() const { return get_coordinate_file();};
135+
void setMarkerDataFileName(const std::string& markerDataFileName) {
136+
upd_marker_file() = markerDataFileName;
137+
};
138+
const std::string& getMarkerDataFileName() const {
139+
return get_marker_file();
140+
};
141+
142+
void setCoordinateFileName(const std::string& coordDataFileName) {
143+
upd_coordinate_file() = coordDataFileName;
144+
};
145+
const std::string& getCoordinateFileName() const {
146+
return get_coordinate_file();
147+
};
140148

141149
private:
142150
void constructProperties();
@@ -152,7 +160,7 @@ OpenSim_DECLARE_CONCRETE_OBJECT(InverseKinematicsTool, Tool);
152160
void setOutputMotionFileName(const std::string aOutputMotionFileName) {
153161
upd_output_motion_file() = aOutputMotionFileName;
154162
}
155-
std::string getOutputMotionFileName() { return get_output_motion_file();}
163+
std::string getOutputMotionFileName() { return get_output_motion_file(); }
156164
IKTaskSet& getIKTaskSet() { return upd_IKTaskSet(); }
157165

158166
//--------------------------------------------------------------------------

0 commit comments

Comments
 (0)