1 #ifndef __cpExtensions__Visualization__LineSource__h__
2 #define __cpExtensions__Visualization__LineSource__h__
4 #include <cpExtensions/Config.h>
5 #include <vtkPolyDataAlgorithm.h>
7 // -------------------------------------------------------------------------
10 namespace Visualization
14 class cpExtensions_EXPORT LineSource
15 : public vtkPolyDataAlgorithm
18 typedef LineSource Self;
21 vtkTypeMacro( LineSource, vtkPolyDataAlgorithm );
23 vtkSetVector3Macro( Point1, double );
24 vtkSetVector3Macro( Point2, double );
25 vtkGetVectorMacro( Point1, double, 3 );
26 vtkGetVectorMacro( Point2, double, 3 );
31 void SetPoint1( float pnt[ 3 ] );
32 void SetPoint2( float pnt[ 3 ] );
36 virtual ~LineSource( );
38 virtual int RequestData(
39 vtkInformation* request,
40 vtkInformationVector** inputVector,
41 vtkInformationVector* outputVector
42 ) cpExtensions_OVERRIDE;
44 virtual int RequestInformation(
45 vtkInformation* request,
46 vtkInformationVector** inputVector,
47 vtkInformationVector* outputVector
48 ) cpExtensions_OVERRIDE;
51 // Purposely not implemented
52 LineSource( const Self& );
53 Self& operator=( const Self& );
64 #endif // __cpExtensions__Visualization__LineSource__h__