X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fexamples%2Fexample_InternalForceSimplexMesh.cxx;fp=appli%2Fexamples%2Fexample_InternalForceSimplexMesh.cxx;h=91a87bee93400f30634b4e0c14b18cb8cd214da5;hb=6d6bf5d5e3b9318a507216f2f231c32299d1a941;hp=7e7201852dba6f6654a4815db7c1d7a81b05abce;hpb=de28025e5f1835fba69cb0a6666d02f0b7daec0d;p=cpMesh.git diff --git a/appli/examples/example_InternalForceSimplexMesh.cxx b/appli/examples/example_InternalForceSimplexMesh.cxx index 7e72018..91a87be 100644 --- a/appli/examples/example_InternalForceSimplexMesh.cxx +++ b/appli/examples/example_InternalForceSimplexMesh.cxx @@ -10,13 +10,13 @@ #include #include -#include +#include +#include + #include #include #include #include -#include -#include #include // ------------------------------------------------------------------------- @@ -24,11 +24,11 @@ const unsigned int Dim = 3; const unsigned int Order = 2; typedef float TScalar; -typedef cpm::DataStructures::QuadEdgeMesh< TScalar, Dim > TTriangulation; typedef cpm::DataStructures::SimplexMesh< TScalar, Order, Dim > TSimplex; +typedef TSimplex::Superclass TTriangulation; +typedef cpPlugins::Extensions::MeshReader< TTriangulation > TTriangulationReader; +typedef cpPlugins::Extensions::OpenGLMeshMapper< TSimplex > TSimplexMapper; -typedef cpm::IO::MeshReader< TTriangulation > TTriangulationReader; -typedef cpm::VTK::MeshMapper< TSimplex > TSimplexMapper; typedef cpm::Algorithms::QuadEdge::MeshToDualFilter< TTriangulation, TSimplex > TTriangulationToSimplexFilter;