]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/Skeleton.h
...
[cpPlugins.git] / lib / cpExtensions / DataStructures / Skeleton.h
index 70d1dfb2c5bab28947fa6ed7774760f6d9795af9..9d0bd9b6296fabe2ab70993346984bda11054aa3 100644 (file)
@@ -20,6 +20,8 @@ namespace cpExtensions
       typedef typename TIndex::LexicographicCompare TIndexCompare;
       typedef typename TPath::Pointer TPathPointer;
 
+      itkStaticConstMacro( Dimension, unsigned int, _VDim );
+
       typedef Graph< TIndex, TPathPointer, TIndex, TIndexCompare > Superclass;
       typedef Skeleton                        Self;
       typedef itk::SmartPointer< Self >       Pointer;
@@ -29,8 +31,6 @@ namespace cpExtensions
       itkNewMacro( Self );
       itkTypeMacro( Skeleton, Graph );
 
-      itkStaticConstMacro( Dimension, unsigned int, _VDim );
-
     public:
       void AddBranch( TPath* path );
       const TPath* GetBranch( const TIndex& a, const TIndex& b ) const;