15 #include "vtkObjectFactory.h" 16 #include <vtkPointData.h> 17 #include "vtkInformation.h" 18 #include "vtkInformationVector.h" 19 #include "vtkStreamingDemandDrivenPipeline.h" 26 this->SetNumberOfInputPorts(0);
37 this->Superclass::PrintSelf(os, indent);
43 vtkInformation *vtkNotUsed(request),
44 vtkInformationVector **vtkNotUsed(inputVector),
45 vtkInformationVector *outputVector)
51 vtkInformation *outInfo = outputVector->GetInformationObject(0);
54 vtkPolyData *output = vtkPolyData::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT()));
56 output->SetPoints(mSector->GetPoints());
57 output->GetPointData()->SetTCoords(mSector->GetPointData()->GetTCoords());
58 output->SetStrips(mSector->GetStrips());
65 vtkInformation *vtkNotUsed(request),
66 vtkInformationVector **vtkNotUsed(inputVector),
67 vtkInformationVector *outputVector)
70 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)