X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FInteraction%2FImageSlicePointPlacer.h;fp=lib%2FcpExtensions%2FInteraction%2FImageSlicePointPlacer.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=e0465d916ca6e977cdc0e8942a4af9456cb6be4e;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Interaction/ImageSlicePointPlacer.h b/lib/cpExtensions/Interaction/ImageSlicePointPlacer.h deleted file mode 100644 index e0465d9..0000000 --- a/lib/cpExtensions/Interaction/ImageSlicePointPlacer.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef __cpExtensions__Interaction__ImageSlicePointPlacer__h__ -#define __cpExtensions__Interaction__ImageSlicePointPlacer__h__ - -#include -#include - -class vtkBoundedPlanePointPlacer; -class vtkImageSlice; -class vtkRenderer; - -namespace cpExtensions -{ - namespace Interaction - { - /** - */ - class cpExtensions_EXPORT ImageSlicePointPlacer - : public vtkPointPlacer - { - public: - typedef ImageSlicePointPlacer Self; - vtkTypeMacro( ImageSlicePointPlacer, vtkPointPlacer ); - - vtkGetObjectMacro( ImageSlice, vtkImageSlice ); - vtkSetVector6Macro( Bounds, double ); - vtkGetVector6Macro( Bounds, double ); - - public: - static Self* New( ); - - int ComputeWorldPosition( - vtkRenderer* ren, - double displayPos[ 2 ], - double worldPos[ 3 ], - double worldOrient[ 9 ] - ); - int ComputeWorldPosition( - vtkRenderer* ren, - double displayPos[ 2 ], - double refWorldPos[ 2 ], - double worldPos[ 3 ], - double worldOrient[ 9 ] - ); - int ValidateWorldPosition( double worldPos[ 3 ] ); - int ValidateWorldPosition( - double worldPos[ 3 ], double worldOrient[ 9 ] - ); - int UpdateWorldPosition( - vtkRenderer* ren, double worldPos[ 3 ], double worldOrient[ 9 ] - ); - int UpdateInternalState( ); - - void SetImageSlice( vtkImageSlice* slice ); - virtual void SetWorldTolerance( double tol ); - - protected: - ImageSlicePointPlacer( ); - virtual ~ImageSlicePointPlacer( ); - - private: - // Purposely not implemented - ImageSlicePointPlacer( const Self& ); - Self& operator=( const Self& ); - - protected: - vtkImageSlice* ImageSlice; - vtkBoundedPlanePointPlacer* Placer; - double SavedBounds[ 6 ]; - double Bounds[ 6 ]; - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpExtensions__Interaction__ImageSlicePointPlacer__h__ - -// eof - $RCSfile$