36 #include "vtkObjectFactory.h"
37 #include <vtkPointData.h>
38 #include "vtkInformation.h"
39 #include "vtkInformationVector.h"
40 #include "vtkStreamingDemandDrivenPipeline.h"
47 this->SetNumberOfInputPorts(0);
58 this->Superclass::PrintSelf(os, indent);
64 vtkInformation *vtkNotUsed(request),
65 vtkInformationVector **vtkNotUsed(inputVector),
66 vtkInformationVector *outputVector)
72 vtkInformation *outInfo = outputVector->GetInformationObject(0);
75 vtkPolyData *output = vtkPolyData::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT()));
77 output->SetPoints(mSector->GetPoints());
78 output->GetPointData()->SetTCoords(mSector->GetPointData()->GetTCoords());
79 output->SetStrips(mSector->GetStrips());
86 vtkInformation *vtkNotUsed(request),
87 vtkInformationVector **vtkNotUsed(inputVector),
88 vtkInformationVector *outputVector)
91 vtkInformation *outInfo = outputVector->GetInformationObject(0);
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void PrintSelf(ostream &os, vtkIndent indent)
void setProbeSector(vtkPolyDataPtr sector)
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Source for an Ultrasound sector. The output vtkPolyData contains a polygon plus texture coordinates...
vtkStandardNewMacro(UltrasoundSectorSource)