Skip to content

Commit

Permalink
[src] Fix compilation: remove deleted function templatename (#6)
Browse files Browse the repository at this point in the history
* [src] Fix compilation: remove deleted function templatename

* Update Refine2DMesh.inl
  • Loading branch information
epernod authored Dec 14, 2022
1 parent 81441ac commit fc86811
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 41 deletions.
1 change: 1 addition & 0 deletions CGALPlugin_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set(SOURCE_FILES
find_package(Sofa.Testing REQUIRED)
find_package(image QUIET)


if(image_FOUND)
find_package(Sofa.Component.StateContainer REQUIRED)
find_package(SceneCreator REQUIRED)
Expand Down
10 changes: 0 additions & 10 deletions src/CGALPlugin/CylinderMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ class CylinderMesh : public sofa::core::DataEngine
void orientate();
void draw(const sofa::core::visual::VisualParams*) override;

virtual std::string getTemplateName() const override
{
return templateName(this);
}

static std::string templateName(const CylinderMesh<DataTypes>* = NULL)
{
return DataTypes::Name();
}

//Inputs
sofa::core::objectmodel::Data<double> m_diameter; ///< Diameter
sofa::core::objectmodel::Data<double> m_length; ///< Length
Expand Down
10 changes: 0 additions & 10 deletions src/CGALPlugin/DecimateMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ class DecimateMesh : public sofa::core::DataEngine
void writeObj();
void computeNormals();

virtual std::string getTemplateName() const override
{
return templateName(this);
}

static std::string templateName(const DecimateMesh<DataTypes>* = NULL)
{
return DataTypes::Name();
}

virtual void handleEvent(sofa::core::objectmodel::Event *event) override;


Expand Down
12 changes: 1 addition & 11 deletions src/CGALPlugin/MeshGenerationFromPolyhedron.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,7 @@ class MeshGenerationFromPolyhedron : public sofa::core::DataEngine
void doUpdate() override;

void draw(const sofa::core::visual::VisualParams* vparams) override;

virtual std::string getTemplateName() const override
{
return templateName(this);
}

static std::string templateName(const MeshGenerationFromPolyhedron<DataTypes>* = NULL)
{
return DataTypes::Name();
}


//Inputs
sofa::core::objectmodel::Data<VecCoord> f_X0; ///< Rest position coordinates of the degrees of freedom
sofa::core::objectmodel::Data<SeqTriangles> f_triangles; ///< List of triangles
Expand Down
10 changes: 0 additions & 10 deletions src/CGALPlugin/TriangularConvexHull3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ class TriangularConvexHull3D : public sofa::core::DataEngine

void doUpdate() override;

virtual std::string getTemplateName() const override
{
return templateName(this);
}

static std::string templateName(const TriangularConvexHull3D<DataTypes>* = NULL)
{
return DataTypes::Name();
}

//Inputs
sofa::core::objectmodel::Data<VecCoord> f_X0; ///< Rest position coordinates of the degrees of freedom

Expand Down

0 comments on commit fc86811

Please sign in to comment.