-I$(srcdir)/../GEOMImpl \
-I$(srcdir)/../GEOMClient \
-I$(top_builddir)/src/DlgRef \
- -I$(top_builddir)/idl
+ -I$(top_builddir)/idl \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include/opencv \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include
libBasicGUI_la_LDFLAGS = \
../GEOMBase/libGEOMBase.la \
../GEOMGUI/libGEOM.la \
$(CAS_LDFLAGS) -lTKGeomBase \
- $(GUI_LDFLAGS) -lsuit
+ $(GUI_LDFLAGS) -lsuit \
+ -L/home/palmco/OpenCV/OpenCV-2.3.0/install/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
#include <ElSLib.hxx>
#include <QMouseEvent>
+#include <QApplication>
-#include "EntityGUI_SketcherDlg.h" // Sketcher
-#include "EntityGUI_3DSketcherDlg.h" // Sketcher
-#include "EntityGUI_SubShapeDlg.h" // Method SUBSHAPE
+#include "EntityGUI_SketcherDlg.h" // Sketcher
+#include "EntityGUI_3DSketcherDlg.h" // Sketcher
+#include "EntityGUI_SubShapeDlg.h" // Method SUBSHAPE
+#include "EntityGUI_FeatureDetectorDlg.h" // Feature Detection
//=======================================================================
// function : EntityGUI()
case GEOMOp::OpExplode: // EXPLODE
aDlg = new EntityGUI_SubShapeDlg( getGeometryGUI(), parent );
break;
+ case GEOMOp::OpFeatureDetect: // CORNER DETECTION
+ aDlg = new EntityGUI_FeatureDetectorDlg( getGeometryGUI(), parent );
+ break;
default:
app->putInfo( tr( "GEOM_PRP_COMMAND" ).arg( theCommandID ) );
break;
QDialog* aDlg = getGeometryGUI()->GetActiveDialogBox();
// Create Point dialog, OCC viewer
- if ( aDlg && ( QString( aDlg->metaObject()->className() ).compare( "EntityGUI_SketcherDlg" ) == 0 ) &&
+ if ( aDlg &&
theViewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() &&
pe->modifiers() != Qt::ControlModifier ) {
- MESSAGE("Premier if ok!")
- EntityGUI_SketcherDlg* aPntDlg = (EntityGUI_SketcherDlg*) aDlg;
- if ( aPntDlg->acceptMouseEvent() ) {
- OCCViewer_Viewer* anOCCViewer =
- ( (OCCViewer_ViewManager*)( theViewWindow->getViewManager() ) )->getOCCViewer();
- Handle(AIS_InteractiveContext) ic = anOCCViewer->getAISContext();
-
- gp_Pnt aPnt;
-
- ic->InitSelected();
- if ( pe->modifiers() == Qt::ShiftModifier )
- ic->ShiftSelect(); // Append selection
- else
+
+ gp_Pnt aPnt;
+
+ if ( QString( aDlg->metaObject()->className() ).compare( "EntityGUI_SketcherDlg" ) == 0 )
+ {
+ EntityGUI_SketcherDlg* aSketcherDlg = (EntityGUI_SketcherDlg*) aDlg;
+ if ( aSketcherDlg->acceptMouseEvent() ) {
+ OCCViewer_Viewer* anOCCViewer =
+ ( (OCCViewer_ViewManager*)( theViewWindow->getViewManager() ) )->getOCCViewer();
+ Handle(AIS_InteractiveContext) ic = anOCCViewer->getAISContext();
+
+ ic->InitSelected();
+ if ( pe->modifiers() == Qt::ShiftModifier )
+ ic->ShiftSelect(); // Append selection
+ else
+ ic->Select(); // New selection
+
+ ic->InitSelected();
+ if ( ic->MoreSelected() ) {
+ TopoDS_Shape aShape = ic->SelectedShape();
+ if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
+ aPnt = BRep_Tool::Pnt( TopoDS::Vertex( ic->SelectedShape() ) );
+ }
+ else {
+ OCCViewer_ViewPort3d* vp = ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
+ aPnt = ConvertClickToPoint( pe->x(), pe->y(), vp->getView() );
+ }
+
+ Qt::KeyboardModifiers modifiers = pe->modifiers();
+ aSketcherDlg->OnPointSelected( modifiers, aPnt ); // "feed" the point to point construction dialog
+ } // acceptMouseEvent()
+ }
+ if ( QString( aDlg->metaObject()->className() ).compare( "EntityGUI_FeatureDetectorDlg" ) == 0 )
+ {
+ EntityGUI_FeatureDetectorDlg* aCornerDlg = (EntityGUI_FeatureDetectorDlg*) aDlg;
+ if ( aCornerDlg->acceptMouseEvent() ) {
+ OCCViewer_Viewer* anOCCViewer =
+ ( (OCCViewer_ViewManager*)( theViewWindow->getViewManager() ) )->getOCCViewer();
+ Handle(AIS_InteractiveContext) ic = anOCCViewer->getAISContext();
+
+ ic->InitSelected();
ic->Select(); // New selection
- ic->InitSelected();
- if ( ic->MoreSelected() ) {
- TopoDS_Shape aShape = ic->SelectedShape();
- if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
- aPnt = BRep_Tool::Pnt( TopoDS::Vertex( ic->SelectedShape() ) );
- }
- else {
- OCCViewer_ViewPort3d* vp = ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
- aPnt = ConvertClickToPoint( pe->x(), pe->y(), vp->getView() );
- }
+ ic->InitSelected();
+ if ( ic->MoreSelected() ) {
+ TopoDS_Shape aShape = ic->SelectedShape();
+ if ( !aShape.IsNull() && aShape.ShapeType() == TopAbs_VERTEX )
+ aPnt = BRep_Tool::Pnt( TopoDS::Vertex( ic->SelectedShape() ) );
+ }
+ else {
+ OCCViewer_ViewPort3d* vp = ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
+ aPnt = ConvertClickToPoint( pe->x(), pe->y(), vp->getView() );
+ }
+
+ aCornerDlg->OnPointSelected( aPnt ); // "feed" the point to corner detection dialog
+
+ QPoint start = QPoint(pe->x(),pe->y());
+ aCornerDlg->setStartPnt( start );
+ } // acceptMouseEvent()
+
+ }
+ }
+ return false;
+}
+
+//=================================================================================
+// function : 0nMouseMove()
+// purpose : [static] manage mouse events
+//=================================================================================
+bool EntityGUI::OnMouseMove( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow )
+{
+// MESSAGE("EntityGUI::OnMouseMove")
+ QDialog* aDlg = getGeometryGUI()->GetActiveDialogBox();
+ if ( aDlg && ( QString( aDlg->metaObject()->className() ).compare( "EntityGUI_FeatureDetectorDlg" ) == 0 ) &&
+ theViewWindow->getViewManager()->getType() == OCCViewer_Viewer::Type() &&
+ pe->modifiers() != Qt::ControlModifier ) {
+
+ EntityGUI_FeatureDetectorDlg* aCornerDlg = (EntityGUI_FeatureDetectorDlg*) aDlg;
+
+ gp_Pnt aPnt;
- Qt::KeyboardModifiers modifiers = pe->modifiers();
- aPntDlg->OnPointSelected( modifiers, aPnt ); // "feed" the point to point construction dialog
- } // acceptMouseEvent()
+ if ( QApplication::mouseButtons() == Qt::LeftButton &&
+ aCornerDlg->acceptMouseEvent() )
+ {
+ QPoint end = QPoint(pe->x(),pe->y());
+ aCornerDlg->setEndPnt( end );
+ }
}
return false;
}
bool OnGUIEvent( int, SUIT_Desktop* );
bool OnMousePress( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow );
+ bool OnMouseMove( QMouseEvent* pe, SUIT_Desktop* parent, SUIT_ViewWindow* theViewWindow );
- gp_Pnt ConvertClickToPoint( int x, int y, Handle(V3d_View) aView );
+ static gp_Pnt ConvertClickToPoint( int x, int y, Handle(V3d_View) aView );
void DisplaySimulationShape( const TopoDS_Shape&, const TopoDS_Shape& );
void EraseSimulationShape();
#include "EntityGUI_Widgets.h"
#include <SalomeApp_DoubleSpinBox.h>
+#include <OCCViewer_ViewPort3d.h>
+#include <OCCViewer_ViewWindow.h>
+
#include <GEOMBase.h>
#include <GeometryGUI.h>
#include <GEOMImpl_Types.hxx>
{
MESSAGE("EntityGUI_SketcherDlg::OnPointSelected")
+ SUIT_ViewWindow* theViewWindow = getDesktop()->activeWindow();
+ OCCViewer_ViewPort3d* vp = ((OCCViewer_ViewWindow*)theViewWindow)->getViewPort();
+ QString theImgFileName = vp->backgroundImageFilename();
+
double x, y;
x = y = 0;
gp_Pnt aTrsfPnt;
GEOMBase::VertexToPoint( aShape, aTrsfPnt );
- autoApply = ( getPnt2ConstructorId() == 1 && false ); // If no additional argument needed after selection
- // -> apply automatically --> disabled for now
+ autoApply = ( (getPnt2ConstructorId() == 1) && (!theImgFileName.isEmpty()) ); // If no additional argument needed after selection and there is a backgroundimage
+ // -> apply automatically
if ( getPnt1ConstructorId() == 0 ){ // Relative selection mode
x = aTrsfPnt.X() - myLastX1;
EntityGUI_Widgets.h \
EntityGUI_SketcherDlg.h \
EntityGUI_3DSketcherDlg.h \
- EntityGUI_SubShapeDlg.h
+ EntityGUI_SubShapeDlg.h \
+ EntityGUI_FeatureDetectorDlg.h
dist_libEntityGUI_la_SOURCES = \
EntityGUI.cxx \
EntityGUI_Widgets.cxx \
EntityGUI_SketcherDlg.cxx \
EntityGUI_3DSketcherDlg.cxx \
- EntityGUI_SubShapeDlg.cxx
+ EntityGUI_SubShapeDlg.cxx \
+ EntityGUI_FeatureDetectorDlg.cxx
MOC_FILES = \
EntityGUI_Widgets_moc.cxx \
EntityGUI_SketcherDlg_moc.cxx \
EntityGUI_3DSketcherDlg_moc.cxx \
- EntityGUI_SubShapeDlg_moc.cxx
+ EntityGUI_SubShapeDlg_moc.cxx \
+ EntityGUI_FeatureDetectorDlg_moc.cxx
nodist_libEntityGUI_la_SOURCES = \
$(MOC_FILES)
-I$(srcdir)/../GEOMImpl \
-I$(srcdir)/../GEOMFiltersSelection \
-I$(srcdir)/../SKETCHER \
+ -I$(srcdir)/../GEOM \
-I$(top_builddir)/src/DlgRef \
- -I$(top_builddir)/idl
+ -I$(top_builddir)/idl \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include/opencv \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include
libEntityGUI_la_LDFLAGS = \
../GEOMFiltersSelection/libGEOMFiltersSelection.la \
../SKETCHER/libGEOMSketcher.la \
../GEOMGUI/libGEOM.la \
$(QT_MT_LIBS) \
- $(CAS_TKTopAlgo) -lTKernel
+ $(CAS_TKTopAlgo) -lTKernel \
+ -L/home/palmco/OpenCV/OpenCV-2.3.0/install/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
if ( myViewWindow == 0 )
return;
-
+
// Display prs
SUIT_ViewManager* aViewManager = myViewWindow->getViewManager();
if ( aViewManager->getType() == OCCViewer_Viewer::Type() ||
{
bool res = false;
if ( !getStudy() || hasCommand() )
+ {
+ MESSAGE("Getting out from openCommand()")
return res;
+ }
GEOM::GEOM_IOperations_var anOp = GEOM::GEOM_IOperations::_narrow( getOperation() );
if ( !anOp->_is_nil() ) {
myCommand->start();
res = true;
}
+ else
+ {
+ MESSAGE("anOp->_is_nil() = true")
+ }
return res;
}
//================================================================
bool GEOMBase_Helper::hasCommand() const
{
+ bool res = (bool) myCommand;
+ MESSAGE("hasCommand = "<<res)
return (bool)myCommand;
}
bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction )
{
SalomeApp_Study* appStudy = dynamic_cast<SalomeApp_Study*>( SUIT_Session::session()->activeApplication()->activeStudy() );
- if ( !appStudy ) return false;
+ if ( !appStudy )
+ {
+ MESSAGE("appStudy is empty")
+ return false;
+ }
_PTR(Study) aStudy = appStudy->studyDS();
bool aLocked = (_PTR(AttributeStudyProperties) (aStudy->GetProperties()))->IsLocked();
bool result = false;
try {
+ MESSAGE("publish ="<<publish<<"useTransaction ="<<useTransaction)
if ( ( !publish && !useTransaction ) || openCommand() ) {
+ MESSAGE("Entered the if")
SUIT_OverrideCursor wc;
SUIT_Session::session()->activeApplication()->putInfo( "" );
ObjectList objects;
catch( const SALOME::SALOME_Exception& e ) {
SalomeApp_Tools::QtCatchCorbaException( e );
abortCommand();
+ MESSAGE("Exception catched")
}
updateViewer();
+ MESSAGE("result ="<<result)
return result;
}
-I$(srcdir)/../GEOMGUI \
-I$(srcdir)/../DlgRef \
-I$(top_builddir)/src/DlgRef \
- -I$(top_builddir)/idl
+ -I$(top_builddir)/idl \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include/opencv \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include
libGEOMBase_la_LDFLAGS = \
../../idl/libSalomeIDLGEOM.la \
../DlgRef/libDlgRef.la \
$(KERNEL_LDFLAGS) -lOpUtil \
$(GUI_LDFLAGS) -lsuit -lOCCViewer -lVTKViewer -lSVTK -lSalomePrs -lSalomeApp -lCAM \
- $(CAS_LDPATH) -lTKPrim
+ $(CAS_LDPATH) -lTKPrim \
+ -L/home/palmco/OpenCV/OpenCV-2.3.0/install/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
+
<source>MEN_BUILD</source>
<translation>Build</translation>
</message>
+ <message>
+ <source>MEN_FEATURE_DETECTION</source>
+ <translation>Feature detection</translation>
+ </message>
<message>
<source>MEN_CHAMFER</source>
<translation>Chamfer</translation>
<message>
<source>STB_POP_UNPUBLISH_OBJ</source>
<translation>Unpublish object</translation>
- </message>
+ </message>
<message>
<source>STB_POP_PUBLISH_OBJ</source>
<translation>Publish object</translation>
- </message>
+ </message>
<message>
<source>STB_POP_HIDE_CHILDREN</source>
<translation>Hide child objects</translation>
<message>
<source>TOP_POP_PUBLISH_OBJ</source>
<translation>Publish object</translation>
- </message>
+ </message>
<message>
<source>TOP_POP_HIDE_CHILDREN</source>
<translation>Hide Children</translation>
<message>
<source>GEOM_CURVE_ANALITICAL</source>
<translation>Analytical</translation>
- </message>
+ </message>
</context>
<context>
<name>BasicGUI_ParamCurveWidget</name>
<message>
<source>GEOM_PCURVE_MAX</source>
<translation>Max t</translation>
- </message>
+ </message>
<message>
<source>GEOM_PCURVE_STEP</source>
<translation>Step</translation>
Number of sketch points too small</translation>
</message>
</context>
+<context>
+ <name>EntityGUI_FeatureDetectorDlg</name>
+ <message>
+ <source>GEOM_DETECT_TITLE</source>
+ <translation>Feature Detection</translation>
+ </message>
+ <message>
+ <source>GEOM_SCALING</source>
+ <translation>Scaling</translation>
+ </message>
+ <message>
+ <source>GEOM_PNT1</source>
+ <translation>Top left corner</translation>
+ </message>
+ <message>
+ <source>GEOM_PNT2</source>
+ <translation>Top right corner</translation>
+ </message>
+ <message>
+ <source>GEOM_CORNER</source>
+ <translation>Detected_corners</translation>
+ </message>
+ <message>
+ <source>GEOM_CORNERS</source>
+ <translation>Corners</translation>
+ </message>
+ <message>
+ <source>GEOM_CONTOURS</source>
+ <translation>Contours</translation>
+ </message>
+ <message>
+ <source>GEOM_FEATURES</source>
+ <translation>Features</translation>
+ </message>
+ <message>
+ <source>GEOM_DETECT_ZONE</source>
+ <translation>Select a detection zone (default is whole picture)</translation>
+ </message>
+ <message>
+ <source>GEOM_COLOR_FILTER</source>
+ <translation>Select the color of the zone you want to find the frontier of</translation>
+ </message>
+ <message>
+ <source>GEOM_VIEW</source>
+ <translation>View</translation>
+ </message>
+ <message>
+ <source>GEOM_FRONT</source>
+ <translation>Front (Y-Z)</translation>
+ </message>
+ <message>
+ <source>GEOM_TOP</source>
+ <translation>Top (X-Y)</translation>
+ </message>
+ <message>
+ <source>GEOM_LEFT</source>
+ <translation>Left (X-Z)</translation>
+ </message>
+</context>
<context>
<name>EntityGUI_SubShapeDlg</name>
<message>
<translation>Publish Objects</translation>
</message>
<message>
- <source>OBJECT_NAME</source>
- <translation>Name</translation>
+ <source>OBJECT_NAME</source>
+ <translation>Name</translation>
</message>
<message>
- <source>OBJECT_ENTRY</source>
- <translation>Entry</translation>
+ <source>OBJECT_ENTRY</source>
+ <translation>Entry</translation>
</message>
<message>
<source>UNSELECT_ALL</source>
<source>MEN_BUILD</source>
<translation>Construire</translation>
</message>
+ <message>
+ <source>MEN_CORNER_DETECTION</source>
+ <translation>Détecter les angles (image ou plan)</translation>
+ </message>
<message>
<source>MEN_CHAMFER</source>
<translation>Chanfrein</translation>
Le nombre de points n'est pas suffisant</translation>
</message>
</context>
+<context>
+ <name>EntityGUI_CornerDetectionDlg</name>
+ <message>
+ <source>GEOM_DETECT_TITLE</source>
+ <translation>Détecter les angles</translation>
+ </message>
+ <message>
+ <source>GEOM_SCALING</source>
+ <translation>Mise à l'échelle</translation>
+ </message>
+ <message>
+ <source>GEOM_PNT1</source>
+ <translation>Coin supérieur gauche</translation>
+ </message>
+ <message>
+ <source>GEOM_PNT2</source>
+ <translation>Coin supérieur droit</translation>
+ </message>
+ <message>
+ <source>GEOM_CORNER</source>
+ <translation>Angles_détectés</translation>
+ </message>
+ <message>
+ <source>GEOM_CORNERS</source>
+ <translation>Angles</translation>
+ </message>
+</context>
<context>
<name>EntityGUI_SubShapeDlg</name>
<message>
view3d->SetProj(DZ.X(), DZ.Y(), DZ.Z());
view3d->SetUp(DY.X(), DY.Y(), DY.Z());
- vw->onViewFitAll();
+// vw->onViewFitAll(); TEST (don't forget to remove comments)
}
}
else if( ViewVTK ) {
case GEOMOp::Op2dSketcher: // MENU ENTITY - SKETCHER
case GEOMOp::Op3dSketcher: // MENU ENTITY - 3D SKETCHER
case GEOMOp::OpExplode: // MENU ENTITY - EXPLODE
+ case GEOMOp::OpFeatureDetect: // MENU ENTITY - FEATURE DETECTION
libName = "EntityGUI";
break;
case GEOMOp::OpEdge: // MENU BUILD - EDGE
createGeomAction( GEOMOp::Op2dSketcher, "SKETCH" );
createGeomAction( GEOMOp::Op3dSketcher, "3DSKETCH" );
createGeomAction( GEOMOp::OpExplode, "EXPLODE" );
+ createGeomAction( GEOMOp::OpFeatureDetect,"FEATURE_DETECTION" );
createGeomAction( GEOMOp::OpEdge, "EDGE" );
createGeomAction( GEOMOp::OpWire, "WIRE" );
createMenu( GEOMOp::OpShell, buildId, -1 );
createMenu( GEOMOp::OpSolid, buildId, -1 );
createMenu( GEOMOp::OpCompound, buildId, -1 );
+
+ createMenu( separator(), newEntId, -1 );
+
+ createMenu( GEOMOp::OpFeatureDetect, newEntId, -1 );
int operId = createMenu( tr( "MEN_OPERATIONS" ), -1, -1, 10 );
createTool( separator(), operTbId );
createTool( GEOMOp::OpExplode, operTbId );
createTool( separator(), operTbId );
+ createTool( GEOMOp::OpFeatureDetect, operTbId );
+ createTool( separator(), operTbId );
createTool( GEOMOp::OpPartition, operTbId );
createTool( GEOMOp::OpArchimede, operTbId );
createTool( GEOMOp::OpShapesOnShape, operTbId );
Op2dSketcher = 3300, // MENU NEW ENTITY - SKETCHER
Op3dSketcher = 3301, // MENU NEW ENTITY - 3D SKETCHER
OpExplode = 3302, // MENU NEW ENTITY - EXPLODE
+ OpFeatureDetect = 3303, // MENU NEW ENTITY - FEATURE DETECTION
// BuildGUI ------------------//--------------------------------
OpEdge = 3400, // MENU NEW ENTITY - BUILD - EDGE
OpWire = 3401, // MENU NEW ENTITY - BUILD - WIRE
-I$(srcdir)/../GEOMClient \
-I$(srcdir)/../GEOMImpl \
-I$(top_builddir)/idl \
- -I$(top_builddir)
+ -I$(top_builddir) \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include/opencv \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include
libGEOM_la_LDFLAGS = \
$(PYTHON_LIBS) \
../GEOMClient/libGEOMClient.la \
../OBJECT/libGEOMObject.la \
$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeNS -lSalomeDSClient \
- $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent -lSalomePrs -lstd
+ $(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent -lSalomePrs -lstd \
+ -L/home/palmco/OpenCV/OpenCV-2.3.0/install/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
+
# -lSalomeApp
# -lToolsGUI
# $(CORBA_LIBS) \
-I$(srcdir)/../GEOMImpl \
-I$(srcdir)/../GEOMAlgo \
-I$(top_builddir)/src/DlgRef \
- -I$(top_builddir)/idl
+ -I$(top_builddir)/idl \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include/opencv \
+ -I/home/palmco/OpenCV/OpenCV-2.3.0/install/include
+
libOperationGUI_la_LDFLAGS = \
../GEOMBase/libGEOMBase.la \
- $(CAS_LDPATH) -lTKFillet
+ $(CAS_LDPATH) -lTKFillet \
+ -L/home/palmco/OpenCV/OpenCV-2.3.0/install/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann
###############################
# Obsolete files ?