Skip to content

Commit

Permalink
[SofaMeshCollision] Put some methods and parameter from private to pr…
Browse files Browse the repository at this point in the history
…otected to be able to use them in child class
  • Loading branch information
epernod committed Mar 4, 2019
1 parent d3d3e5c commit 2607569
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Expand Up @@ -138,7 +138,7 @@ class NarrowPhaseDetection : virtual public Detection
m_outputsMap.swap(m_storedOutputsMap[inst]);
}

private:
protected:
std::map<Instance, DetectionOutputMap> m_storedOutputsMap;

protected:
Expand Down
5 changes: 2 additions & 3 deletions SofaKernel/modules/SofaMeshCollision/PointModel.h
Expand Up @@ -148,6 +148,7 @@ class SOFA_MESH_COLLISION_API TPointModel : public core::CollisionModel
}

virtual void computeBBox(const core::ExecParams* params, bool onlyVisible) override;
virtual void updateNormals();

protected:

Expand All @@ -162,9 +163,7 @@ class SOFA_MESH_COLLISION_API TPointModel : public core::CollisionModel
PointLocalMinDistanceFilter *m_lmdFilter;
EmptyFilter m_emptyFilter;

Data<bool> m_displayFreePosition; ///< Display Collision Model Points free position(in green)

void updateNormals();
Data<bool> m_displayFreePosition; ///< Display Collision Model Points free position(in green)

PointActiver *myActiver;
};
Expand Down

0 comments on commit 2607569

Please sign in to comment.