X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FImageViewerActors.h;fp=lib%2FcpExtensions%2FVisualization%2FImageViewerActors.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=b12e9c8b618ea229fd77cfcdb7c3a7175bb87ac9;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/ImageViewerActors.h b/lib/cpExtensions/Visualization/ImageViewerActors.h deleted file mode 100644 index b12e9c8..0000000 --- a/lib/cpExtensions/Visualization/ImageViewerActors.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef __cpExtensions__Visualization__ImageViewerActors__h__ -#define __cpExtensions__Visualization__ImageViewerActors__h__ - -#include -#include - -// ------------------------------------------------------------------------- -class vtkTextActor; - -// ------------------------------------------------------------------------- -namespace cpExtensions -{ - namespace Visualization - { - class CursorActors; - - /** - */ - class cpExtensions_EXPORT ImageViewerActors - : public ImageSliceActors - { - public: - typedef ImageViewerActors Self; - - public: - vtkTypeMacro( ImageViewerActors, ImageSliceActors ); - - public: - static Self* New( ); - - virtual void SetImage( - vtkImageData* image, int orientation - ) cpExtensions_OVERRIDE; - - void SetCursor( double* pos, bool neg ); - void SetSuperCursor( double* pos, bool neg ); - void HideViewerActors( ); - - protected: - ImageViewerActors( ); - virtual ~ImageViewerActors( ); - - void _CorrectPosition( double* pos, int* ijk ); - void _ShowText( double* pos ); - - private: - // Purposely not implemented - ImageViewerActors( const Self& ); - Self& operator=( const Self& ); - - protected: - vtkSmartPointer< CursorActors > m_Cursor; - vtkSmartPointer< CursorActors > m_SuperCursor; - vtkSmartPointer< vtkTextActor > m_Text; - char m_TextBuffer[ 1024 ]; - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpExtensions__Visualization__ImageViewerActors__h__ - -// eof - $RCSfile$