1 #ifndef __CPEXTENSIONS__VISUALIZATION__IMAGEINDEXESCONTAINERTOPOLYDATA__H__
2 #define __CPEXTENSIONS__VISUALIZATION__IMAGEINDEXESCONTAINERTOPOLYDATA__H__
4 #include <vtkPolyDataAlgorithm.h>
5 #include <itkImageBase.h>
9 namespace Visualization
13 template< class _TIndexes >
14 class ImageIndexesContainerToPolyData
15 : public vtkPolyDataAlgorithm
18 typedef ImageIndexesContainerToPolyData Self;
20 typedef _TIndexes TIndexes;
21 typedef typename TIndexes::ComponentType TContainer;
22 typedef typename TContainer::value_type TIndex;
23 typedef itk::ImageBase< TIndex::Dimension > TImage;
26 vtkTypeMacro( ImageIndexesContainerToPolyData, vtkPolyDataAlgorithm );
31 const TIndexes* GetInput( ) const;
32 const TImage* GetReferenceImage( ) const;
33 void SetInput( const TIndexes* c );
34 void SetReferenceImage( const TImage* i );
37 ImageIndexesContainerToPolyData( );
38 virtual ~ImageIndexesContainerToPolyData( );
41 vtkInformation* information,
42 vtkInformationVector** input,
43 vtkInformationVector* output
45 int RequestInformation(
46 vtkInformation* information,
47 vtkInformationVector** input,
48 vtkInformationVector* output
52 // Purposely not implemented
53 ImageIndexesContainerToPolyData( const Self& );
54 void operator=( const Self& );
57 const TIndexes* m_Indexes;
58 const TImage* m_ReferenceImage;
65 #ifndef ITK_MANUAL_INSTANTIATION
66 #include <cpExtensions/Visualization/ImageIndexesContainerToPolyData.hxx>
67 #endif // ITK_MANUAL_INSTANTIATION
69 #endif // __CPEXTENSIONS__VISUALIZATION__IMAGEINDEXESCONTAINERTOPOLYDATA__H__