00001 /* 00002 * $Revision: 2299 $ 00003 * 00004 * last checkin: 00005 * $Author: gutwenger $ 00006 * $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $ 00007 ***************************************************************/ 00008 00042 #ifdef _MSC_VER 00043 #pragma once 00044 #endif 00045 00046 #ifndef OGDF_SIMPLE_EMBEDDER_H 00047 #define OGDF_SIMPLE_EMBEDDER_H 00048 00049 #include <ogdf/module/EmbedderModule.h> 00050 #include <ogdf/planarity/PlanarModule.h> 00051 #include <ogdf/basic/CombinatorialEmbedding.h> 00052 #include <ogdf/planarity/PlanRep.h> 00053 00054 namespace ogdf { 00055 00057 class OGDF_EXPORT SimpleEmbedder : public EmbedderModule 00058 { 00059 public: 00060 // construction / destruction 00061 SimpleEmbedder() { } 00062 ~SimpleEmbedder() { } 00063 00069 void call(PlanRep& PG, adjEntry& adjExternal); 00070 00071 private: 00078 face findBestExternalFace(const PlanRep& PG, 00079 const CombinatorialEmbedding& E); 00080 00081 }; 00082 00083 } // end namespace ogdf 00084 00085 #endif