Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src] Fix compilation: remove deleted function templatename #6

Merged
merged 2 commits into from
Dec 14, 2022
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
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