Is there, or could there be if there isn't, a simple macro defined in vtkSetGet.h that would return the max or min of a given type: (I know this isn't right, but you get the picture) T GetMax(T) { switch(T) { case float: return (T)VTK_FLOAT_MAX; etc. etc. } } Dean