+++ /dev/null
-#ifndef __cpExtensions__Visualization__LineSource__h__
-#define __cpExtensions__Visualization__LineSource__h__
-
-#include <cpExtensions/Config.h>
-#include <vtkPolyDataAlgorithm.h>
-
-// -------------------------------------------------------------------------
-namespace cpExtensions
-{
- namespace Visualization
- {
- /**
- */
- class cpExtensions_EXPORT LineSource
- : public vtkPolyDataAlgorithm
- {
- public:
- typedef LineSource Self;
-
- public:
- vtkTypeMacro( LineSource, vtkPolyDataAlgorithm );
-
- vtkSetVector3Macro( Point1, double );
- vtkSetVector3Macro( Point2, double );
- vtkGetVectorMacro( Point1, double, 3 );
- vtkGetVectorMacro( Point2, double, 3 );
-
- public:
- static Self* New( );
-
- void SetPoint1( float pnt[ 3 ] );
- void SetPoint2( float pnt[ 3 ] );
-
- protected:
- LineSource( );
- virtual ~LineSource( );
-
- virtual int RequestData(
- vtkInformation* request,
- vtkInformationVector** inputVector,
- vtkInformationVector* outputVector
- ) cpExtensions_OVERRIDE;
-
- virtual int RequestInformation(
- vtkInformation* request,
- vtkInformationVector** inputVector,
- vtkInformationVector* outputVector
- ) cpExtensions_OVERRIDE;
-
- private:
- // Purposely not implemented
- LineSource( const Self& );
- Self& operator=( const Self& );
-
- protected:
- double Point1[ 3 ];
- double Point2[ 3 ];
- };
-
- } // ecapseman
-
-} // ecapseman
-
-#endif // __cpExtensions__Visualization__LineSource__h__
-
-// eof - $RCSfile$