Skip to content

Commit fc86811

Browse files
authored
[src] Fix compilation: remove deleted function templatename (#6)
* [src] Fix compilation: remove deleted function templatename * Update Refine2DMesh.inl
1 parent 81441ac commit fc86811

File tree

5 files changed

+2
-41
lines changed

5 files changed

+2
-41
lines changed

CGALPlugin_test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ set(SOURCE_FILES
1111
find_package(Sofa.Testing REQUIRED)
1212
find_package(image QUIET)
1313

14+
1415
if(image_FOUND)
1516
find_package(Sofa.Component.StateContainer REQUIRED)
1617
find_package(SceneCreator REQUIRED)

src/CGALPlugin/CylinderMesh.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,6 @@ class CylinderMesh : public sofa::core::DataEngine
6868
void orientate();
6969
void draw(const sofa::core::visual::VisualParams*) override;
7070

71-
virtual std::string getTemplateName() const override
72-
{
73-
return templateName(this);
74-
}
75-
76-
static std::string templateName(const CylinderMesh<DataTypes>* = NULL)
77-
{
78-
return DataTypes::Name();
79-
}
80-
8171
//Inputs
8272
sofa::core::objectmodel::Data<double> m_diameter; ///< Diameter
8373
sofa::core::objectmodel::Data<double> m_length; ///< Length

src/CGALPlugin/DecimateMesh.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,6 @@ class DecimateMesh : public sofa::core::DataEngine
8181
void writeObj();
8282
void computeNormals();
8383

84-
virtual std::string getTemplateName() const override
85-
{
86-
return templateName(this);
87-
}
88-
89-
static std::string templateName(const DecimateMesh<DataTypes>* = NULL)
90-
{
91-
return DataTypes::Name();
92-
}
93-
9484
virtual void handleEvent(sofa::core::objectmodel::Event *event) override;
9585

9686

src/CGALPlugin/MeshGenerationFromPolyhedron.h

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,7 @@ class MeshGenerationFromPolyhedron : public sofa::core::DataEngine
6868
void doUpdate() override;
6969

7070
void draw(const sofa::core::visual::VisualParams* vparams) override;
71-
72-
virtual std::string getTemplateName() const override
73-
{
74-
return templateName(this);
75-
}
76-
77-
static std::string templateName(const MeshGenerationFromPolyhedron<DataTypes>* = NULL)
78-
{
79-
return DataTypes::Name();
80-
}
81-
71+
8272
//Inputs
8373
sofa::core::objectmodel::Data<VecCoord> f_X0; ///< Rest position coordinates of the degrees of freedom
8474
sofa::core::objectmodel::Data<SeqTriangles> f_triangles; ///< List of triangles

src/CGALPlugin/TriangularConvexHull3D.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,6 @@ class TriangularConvexHull3D : public sofa::core::DataEngine
5959

6060
void doUpdate() override;
6161

62-
virtual std::string getTemplateName() const override
63-
{
64-
return templateName(this);
65-
}
66-
67-
static std::string templateName(const TriangularConvexHull3D<DataTypes>* = NULL)
68-
{
69-
return DataTypes::Name();
70-
}
71-
7262
//Inputs
7363
sofa::core::objectmodel::Data<VecCoord> f_X0; ///< Rest position coordinates of the degrees of freedom
7464

0 commit comments

Comments
 (0)