File tree Expand file tree Collapse file tree 5 files changed +2
-41
lines changed Expand file tree Collapse file tree 5 files changed +2
-41
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set(SOURCE_FILES
11
11
find_package (Sofa.Testing REQUIRED )
12
12
find_package (image QUIET )
13
13
14
+
14
15
if (image_FOUND )
15
16
find_package (Sofa.Component.StateContainer REQUIRED )
16
17
find_package (SceneCreator REQUIRED )
Original file line number Diff line number Diff line change @@ -68,16 +68,6 @@ class CylinderMesh : public sofa::core::DataEngine
68
68
void orientate ();
69
69
void draw (const sofa::core::visual::VisualParams*) override ;
70
70
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
-
81
71
// Inputs
82
72
sofa::core::objectmodel::Data<double > m_diameter; // /< Diameter
83
73
sofa::core::objectmodel::Data<double > m_length; // /< Length
Original file line number Diff line number Diff line change @@ -81,16 +81,6 @@ class DecimateMesh : public sofa::core::DataEngine
81
81
void writeObj ();
82
82
void computeNormals ();
83
83
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
-
94
84
virtual void handleEvent (sofa::core::objectmodel::Event *event) override ;
95
85
96
86
Original file line number Diff line number Diff line change @@ -68,17 +68,7 @@ class MeshGenerationFromPolyhedron : public sofa::core::DataEngine
68
68
void doUpdate () override ;
69
69
70
70
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
+
82
72
// Inputs
83
73
sofa::core::objectmodel::Data<VecCoord> f_X0; // /< Rest position coordinates of the degrees of freedom
84
74
sofa::core::objectmodel::Data<SeqTriangles> f_triangles; // /< List of triangles
Original file line number Diff line number Diff line change @@ -59,16 +59,6 @@ class TriangularConvexHull3D : public sofa::core::DataEngine
59
59
60
60
void doUpdate () override ;
61
61
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
-
72
62
// Inputs
73
63
sofa::core::objectmodel::Data<VecCoord> f_X0; // /< Rest position coordinates of the degrees of freedom
74
64
You can’t perform that action at this time.
0 commit comments