Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/BaseConstraint.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <CollisionAlgorithm/BaseAlgorithm.h>
#include <CollisionAlgorithm/BaseGeometry.h>
#include <sofa/core/behavior/BaseLagrangianConstraint.h>
Expand All @@ -12,7 +13,7 @@
namespace sofa::constraintgeometry {


class BaseConstraint : public sofa::core::behavior::BaseLagrangianConstraint{
class SOFA_CONSTRAINTGEOMETRY_API BaseConstraint : public sofa::core::behavior::BaseLagrangianConstraint{
public:

virtual ~BaseConstraint(){}
Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/BaseNormalHandler.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <CollisionAlgorithm/CollisionPipeline.h>
#include <CollisionAlgorithm/BaseProximity.h>
#include <ConstraintGeometry/ConstraintProximity.h>
Expand All @@ -12,7 +13,7 @@ namespace sofa ::constraintgeometry {
/*!
* \brief The BaseConstraint abstract class is the implementation of sofa's abstract BaseConstraint
*/
class BaseNormalHandler : public collisionalgorithm::CollisionComponent {
class SOFA_CONSTRAINTGEOMETRY_API BaseNormalHandler : public collisionalgorithm::CollisionComponent {
public:
SOFA_ABSTRACT_CLASS(BaseNormalHandler, collisionalgorithm::CollisionComponent);

Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/ConstraintDirection.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <CollisionAlgorithm/BaseAlgorithm.h>
#include <CollisionAlgorithm/BaseGeometry.h>
#include <sofa/core/behavior/BaseLagrangianConstraint.h>
Expand All @@ -11,7 +12,7 @@ namespace sofa::constraintgeometry {
/*!
* \brief The BaseConstraint abstract class is the implementation of sofa's abstract BaseLagrangianConstraint
*/
class ConstraintDirection : public sofa::core::objectmodel::BaseObject {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintDirection : public sofa::core::objectmodel::BaseObject {
public:
SOFA_CLASS(ConstraintDirection, sofa::core::objectmodel::BaseObject);

Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/ConstraintNormal.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <sofa/type/vector.h>
#include <sofa/defaulttype/VecTypes.h>
#include <CollisionAlgorithm/BaseAlgorithm.h>
Expand All @@ -11,7 +12,7 @@ namespace sofa::constraintgeometry {
*/


class ConstraintNormal {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintNormal {
public:

typedef collisionalgorithm::BaseProximity BaseProximity;
Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/ConstraintProximity.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <CollisionAlgorithm/BaseProximity.h>
#include <memory>

namespace sofa::constraintgeometry {

class ConstraintProximity : public virtual collisionalgorithm::BaseBaseProximity {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintProximity : public virtual collisionalgorithm::BaseBaseProximity {
public:

typedef std::shared_ptr<ConstraintProximity> SPtr;
Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/ConstraintResponse.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <CollisionAlgorithm/BaseAlgorithm.h>
#include <CollisionAlgorithm/BaseGeometry.h>
#include <sofa/core/behavior/BaseLagrangianConstraint.h>
Expand All @@ -13,7 +14,7 @@ namespace constraintgeometry {
/*!
* \brief The BaseConstraint abstract class is the implementation of sofa's abstract BaseLagrangianConstraint
*/
class ConstraintResponse : public sofa::core::objectmodel::BaseObject {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintResponse : public sofa::core::objectmodel::BaseObject {
public:
SOFA_CLASS(ConstraintResponse, sofa::core::objectmodel::BaseObject);

Expand Down
3 changes: 2 additions & 1 deletion src/ConstraintGeometry/InternalConstraint.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include <ConstraintGeometry/config.h>
#include <ConstraintGeometry/ConstraintNormal.h>
#include <sofa/core/behavior/BaseLagrangianConstraint.h>
#include <CollisionAlgorithm/BaseAlgorithm.h>
Expand All @@ -8,7 +9,7 @@

namespace sofa::constraintgeometry {

class BaseInternalConstraint {
class SOFA_CONSTRAINTGEOMETRY_API BaseInternalConstraint {
public:
typedef std::shared_ptr<BaseInternalConstraint> SPtr;

Expand Down
2 changes: 1 addition & 1 deletion src/ConstraintGeometry/constraint/ConstraintBilateral.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace sofa::constraintgeometry {

class ConstraintBilateral : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintBilateral : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
public:
SOFA_CLASS(ConstraintBilateral , SOFA_TEMPLATE2(TBaseConstraint,BaseProximity,BaseProximity));

Expand Down
2 changes: 1 addition & 1 deletion src/ConstraintGeometry/constraint/ConstraintInsertion.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace sofa::constraintgeometry {

class ConstraintInsertion : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintInsertion : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
public:
SOFA_CLASS(ConstraintInsertion , SOFA_TEMPLATE2(TBaseConstraint,BaseProximity,BaseProximity));

Expand Down
2 changes: 1 addition & 1 deletion src/ConstraintGeometry/constraint/ConstraintUnilateral.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace constraintgeometry {
* \brief The ConstraintUnilateral class
* Applies specified algorithm on 'from' and 'dest' geometry
*/
class ConstraintUnilateral : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
class SOFA_CONSTRAINTGEOMETRY_API ConstraintUnilateral : public TBaseConstraint<collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity> {
public:
SOFA_CLASS(ConstraintUnilateral , SOFA_TEMPLATE2(TBaseConstraint,collisionalgorithm::BaseProximity,collisionalgorithm::BaseProximity) );

Expand Down
2 changes: 1 addition & 1 deletion src/ConstraintGeometry/normalHandler/EdgeNormalHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace sofa::constraintgeometry {

class EdgeNormalHandler : public BaseNormalHandler {
class SOFA_CONSTRAINTGEOMETRY_API EdgeNormalHandler : public BaseNormalHandler {
public:

SOFA_CLASS(EdgeNormalHandler, BaseNormalHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace sofa::constraintgeometry {

class GouraudTriangleNormalHandler : public BaseNormalHandler {
class SOFA_CONSTRAINTGEOMETRY_API GouraudTriangleNormalHandler : public BaseNormalHandler {
public:

SOFA_CLASS(GouraudTriangleNormalHandler, BaseNormalHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace sofa::constraintgeometry {

class GravityPointNormalHandler : public BaseNormalHandler {
class SOFA_CONSTRAINTGEOMETRY_API GravityPointNormalHandler : public BaseNormalHandler {
public:

SOFA_CLASS(GravityPointNormalHandler, BaseNormalHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace sofa::constraintgeometry {

class PhongTriangleNormalHandler : public BaseNormalHandler {
class SOFA_CONSTRAINTGEOMETRY_API PhongTriangleNormalHandler : public BaseNormalHandler {
public:

SOFA_CLASS(PhongTriangleNormalHandler, BaseNormalHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace sofa::constraintgeometry {

class VectorPointNormalHandler : public BaseNormalHandler {
class SOFA_CONSTRAINTGEOMETRY_API VectorPointNormalHandler : public BaseNormalHandler {
public:

SOFA_CLASS(VectorPointNormalHandler, BaseNormalHandler);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace sofa::constraintgeometry {
class BaseNormalHandler;

//Specific operation to find the closest point on a geometry (the code is in the c++ class)
class ConstraintProximityOperation : public collisionalgorithm::Operations::GenericOperation2<ConstraintProximityOperation,//operation type
class SOFA_CONSTRAINTGEOMETRY_API ConstraintProximityOperation : public collisionalgorithm::Operations::GenericOperation2<ConstraintProximityOperation,//operation type
ConstraintProximity::SPtr, // default return
BaseNormalHandler *, collisionalgorithm::BaseProximity::SPtr // parameters
> {
Expand Down
Loading