1 #ifndef __cpExtensions__Visualization__ImageOutlineActor__h__
2 #define __cpExtensions__Visualization__ImageOutlineActor__h__
4 #include <cpExtensions/Config.h>
5 #include <vtkOpenGLActor.h>
6 #include <vtkSmartPointer.h>
8 // -------------------------------------------------------------------------
9 class vtkPolyDataMapper;
11 // -------------------------------------------------------------------------
12 namespace cpExtensions
14 namespace Visualization
16 class ImageOutlineSource;
20 class cpExtensions_EXPORT ImageOutlineActor
21 : public vtkOpenGLActor
24 typedef ImageOutlineActor Self;
27 vtkTypeMacro( ImageOutlineActor, vtkOpenGLActor );
32 virtual void Modified( ) cpExtensions_OVERRIDE;
34 void SetBounds( int orientation, double step, double* bounds );
38 virtual ~ImageOutlineActor( );
41 // Purposely not implemented
42 ImageOutlineActor( const Self& );
43 Self& operator=( const Self& );
46 static double Colors[ 3 ][ 3 ];
49 vtkSmartPointer< ImageOutlineSource > m_Outline;
50 vtkSmartPointer< vtkPolyDataMapper > m_Mapper;
57 #endif // __cpExtensions__Visualization__ImageOutlineActor__h__