ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkDefaultPixelAccessor.h>
Give access to partial aspects a type.
DefaultPixelAccessor is templated over an internal type and an external type representation. This class encapsulates a customized conversion between the internal and external type representations.
PixelAccessor is the class responsible for pixel-to-pixel transformation during image data access. The DefaultPixelAccessor is an identity operation on the pixel value. It only exist in order to standarize the way in which pixels are accessed.
PixelAccessor are used by ImageAdaptors in order to present an Image as being of a different type. The usual application of ImageAccessors is Image casting, by avoiding the overhead of an ImageFilter that performs the complete transformation
Definition at line 54 of file itkDefaultPixelAccessor.h.
Public Types | |
typedef TType | ExternalType |
typedef TType | InternalType |
Public Member Functions | |
DefaultPixelAccessor () | |
TType & | Get (TType &input) const |
const TType & | Get (const TType &input) const |
void | Set (TType &output, const TType &input) const |
virtual | ~DefaultPixelAccessor () |
typedef TType itk::DefaultPixelAccessor< TType >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit.
Definition at line 63 of file itkDefaultPixelAccessor.h.
typedef TType itk::DefaultPixelAccessor< TType >::InternalType |
Internal typedef. It defines the internal real representation of data.
Definition at line 67 of file itkDefaultPixelAccessor.h.
|
inline |
Definition at line 58 of file itkDefaultPixelAccessor.h.
|
inlinevirtual |
Definition at line 59 of file itkDefaultPixelAccessor.h.
|
inline |
Get the pixel.
Definition at line 74 of file itkDefaultPixelAccessor.h.
|
inline |
Get a const reference to the pixel.
Definition at line 78 of file itkDefaultPixelAccessor.h.
|
inline |
Set the pixel.
Definition at line 70 of file itkDefaultPixelAccessor.h.