BSpline

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
joana baptista
Posts: 21
Joined: Fri Apr 01, 2011 4:52 am

BSpline

Post by joana baptista » Mon Sep 26, 2011 3:45 am

Hi,

I'm trying to use the function BSpline, but it continues to give me an error :

error C2259: 'OpenSim::BSpline' : cannot instantiate abstract class due to following members:

'SimTK::Function *OpenSim::Function::createSimTKFunction(void) const' : is abstract

C:\OpenSim2.2.1\sdk\include\OpenSim/Common/Function.h(134) : see declaration of 'OpenSim::Function::createSimTKFunction'

Can anyone explain to me why is this happening?

Thanks,
Joana

User avatar
Ayman Habib
Posts: 2235
Joined: Fri Apr 01, 2005 12:24 pm

Re: BSpline

Post by Ayman Habib » Mon Sep 26, 2011 2:36 pm

Hi Joana,

Sorry about the confusion but the OpenSim::BSpline class is not supported. Since version 2.0 our functions are implemented in terms of SimTK functions. This BSpline class has not been implemented on this form (probably because it did not have a corresponding SimTK based B-spline).

Hope this explains,
-Ayman

POST REPLY