]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseObjects/DataObject.h
Cast image filter added. ROI filter modified.
[cpPlugins.git] / lib / cpPlugins / BaseObjects / DataObject.h
index a09ccdf9ba7a678f87598491cde7055a5b8ce128..acb8213c9749ba20589147f688fcca70d0c83129 100644 (file)
@@ -15,6 +15,8 @@ namespace cpPlugins
     class cpPlugins_EXPORT DataObject
       : public Object
     {
+      friend class ProcessObject;
+
     public:
       typedef DataObject                      Self;
       typedef Object                          Superclass;
@@ -22,7 +24,7 @@ namespace cpPlugins
       typedef itk::SmartPointer< const Self > ConstPointer;
 
     public:
-      itkNewMacro( Self );
+      cpPluginsNewMacro( Self );
       itkTypeMacro( DataObject, Object );
       cpPlugins_Id_Macro( DataObject, Object );
 
@@ -40,7 +42,7 @@ namespace cpPlugins
       virtual ~DataObject( );
 
       template< class _TType >
-        inline bool _DisconnectVTK( );
+      inline bool _DisconnectVTK( );
 
     private:
       // Purposely not implemented