]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Extensions/OpenGLMeshMapper.hxx
Examples with meshes (read and render, with and without plugins) added.
[cpPlugins.git] / lib / cpPlugins / Extensions / OpenGLMeshMapper.hxx
index 903cfc73cfd452c83765c821e5ca5fbcf449a5b2..3610b43353cfe77da830c49b3668efcfc057d6bc 100644 (file)
@@ -575,15 +575,13 @@ _ConfigureOpenGL( )
     unsigned int indId = 0;
     for( cIt = cells->Begin( ); cIt != cells->End( ); cIt++ )
     {
-      /* TODO
-         const typename M::TQuadEdgeCell* cell =
-         dynamic_cast< const typename M::TQuadEdgeCell* >( cIt.Value( ) );
-         const typename M::TPrimalEdge* edge =
-         cell->GetEntryPrimalEdge( );
-         typename M::TPrimalEdge::ConstIterator iIt = edge->BeginLnext( );
-         for( ; iIt != edge->EndLnext( ); ++iIt )
-         this->Indices[ indId++ ] = ( *iIt )->GetOrigin( );
-      */
+      const typename M::TQuadEdgeCell* cell =
+        dynamic_cast< const typename M::TQuadEdgeCell* >( cIt.Value( ) );
+      const typename M::TPrimalEdge* edge =
+        cell->GetEntryPrimalEdge( );
+      typename M::TPrimalEdge::ConstIterator iIt = edge->BeginLnext( );
+      for( ; iIt != edge->EndLnext( ); ++iIt )
+        this->Indices[ indId++ ] = ( *iIt )->GetOrigin( );
 
     } // fi