#include <itkImageContainerInterface.h>
Inheritance diagram for itk::ImageContainerInterface< TElementIdentifier, TElement >:
Public Types | |
typedef ImageContainerInterface | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TElementIdentifier | ElementIdentifier |
typedef TElement | Element |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual TElement & | operator[] (const ElementIdentifier)=0 |
virtual const TElement & | operator[] (const ElementIdentifier) const =0 |
virtual TElement * | GetBufferPointer ()=0 |
virtual unsigned long | Size (void) const =0 |
virtual void | Reserve (ElementIdentifier)=0 |
virtual void | Squeeze (void)=0 |
Note that many comments refer to a "default element" or "default element value". This value is equal to the default constructor of the Element type. Also note that all non-const methods assume that the container was modified, and update the modification time.
Template parameters for ImageContainerInterface:
TElementIdentifier = A type that shall be used to index the container. It must have a < operator defined for ordering.
TElement = The element type stored in the container.
Definition at line 53 of file itkImageContainerInterface.h.
|
Reimplemented from itk::Object. Definition at line 60 of file itkImageContainerInterface.h. |
|
Definition at line 67 of file itkImageContainerInterface.h. |
|
Save the template parameters. Definition at line 66 of file itkImageContainerInterface.h. |
|
Reimplemented from itk::Object. Definition at line 59 of file itkImageContainerInterface.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 57 of file itkImageContainerInterface.h. |
|
Reimplemented from itk::Object. Definition at line 58 of file itkImageContainerInterface.h. |
|
Return a pointer to the beginning of the buffer. This is used by the image iterator class. |
|
Standard part of every itk Object. Reimplemented from itk::Object.
|
|
Index operator. This version can only be an rvalue |
|
Index operator. This version can be an lvalue. |
|
Tell the container to allocate enough memory to allow at least as many elements as the size given to be stored. This is NOT guaranteed to actually allocate any memory, but is useful if the implementation of the container allocates contiguous storage. |
|
Get the number of elements currently stored in the container. |
|
Tell the container to try to minimize its memory usage for storage of the current number of elements. This is NOT guaranteed to decrease memory usage. |