Commit 41e95279 authored by saubatn's avatar saubatn
Browse files

FIXED bug 127

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@2046 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 20e44d95
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a anisotropic diffusion on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class AnisotropicDiffusion : public camitk::Action {
class ITKFILTER_API AnisotropicDiffusion : public camitk::Action {
Q_OBJECT
/// Enumerations
......
......@@ -15,6 +15,7 @@ camitk_extension( ACTION_EXTENSION
CEP_NAME CEP_IMAGING
DESCRIPTION "This action features basic ITK image processing filters"
TEST_APPLICATION ${APPLICATION_TEST_ACTION}
DEFINES COMPILE_ITKFILTER_API
TEST_FILES bassin.msh BigEndian.hdr BigEndian.img BigEndianCompressed1.hdr BigEndianCompressed1.img brain.mha diaphragm.pml head1.STL LittleEndian1.hdr LittleEndian1.img LittleEndianCompressed1.hdr LittleEndianCompressed1.img LittleEndianZ1.hdr liver-smooth.obj Mesh.off mini-ten-nomask-slow1.nrrd mini-vector-slow1.nrrd mixed_3D_beam.msh ramp1.gipl robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
)
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a Canny edge detection on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class CannyEdgeDetection : public camitk::Action {
class ITKFILTER_API CannyEdgeDetection : public camitk::Action {
Q_OBJECT
public:
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a connected component analysis on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class ConnectedComponents : public camitk::Action {
class ITKFILTER_API ConnectedComponents : public camitk::Action {
Q_OBJECT
// declaration of parameters
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a derivative filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class Derivative : public camitk::Action {
class ITKFILTER_API Derivative : public camitk::Action {
Q_OBJECT
/// Enumerations
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a gaussian filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class GaussianFilter : public camitk::Action {
class ITKFILTER_API GaussianFilter : public camitk::Action {
Q_OBJECT
/// Enumerations
......
......@@ -31,6 +31,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -39,7 +41,7 @@
* Perform a gradient magnitude filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class GradientMagnitude : public camitk::Action {
class ITKFILTER_API GradientMagnitude : public camitk::Action {
public:
/// Default Constructor
......
......@@ -30,6 +30,7 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +39,7 @@
* Perform a gradient magnitude recursive filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class GradientMagnitudeRecursiveGaussian : public camitk::Action {
class ITKFILTER_API GradientMagnitudeRecursiveGaussian : public camitk::Action {
Q_OBJECT
......
#if defined(_WIN32) // MSVC and mingw
#ifdef COMPILE_ITKFILTER_API
#define ITKFILTER_API __declspec(dllexport)
#else
#define ITKFILTER_API __declspec(dllimport)
#endif // COMPILE_MY_COMPONENT_API
#else // for all other platforms ITKFILTER_API is defined to be "nothing"
#define ITKFILTER_API
#endif // MSVC and mingw
\ No newline at end of file
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a laplacian filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class Laplacian : public camitk::Action {
class ITKFILTER_API Laplacian : public camitk::Action {
Q_OBJECT
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a laplacian-gaussian recursive filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class LaplacianRecursiveGaussian : public camitk::Action {
class ITKFILTER_API LaplacianRecursiveGaussian : public camitk::Action {
Q_OBJECT
public:
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a laplacian sharpening filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class LaplacianSharpening : public camitk::Action {
class ITKFILTER_API LaplacianSharpening : public camitk::Action {
public:
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a mean filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class MeanFilter : public camitk::Action {
class ITKFILTER_API MeanFilter : public camitk::Action {
Q_OBJECT
public:
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -38,7 +40,7 @@
* Perform a median filter on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class MedianFilter : public camitk::Action {
class ITKFILTER_API MedianFilter : public camitk::Action {
Q_OBJECT
......
......@@ -30,6 +30,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
#include <itkImage.h>
/**
......@@ -40,7 +42,7 @@
* Perform some morphological operators such as opening, closing ...
*
**/
class MorphologicalOperators : public camitk::Action {
class ITKFILTER_API MorphologicalOperators : public camitk::Action {
Q_OBJECT
/// Enumerations
......
......@@ -31,6 +31,8 @@
#include <ImageComponent.h>
#include <ActionWidget.h>
#include "ITKFilterAPI.h"
/**
*
* @ingroup group_cepimaging_actions_itkfilters
......@@ -39,7 +41,7 @@
* Perform the Sobel edge detection on the @ref camitk::ImageComponent "ImageComponent"
*
**/
class SobelEdgeDetection : public camitk::Action {
class ITKFILTER_API SobelEdgeDetection : public camitk::Action {
Q_OBJECT
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment