22
22
* See the License for the specific language governing permissions and *
23
23
* limitations under the License. *
24
24
* -------------------------------------------------------------------------- */
25
- #include " Simbody.h "
25
+ #include < SimTKcommon/internal/ReferencePtr.h >
26
26
#include " osimToolsDLL.h"
27
27
#include < OpenSim/Common/Object.h>
28
28
#include < OpenSim/Tools/IKTaskSet.h>
@@ -127,16 +127,24 @@ OpenSim_DECLARE_CONCRETE_OBJECT(InverseKinematicsTool, Tool);
127
127
// ---- Setters and getters for various attributes
128
128
void setModel (Model& aModel) { _model = &aModel; };
129
129
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 ); };
131
131
132
132
void setEndTime (double d) { upd_time_range (1 ) = d; };
133
133
double getEndTime () const { return get_time_range (1 ); };
134
134
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
+ };
140
148
141
149
private:
142
150
void constructProperties ();
@@ -152,7 +160,7 @@ OpenSim_DECLARE_CONCRETE_OBJECT(InverseKinematicsTool, Tool);
152
160
void setOutputMotionFileName (const std::string aOutputMotionFileName) {
153
161
upd_output_motion_file () = aOutputMotionFileName;
154
162
}
155
- std::string getOutputMotionFileName () { return get_output_motion_file ();}
163
+ std::string getOutputMotionFileName () { return get_output_motion_file (); }
156
164
IKTaskSet& getIKTaskSet () { return upd_IKTaskSet (); }
157
165
158
166
// --------------------------------------------------------------------------
0 commit comments