IF(WIN32)
ADD_EXECUTABLE(creaImageIOApp WIN32 main)
- SET_TARGET_PROPERTIES(creaImageIOApp PROPERTIES LINK_FLAGS /subsystem:console )
+
+ IF(MINGW)
+ SET_TARGET_PROPERTIES(creaImageIOApp PROPERTIES LINK_FLAGS -mconsole )
+ ELSE(MINGW)
+ SET_TARGET_PROPERTIES(creaImageIOApp PROPERTIES LINK_FLAGS /subsystem:console )
+ ENDIF(MINGW)
+
ELSE(WIN32)
ADD_EXECUTABLE(creaImageIOApp MACOSX_BUNDLE main)
ENDIF(WIN32)
IF (NOT USE_XERCES)
+
+message("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
+message(${VTK_LIBRARIES})
+
TARGET_LINK_LIBRARIES(${LIBRARY_NAME}
${crea_LIBRARIES}
${creaBruker_LIBRARIES}
{
delete crea::MessageManager::GetInstance();
}
-
#define GimmickMessage(LEV,MESS) \
- creaMessage("Gimmick!",LEV,"[Gimmick!] "<<MESS);
+ creaMessage( "Gimmick!" , LEV , "[Gimmick!] " << MESS );
+
#define GimmickDebugMessage(LEV,MESS) \
creaDebugMessage("Gimmick! DEBUG",LEV,"[Gimmick!] DEBUG: "<<MESS);
#define GimmickError(MESS) \
#include "creaImageIOSystem.h"
#include "creaImageIOUltrasonixImageReader.h"
+
#include <creaVtk.h>
#include <boost/filesystem/path.hpp>
}
fclose(Ultrasonix_file);
- im = crea::NewVtkImageDataFromRaw( dataRF, h.width, h.height, h.frame);
+ im = crea::NewVtkImageDataFromRaw<short>( dataRF, h.width, h.height, h.frame);
break;
case TYPE_B8:
fclose(Ultrasonix_file);
- im = crea::NewVtkImageDataFromRaw( dataB8, h.width, h.height, h.frame);
+ im = crea::NewVtkImageDataFromRaw<char>( dataB8, h.width, h.height, h.frame);
break;
case TYPE_B32:
fclose(Ultrasonix_file);
- im = crea::NewVtkImageDataFromRaw( dataB32, h.width, h.height, h.frame);
+ im = crea::NewVtkImageDataFromRaw<int>( dataB32, h.width, h.height, h.frame);
break;
}
//=====================================================================
/// Concrete derivative of GimmickView which implements a wxWidgets-based view
- class WxGimmickView : public wxPanel, virtual public GimmickView
+ class CREAIMAGEIO_EXPORT WxGimmickView : public wxPanel, virtual public GimmickView
{
public:
#include <creaImageIOWxTreeView.h>
#include <creaImageIOGimmickView.h>
-
#include <wx/splitter.h>
#include <wx/gdicmn.h>
#include <boost/date_time/gregorian/gregorian.hpp>
std::vector<tree::Node*>::const_iterator i;
for (i=sel.begin(); i!=sel.end(); ++i)
{
- GimmickMessage(1,
- "deleting '"
- <<(*i)->GetLabel()
- <<"'"<<mLastLevel
- <<std::endl);
+ GimmickMessage(1,"deleting '" << (*i)->GetLabel() << "'" << mLastLevel << std::endl );
if((*i)->GetParent()->GetNumberOfChildren()<2)
{
needRefresh=true;
class WxViewerPlayer;
- class WxViewer : public wxPanel
+ class CREAIMAGEIO_EXPORT WxViewer : public wxPanel
{
public: