#ifndef __FPA__VTK__UNIQUEVERTICESTOPOLYDATAFILTER__H__ #define __FPA__VTK__UNIQUEVERTICESTOPOLYDATAFILTER__H__ #include namespace fpa { namespace VTK { /** */ template< class U, class I > class UniqueVerticesToPolyDataFilter : public vtkPolyDataAlgorithm { public: typedef UniqueVerticesToPolyDataFilter Self; public: vtkTypeMacro( UniqueVerticesToPolyDataFilter, vtkPolyDataAlgorithm ); public: static Self* New( ); const U* GetInput( ) const; void SetInput( const U* c ); const I* GetImage( ) const; void SetImage( const I* i ); virtual unsigned long GetMTime( ); protected: UniqueVerticesToPolyDataFilter( ); virtual ~UniqueVerticesToPolyDataFilter( ); int RequestData( vtkInformation* information, vtkInformationVector** input, vtkInformationVector* output ); int RequestInformation( vtkInformation* information, vtkInformationVector** input, vtkInformationVector* output ); private: // Purposely not implemented UniqueVerticesToPolyDataFilter( const Self& ); void operator=( const Self& ); protected: typename U::ConstPointer m_Container; typename I::ConstPointer m_Image; unsigned long m_LastContainerModifiedTime; }; } // ecapseman } // ecapseman #include #endif // __FPA__VTK__UNIQUEVERTICESTOPOLYDATAFILTER__H__ // eof - $RCSfile$