37 #ifndef AIMS_BORDER_BORDER_H 38 #define AIMS_BORDER_BORDER_H 59 Border(
int dimx,
int dimy,
int dimz,
int width=0);
67 int borderWidth()
const;
70 int oFirstPoint()
const;
72 int oLastPoint()
const;
76 int oPointBetweenLine()
const;
80 int oLineBetweenSlice()
const;
84 int oSliceBetweenVolume()
const;
114 void _setBorder(
int dimx,
int dimy,
int dimz,
int width);
124 _setBorder(dimx,dimy,dimz,width);
165 return _oPointBetweenLine;
179 return _oLineBetweenSlice;
193 return _oSliceBetweenVolume;
int _borderWidth
Border width.
int oLineBetweenSlice() const
Number of lines between 2 consecutive slices.
int _oLastPoint
Offset up to last point.
int _oSlice
Length of a slice.
int oPointBetweenLine() const
Offset between the end of a line and the start of the consecutive line.
int oLine() const
Offset between 2 consecutive lines.
The base class to manage borders on data containers.
The class for EcatSino data write operation.
int oSlice() const
Offset between 2 consecutive slices.
int _oPointBetweenLine
Offset between two consecutive lines.
int oLastPoint() const
Offset from the start of the allocated memory to the last point.
int _oSliceBetweenVolume
Offset between two consecutive volumes.
int oVolume() const
Offset between 2 consecutive volumes.
int _oFirstPoint
Offset up to first point.
int _oLineBetweenSlice
Offset between two consecutive slices.
Border(int dimx, int dimy, int dimz, int width=0)
The constructor precalculates offsets to speed-up access to data during loops.
int _oVolume
Length of a volume.
int oSliceBetweenVolume() const
Number of slices between 2 consecutive volumes.
int _oLine
Length of a line.
int oFirstPoint() const
Offset from the start of the allocated memory to the first point.
int borderWidth() const
Usefull offsets for A.I.M.S.