}
//--------------------------------------------------------------------
+
//--------------------------------------------------------------------
void vvImage::UpdateReslice()
{
}
//--------------------------------------------------------------------
+
+//--------------------------------------------------------------------
+bool vvImage::HaveSameSizeAndSpacingThan(vvImage * other)
+{
+ bool same = true;
+ for(int i=0; i<GetNumberOfDimensions(); i++) {
+ if ( GetSize()[i] != other->GetSize()[i]) same = false;
+ if ( GetSpacing()[i] != other->GetSpacing()[i]) same = false;
+ }
+ return same;
+}
+//--------------------------------------------------------------------
+
+
#endif // VVIMAGE_CXX
void SetTimeSpacing(double s) { mTimeSpacing = s; }
void SetTimeOrigin(double o) { mTimeOrigin = o; }
void UpdateReslice();
+ bool HaveSameSizeAndSpacingThan(vvImage * other);
private:
vvImage();