CMAKE_POLICY(SET CMP0005 NEW)
ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
-PROJECT(creaMaracasVisu)
+PROJECT(CreaMaracasVisu)
SET(PROJECT_MAJOR_VERSION 1)
SET(PROJECT_MINOR_VERSION 0)
#===========================================================================
# THE NAME OF THE BBTK PACKAGE
-SET(BBTK_PACKAGE_NAME maracasvisu)
+SET(BBTK_PACKAGE_NAME creaMaracasVisu)
#===========================================================================
#===========================================================================
# PACKAGE DESCRIPTION
-SET(${BBTK_PACKAGE_NAME}_DESCRIPTION "Maracas library")
+SET(${BBTK_PACKAGE_NAME}_DESCRIPTION "Maracas library. LG : what does it provide ?")
#===========================================================================
#===========================================================================
# LIST HERE THE ADDITIONAL LIBS TO LINK AGAINST
# EXCEPT : the same libs than for INCLUDE_DIRS
### ${MYSQL_LIBRARIES}
- maracasVisuLib
+ creaMaracasVisu
### ILPDModel.lib
### ILPDInterface
### ILPDcontrolerInterface
#include "bbmaracasvisuColorBar.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ColorBar)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ColorBar)
BBTK_BLACK_BOX_IMPLEMENTATION(ColorBar,bbtk::WxBlackBox);
//--------------------------------------------------
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuColorBar_h_INCLUDED__
-#define __bbmaracasvisuColorBar_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuColorBar_h_INCLUDED__
+#define __bbcreaMaracasVisuColorBar_h_INCLUDED__
#include "bbtkWxBlackBox.h"
-#include "bbmaracasvisuColorBar.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
#include "pColorBar.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ColorBar
BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
BBTK_DESCRIPTION("Degrade Color Bar Window");
//BBTK_CATEGORY("__CategoryBlackBox__");
- BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("Degrade Color Bar Window");
BBTK_INPUT(ColorBar,Orientation,"Orientation ", int,"");
BBTK_INPUT(ColorBar,InW,"Width ", int,"");
BBTK_INPUT(ColorBar,InH,"Height ", int,"");
BBTK_INPUT(ColorBar,Values, "Values ",std::vector<int>,"");
BBTK_END_DESCRIBE_BLACK_BOX(ColorBar);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuColorBar_h_INCLUDED__
+#endif // __bbcreaMaracasVisuColorBar_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuContourCrown.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
#include <vtkImageData.h>
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ContourCrown)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ContourCrown)
BBTK_BLACK_BOX_IMPLEMENTATION(ContourCrown,bbtk::WxBlackBox);
//-----------------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuContourCrown_h_INCLUDED__
-#define __bbmaracasvisuContourCrown_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuContourCrown_h_INCLUDED__
+#define __bbcreaMaracasVisuContourCrown_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include <vtkImageData.h>
#include "Contour/ContourCrownWidget.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ContourCrown
BBTK_OUTPUT(ContourCrown,ImageMaskResult, "vtkImagedata with the mask" , vtkImageData *,"" );
BBTK_END_DESCRIBE_BLACK_BOX(ContourCrown);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuContourCrown_h_INCLUDED__
+#endif // __bbcreaMaracasVisuContourCrown_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuContourStatistics.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
#include <math.h>
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ContourStatistics)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ContourStatistics)
BBTK_BLACK_BOX_IMPLEMENTATION(ContourStatistics,bbtk::AtomicBlackBox);
//------------------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#ifndef __bbmaracasvisuContourStatistics_h_INCLUDED__
-#define __bbmaracasvisuContourStatistics_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuContourStatistics_h_INCLUDED__
+#define __bbcreaMaracasVisuContourStatistics_h_INCLUDED__
#include "bbtkAtomicBlackBox.h"
#include "iostream"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ContourStatistics
BBTK_OUTPUT(ContourStatistics,nPoints,"Number of values",int,"");
BBTK_END_DESCRIBE_BLACK_BOX(ContourStatistics);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuContourStatistics_h_INCLUDED__
+#endif // __bbcreaMaracasVisuContourStatistics_h_INCLUDED__
#ifdef _USE_ITK_
#include "bbmaracasvisuContourToControlPoints.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ContourToControlPoints)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ContourToControlPoints)
//BBTK_USER_BLACK_BOX_IMPLEMENTATION(ContourToControlPoints,bbtk::AtomicBlackBox);
BBTK_BLACK_BOX_IMPLEMENTATION(ContourToControlPoints,bbtk::AtomicBlackBox);
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#endif //_USE_ITK_
#endif //_USE_VTK_
-#ifndef __bbmaracasvisuContourToControlPoints_h_INCLUDED__
-#define __bbmaracasvisuContourToControlPoints_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuContourToControlPoints_h_INCLUDED__
+#define __bbcreaMaracasVisuContourToControlPoints_h_INCLUDED__
#include "bbtkAtomicBlackBox.h"
#include "iostream"
#include "vtkImageData.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ContourToControlPoints
BBTK_OUTPUT(ContourToControlPoints,ImagePropg,"vtkImageData of the propagation image-3D",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(ContourToControlPoints);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuContourToControlPoints_h_INCLUDED__
+#endif // __bbcreaMaracasVisuContourToControlPoints_h_INCLUDED__
//HOLA!!!
#include "bbmaracasvisuContourVOI.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
//--------------------------------------------------------------------------
//------------------------------------------------------
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ContourVOI)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ContourVOI)
BBTK_BLACK_BOX_IMPLEMENTATION(ContourVOI,bbtk::WxBlackBox);
//------------------------------------------------------
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuContourVOI_h_INCLUDED__
-#define __bbmaracasvisuContourVOI_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuContourVOI_h_INCLUDED__
+#define __bbcreaMaracasVisuContourVOI_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "Contour/ContourVOIWidget.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
BBTK_OUTPUT(ContourVOI,Size, "Size" , std::string,"");
BBTK_END_DESCRIBE_BLACK_BOX(ContourVOI);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuContourVOI_h_INCLUDED__
+#endif // __bbcreaMaracasVisuContourVOI_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuHistogramView.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
#include "Histogram.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,HistogramView)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,HistogramView)
BBTK_BLACK_BOX_IMPLEMENTATION(HistogramView,bbtk::WxBlackBox);
//------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuHistogramView_h_INCLUDED__
-#define __bbmaracasvisuHistogramView_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuHistogramView_h_INCLUDED__
+#define __bbcreaMaracasVisuHistogramView_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "vtkImageData.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ HistogramView
BBTK_INPUT(HistogramView,In,"Input image",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(HistogramView);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuHistogramView_h_INCLUDED__
+#endif // __bbcreaMaracasVisuHistogramView_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuImageChangeInformation.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ImageChangeInformation)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ImageChangeInformation)
BBTK_BLACK_BOX_IMPLEMENTATION(ImageChangeInformation,bbtk::AtomicBlackBox);
void ImageChangeInformation::Process()
{
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#ifndef __bbmaracasvisuImageChangeInformation_h_INCLUDED__
-#define __bbmaracasvisuImageChangeInformation_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
+#define __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
#include "bbtkAtomicBlackBox.h"
#include "iostream"
#include "vtkImageData.h"
#include "vtkImageChangeInformation.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ImageChangeInformation
BBTK_OUTPUT(ImageChangeInformation,Out,"Output image",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(ImageChangeInformation);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuImageChangeInformation_h_INCLUDED__
+#endif // __bbcreaMaracasVisuImageChangeInformation_h_INCLUDED__
#include "bbmaracasvisuPlotterView.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
#include "pPlotterScaleX.h"
#include "pPlotterScaleY.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,PlotterView)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,PlotterView)
BBTK_BLACK_BOX_IMPLEMENTATION(PlotterView,bbtk::WxBlackBox);
//---------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuPlotterView_h_INCLUDED__
-#define __bbmaracasvisuPlotterView_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuPlotterView_h_INCLUDED__
+#define __bbcreaMaracasVisuPlotterView_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "pPlotterWindow.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ PlotterView
BBTK_INPUT(PlotterView,InY,"y vector",std::vector<double>,"");
BBTK_END_DESCRIBE_BLACK_BOX(PlotterView);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuPlotterView_h_INCLUDED__
+#endif // __bbcreaMaracasVisuPlotterView_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuSliderMinMax.h"
-#include "bbmaracasvisuPackage.h"
+#include "bbcreaMaracasVisuPackage.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
//------------------------------------------------------------------------------------------------------------------------------------
//--------------------------------------------------------------------------
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,SliderMinMax)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,SliderMinMax)
BBTK_BLACK_BOX_IMPLEMENTATION(SliderMinMax,bbtk::WxBlackBox);
//------------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuSliderMinMax_h_INCLUDED__
-#define __bbmaracasvisuSliderMinMax_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
+#define __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "mBarRange.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
BBTK_OUTPUT(SliderMinMax,OutActual,"Actual value output",int,"");
BBTK_END_DESCRIBE_BLACK_BOX(SliderMinMax);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuSliderMinMax_h_INCLUDED__
+#endif // __bbcreaMaracasVisuSliderMinMax_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuTransferFunctionView.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,TransferFunctionView)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,TransferFunctionView)
BBTK_BLACK_BOX_IMPLEMENTATION(TransferFunctionView,bbtk::WxBlackBox);
//-----------------------------------------------------
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuTransferFunctionView_h_INCLUDED__
-#define __bbmaracasvisuTransferFunctionView_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
+#define __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "vtkImageData.h"
#include "HistogramWidget.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ TransferFunctionView
BBTK_INPUT(TransferFunctionView,In,"Input image",vtkImageData*,"");
BBTK_END_DESCRIBE_BLACK_BOX(TransferFunctionView);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuTransferFunctionView_h_INCLUDED__
+#endif // __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuViewerMPR.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
//--------------------------------------------------------------------------
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ViewerMPR)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ViewerMPR)
BBTK_BLACK_BOX_IMPLEMENTATION(ViewerMPR,bbtk::WxBlackBox);
void ViewerMPR::Process()
{
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuViewerMPR_h_INCLUDED__
-#define __bbmaracasvisuViewerMPR_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuViewerMPR_h_INCLUDED__
+#define __bbcreaMaracasVisuViewerMPR_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "wxMaracasMPR.h"
#include "vtkImageData.h"
#include "vtkRenderer.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
BBTK_END_DESCRIBE_BLACK_BOX(ViewerMPR);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuViewerMPR_h_INCLUDED__
+#endif // __bbcreaMaracasVisuViewerMPR_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#include "bbmaracasvisuViewerNV.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ViewerNV)
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ViewerNV)
BBTK_BLACK_BOX_IMPLEMENTATION(ViewerNV,bbtk::WxBlackBox);
//-------------------------------------------------------------
void ViewerNV::Process()
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
#ifdef _USE_WXWIDGETS_
-#ifndef __bbmaracasvisuViewerNV_h_INCLUDED__
-#define __bbmaracasvisuViewerNV_h_INCLUDED__
+#ifndef __bbcreaMaracasVisuViewerNV_h_INCLUDED__
+#define __bbcreaMaracasVisuViewerNV_h_INCLUDED__
#include "bbtkWxBlackBox.h"
#include "widgets/wxMaracas_ViewerWidget.h"
#include "widgets/wxMaracas_N_ViewersWidget.h"
-namespace bbmaracasvisu
+namespace bbcreaMaracasVisu
{
class /*BBTK_EXPORT*/ ViewerNV
BBTK_OUTPUT(ViewerNV,Point,"Axis point",std::vector<int>,"");
BBTK_END_DESCRIBE_BLACK_BOX(ViewerNV);
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu
-#endif // __bbmaracasvisuViewerNV_h_INCLUDED__
+#endif // __bbcreaMaracasVisuViewerNV_h_INCLUDED__
#endif // _USE_WXWIDGETS_
#----------------------------------------------------------------------------
# SET THE NAME OF YOUR LIBRARY
-SET ( LIBRARY_NAME maracasVisuLib )
+SET ( LIBRARY_NAME creaMaracasVisu )
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------