From e16a7f24de55152f8f5dd31d89328e9c5cb455fb Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Tue, 22 Jun 2010 20:38:41 +0000 Subject: [PATCH] * ./kite: - Change: In GraphicKiteEngine, re-enable drawing of Knik::Edges & Knik::Vertex by directly using the static callbacks from GraphicKnikEngine. --- kite/src/GraphicKiteEngine.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kite/src/GraphicKiteEngine.cpp b/kite/src/GraphicKiteEngine.cpp index 4f87b4f0..9537864d 100644 --- a/kite/src/GraphicKiteEngine.cpp +++ b/kite/src/GraphicKiteEngine.cpp @@ -45,7 +45,10 @@ #include #include #include +#include +#include #include +#include #include //#include @@ -59,6 +62,7 @@ namespace Kite { using Hurricane::Breakpoint; using Hurricane::DebugSession; using Hurricane::UpdateSession; + using Hurricane::Point; using Hurricane::Net; using Hurricane::Graphics; using Hurricane::ColorScale; @@ -66,6 +70,7 @@ namespace Kite { using CRL::Catalog; using CRL::AllianceFramework; using Knik::KnikEngine; + using Knik::GraphicKnikEngine; size_t GraphicKiteEngine::_references = 0; @@ -392,6 +397,8 @@ namespace Kite { : GraphicTool() , _viewer(NULL) { + addDrawGo ( "Knik::Edge" , GraphicKnikEngine::initKnikEdges , GraphicKnikEngine::drawKnikEdges ); + addDrawGo ( "Knik::Vertex" , GraphicKnikEngine::initKnikVertex, GraphicKnikEngine::drawKnikVertex ); addDrawGo ( "Katabatic::Ac" , initKatabaticAc , drawKatabaticAc ); addDrawGo ( "Katabatic::GCell", initKatabaticGCell, drawKatabaticGCell ); }