18 #ifndef __itkImportImageContainer_h
19 #define __itkImportImageContainer_h
44 template<
typename TElementIdentifier,
typename TElement >
74 bool LetContainerManageMemory =
false);
131 itkSetMacro(ContainerManageMemory,
bool);
132 itkGetConstMacro(ContainerManageMemory,
bool);
133 itkBooleanMacro(ContainerManageMemory);
155 itkSetMacro(
Size, TElementIdentifier);
163 itkSetMacro(
Capacity, TElementIdentifier);
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkImportImageContainer.hxx"
TElement & operator[](const ElementIdentifier id)
TElement * m_ImportPointer
ImportImageContainer Self
void SetImportPointer(TElement *ptr, TElementIdentifier num, bool LetContainerManageMemory=false)
SmartPointer< const Self > ConstPointer
Represent the size (bounds) of a n-dimensional image.
ElementIdentifier Capacity(void) const
void SetImportPointer(TElement *ptr)
const TElement & operator[](const ElementIdentifier id) const
virtual TElement * AllocateElements(ElementIdentifier size) const
void PrintSelf(std::ostream &os, Indent indent) const
TElementIdentifier m_Capacity
void operator=(const Self &)
SmartPointer< Self > Pointer
TElement * GetImportPointer()
TElementIdentifier m_Size
ElementIdentifier Size(void) const
virtual void DeallocateManagedMemory()
TElement * GetBufferPointer()
virtual ~ImportImageContainer()
void Reserve(ElementIdentifier num)
Control indentation during Print() invocation.
bool m_ContainerManageMemory
Base class for most ITK classes.
Defines an itk::Image front-end to a standard C-array.
TElementIdentifier ElementIdentifier