I use vtk 5.6.0 in vtkImageData.h there are lines: // Description: // Set/Get the number of scalar components for points. As with the // SetScalarType method this is setting pipeline info. void SetNumberOfScalarComponents( int n ); int GetNumberOfScalarComponents();