Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

const double * gdcm::Image::GetSpacing (  )  const

Return a 3-tuples specifying the spacing NOTE: 3rd value can be an aribtrary 1 value when the spacing was not specified (ex. 2D image). WARNING: when the spacing is not specifier, a default value of 1 will be returned

Definition at line 28 of file gdcmImage.cxx.

Referenced by gdcm::SplitMosaicFilter::Split(), and gdcm::ImageWriter::Write().

  assert( NumberOfDimensions );
  return &Spacing[0];

Generated by  Doxygen 1.6.0   Back to index