int* aMainImageSize = aMainImageData->GetDimensions();
int* anAlphaImageSize = anAlphaImageData->GetDimensions();
if(aMainImageSize[0] != anAlphaImageSize[0] || aMainImageSize[1] != anAlphaImageSize[1])
- throw std::runtime_error("GaussPoints_i::MakeTexture : aMainImageSize[0] != anAlphaImageSize[0] || aMainImageSize[1] != anAlphaImageSize[1]");
+ return NULL;
int aNbCompositeComponents = 4;
vtkImageData* aCompositeImageData = vtkImageData::New();