Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SpatialVec Output and Reporter access to Swig interface #2030

Merged
merged 2 commits into from
Jan 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Bindings/common.i
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace OpenSim {
%template(OutputVec3) OpenSim::Output<SimTK::Vec3>;
%template(OutputTransform) OpenSim::Output<SimTK::Transform>;
%template(OutputVector) OpenSim::Output<SimTK::Vector>;

%template(OutputSpatialVec) OpenSim::Output<SimTK::SpatialVec>;

namespace OpenSim {
%ignore Input::downcast(AbstractInput&); // suppress warning 509.
Expand Down Expand Up @@ -395,8 +395,9 @@ namespace OpenSim {
%template(ReporterVector) OpenSim::Reporter<SimTK::Vector>;
%template(TableReporter) OpenSim::TableReporter_<SimTK::Real>;
%template(TableReporterVec3) OpenSim::TableReporter_<SimTK::Vec3>;
%template(TableReporterSpatialVec) OpenSim::TableReporter_<SimTK::SpatialVec>;
%template(TableReporterVector) OpenSim::TableReporter_<SimTK::Vector, SimTK::Real>;
%template(ConsoleReporter) OpenSim::ConsoleReporter_<SimTK::Real>;
%template(ConsoleReporterVec3) OpenSim::ConsoleReporter_<SimTK::Vec3>;

%include <OpenSim/Common/GCVSplineSet.h>
%include <OpenSim/Common/GCVSplineSet.h>