Lines Matching refs:ImageData
55 this->ImageData = vtkSmartPointer<vtkImageData>::New(); in vtkImageMatSource()
62 outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->ImageData->GetExtent(), 6); in RequestInformation()
66 …ataObject::SetPointDataActiveScalarInfo(outInfo, this->ImageData->GetScalarType(), this->ImageData… in RequestInformation()
75 output->ShallowCopy(this->ImageData); in RequestData()
85 this->ImageData->SetDimensions(image.cols, image.rows, 1); in SetImage()
87 this->ImageData->SetNumberOfScalarComponents(image.channels()); in SetImage()
88 this->ImageData->SetScalarTypeToUnsignedChar(); in SetImage()
89 this->ImageData->AllocateScalars(); in SetImage()
91 this->ImageData->AllocateScalars(VTK_UNSIGNED_CHAR, image.channels()); in SetImage()
96 case 1: copyGrayImage(image, this->ImageData); break; in SetImage()
97 case 3: copyRGBImage (image, this->ImageData); break; in SetImage()
98 case 4: copyRGBAImage(image, this->ImageData); break; in SetImage()
100 this->ImageData->Modified(); in SetImage()