7 #ifndef __vtkPlusUsScanConvert_h 8 #define __vtkPlusUsScanConvert_h 10 #include "vtkPlusImageProcessingExport.h" 11 #include "vtkThreadedImageAlgorithm.h" 22 virtual void PrintSelf(ostream& os, vtkIndent indent)
VTK_OVERRIDE;
24 virtual const char* GetTransducerGeometry() = 0;
27 vtkSetStringMacro(TransducerName);
29 vtkGetStringMacro(TransducerName);
32 vtkSetVector3Macro(OutputImageSpacing,
double);
34 vtkGetVector3Macro(OutputImageSpacing,
double);
37 virtual PlusStatus ReadConfiguration(vtkXMLDataElement* scanConversionElement);
40 virtual PlusStatus WriteConfiguration(vtkXMLDataElement* scanConversionElement);
42 vtkGetVector6Macro(OutputImageExtent,
int);
43 vtkGetVector6Macro(InputImageExtent,
int);
44 vtkSetVector6Macro(InputImageExtent,
int);
47 virtual FrameSizeType GetOutputImageSizePixel();
53 virtual vtkImageData* GetOutput() = 0;
56 virtual void SetInputData(vtkDataObject* input) { vtkThreadedImageAlgorithm::SetInputData(input); };
64 virtual PlusStatus GetScanLineEndPoints(
int scanLineIndex,
double scanlineStartPoint_OutputImage[4],
double scanlineEndPoint_OutputImage[4]) = 0;
67 virtual double GetDistanceBetweenScanlineSamplePointsMm() = 0;
77 int OutputImageExtent[6];
83 double TransducerCenterPixel[2];
92 double OutputImageSpacing[3];
100 int InputImageExtent[6];
bool TransducerCenterPixelSpecified
virtual void SetInputData(vtkDataObject *input)
This is a base class for defining a common scan conversion algorithm interface for all kinds of probe...