ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkSparseImage.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef WeakPointer< const Self > | ConstWeakPointer |
typedef Superclass::IndexType | IndexType |
typedef Superclass::IOPixelType | IOPixelType |
typedef NeighborhoodAccessorFunctor < Self > | NeighborhoodAccessorFunctorType |
typedef SparseFieldLayer < NodeType > | NodeListType |
typedef ObjectStore< NodeType > | NodeStoreType |
typedef TNode | NodeType |
typedef SmartPointer< Self > | Pointer |
typedef SparseImage | Self |
typedef Image< TNode *, VImageDimension > | Superclass |
Public Types inherited from itk::Image< TNode *, VImageDimension > | |
typedef DefaultPixelAccessorFunctor < Self > | AccessorFunctorType |
typedef DefaultPixelAccessor < PixelType > | AccessorType |
typedef Superclass::DirectionType | DirectionType |
typedef Superclass::IndexValueType | IndexValueType |
typedef TNode * | InternalPixelType |
typedef Superclass::OffsetType | OffsetType |
typedef Superclass::OffsetValueType | OffsetValueType |
typedef ImportImageContainer < SizeValueType, PixelType > | PixelContainer |
typedef PixelContainer::ConstPointer | PixelContainerConstPointer |
typedef PixelContainer::Pointer | PixelContainerPointer |
typedef TNode * | PixelType |
typedef Superclass::PointType | PointType |
typedef Superclass::RegionType | RegionType |
typedef Superclass::SizeType | SizeType |
typedef Superclass::SizeValueType | SizeValueType |
typedef Superclass::SpacingType | SpacingType |
typedef Superclass::SpacingValueType | SpacingValueType |
typedef TNode * | ValueType |
Public Types inherited from itk::ImageBase< VImageDimension > | |
typedef double | PointValueType |
Public Types inherited from itk::DataObject | |
typedef std::string | DataObjectIdentifierType |
typedef std::vector< Pointer > ::size_type | DataObjectPointerArraySizeType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () |
const NeighborhoodAccessorFunctorType | GetNeighborhoodAccessor () const |
NodeListType * | GetNodeList () |
virtual void | Initialize () |
NodeType * | AddNode (const IndexType &index) |
Public Member Functions inherited from itk::Image< TNode *, VImageDimension > | |
void | Allocate () |
void | FillBuffer (const TNode *&value) |
virtual unsigned int | GetNumberOfComponentsPerPixel () const |
const TNode *& | GetPixel (const IndexType &index) const |
TNode *& | GetPixel (const IndexType &index) |
AccessorType | GetPixelAccessor (void) |
const AccessorType | GetPixelAccessor (void) const |
PixelContainer * | GetPixelContainer () |
const PixelContainer * | GetPixelContainer () const |
virtual void | Graft (const DataObject *data) |
TNode *& | operator[] (const IndexType &index) |
const TNode *& | operator[] (const IndexType &index) const |
void | SetPixel (const IndexType &index, const TNode *&value) |
void | SetPixelContainer (PixelContainer *container) |
virtual TNode ** | GetBufferPointer () |
virtual const TNode ** | GetBufferPointer () const |
Public Member Functions inherited from itk::ImageBase< VImageDimension > | |
OffsetValueType | ComputeOffset (const IndexType &ind) const |
virtual void | CopyInformation (const DataObject *data) |
virtual const RegionType & | GetBufferedRegion () const |
virtual const DirectionType & | GetDirection () |
virtual const DirectionType & | GetInverseDirection () |
virtual const RegionType & | GetLargestPossibleRegion () const |
virtual const PointType & | GetOrigin () |
virtual const RegionType & | GetRequestedRegion () const |
virtual const SpacingType & | GetSpacing () |
virtual bool | RequestedRegionIsOutsideOfTheBufferedRegion () |
virtual void | SetBufferedRegion (const RegionType ®ion) |
virtual void | SetDirection (const DirectionType direction) |
virtual void | SetLargestPossibleRegion (const RegionType ®ion) |
virtual void | SetRegions (const SizeType &size) |
virtual void | SetRequestedRegion (const RegionType ®ion) |
virtual void | SetRequestedRegion (const DataObject *data) |
virtual void | SetRequestedRegionToLargestPossibleRegion () |
template<class TCoordRep > | |
void | TransformLocalVectorToPhysicalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
template<class TCoordRep > | |
bool | TransformPhysicalPointToContinuousIndex (const Point< TCoordRep, VImageDimension > &point, ContinuousIndex< TCoordRep, VImageDimension > &index) const |
template<class TCoordRep > | |
bool | TransformPhysicalPointToIndex (const Point< TCoordRep, VImageDimension > &point, IndexType &index) const |
template<class TCoordRep > | |
void | TransformPhysicalVectorToLocalVector (const FixedArray< TCoordRep, VImageDimension > &inputGradient, FixedArray< TCoordRep, VImageDimension > &outputGradient) const |
virtual void | UpdateOutputData () |
virtual void | UpdateOutputInformation () |
virtual bool | VerifyRequestedRegion () |
virtual void | SetOrigin (PointType _arg) |
virtual void | SetOrigin (const double origin[VImageDimension]) |
virtual void | SetOrigin (const float origin[VImageDimension]) |
virtual void | SetRegions (const RegionType ®ion) |
const OffsetValueType * | GetOffsetTable () const |
IndexType | ComputeIndex (OffsetValueType offset) const |
virtual void | SetSpacing (const SpacingType &spacing) |
virtual void | SetSpacing (const double spacing[VImageDimension]) |
virtual void | SetSpacing (const float spacing[VImageDimension]) |
template<class TCoordRep > | |
void | TransformContinuousIndexToPhysicalPoint (const ContinuousIndex< TCoordRep, VImageDimension > &index, Point< TCoordRep, VImageDimension > &point) const |
template<class TCoordRep > | |
void | TransformIndexToPhysicalPoint (const IndexType &index, Point< TCoordRep, VImageDimension > &point) const |
virtual void | SetNumberOfComponentsPerPixel (unsigned int) |
Public Member Functions inherited from itk::DataObject | |
virtual void | DataHasBeenGenerated () |
void | DisconnectPipeline () |
bool | GetDataReleased () const |
virtual const bool & | GetReleaseDataFlag () |
SmartPointerForwardReference < ProcessObject > | GetSource () const |
DataObjectPointerArraySizeType | GetSourceOutputIndex () const |
const DataObjectIdentifierType & | GetSourceOutputName () const |
virtual unsigned long | GetUpdateMTime () const |
virtual void | PrepareForNewData () |
virtual void | PropagateRequestedRegion () |
void | ReleaseData () |
virtual void | ReleaseDataFlagOff () |
virtual void | ReleaseDataFlagOn () |
virtual void | ResetPipeline () |
void | SetReleaseDataFlag (bool flag) |
bool | ShouldIReleaseData () const |
virtual void | Update () |
void | SetPipelineMTime (unsigned long time) |
virtual const unsigned long & | GetPipelineMTime () |
virtual void | SetRealTimeStamp (RealTimeStamp _arg) |
virtual const RealTimeStamp & | GetRealTimeStamp () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
Static Public Attributes inherited from itk::Image< TNode *, VImageDimension > | |
Static Public Attributes inherited from itk::ImageBase< VImageDimension > |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
SparseImage () | |
~SparseImage () | |
Protected Member Functions inherited from itk::Image< TNode *, VImageDimension > | |
virtual void | ComputeIndexToPhysicalPointMatrices () |
Image () | |
virtual | ~Image () |
Protected Member Functions inherited from itk::ImageBase< VImageDimension > | |
void | ComputeOffsetTable () |
ImageBase () | |
virtual void | InitializeBufferedRegion (void) |
~ImageBase () | |
Protected Member Functions inherited from itk::DataObject | |
virtual void | PropagateResetPipeline () |
DataObject () | |
~DataObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
void | operator= (const Self &) |
SparseImage (const Self &) |
Private Attributes | |
NodeListType::Pointer | m_NodeList |
NodeStoreType::Pointer | m_NodeStore |
A storage type for sparse image data.
Definition at line 67 of file itkSparseImage.h.
typedef SmartPointer< const Self > itk::SparseImage< TNode, VImageDimension >::ConstPointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 74 of file itkSparseImage.h.
typedef WeakPointer< const Self > itk::SparseImage< TNode, VImageDimension >::ConstWeakPointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 75 of file itkSparseImage.h.
typedef Superclass::IndexType itk::SparseImage< TNode, VImageDimension >::IndexType |
Types derived from the Superclass
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 91 of file itkSparseImage.h.
typedef Superclass::IOPixelType itk::SparseImage< TNode, VImageDimension >::IOPixelType |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 98 of file itkSparseImage.h.
typedef NeighborhoodAccessorFunctor< Self > itk::SparseImage< TNode, VImageDimension >::NeighborhoodAccessorFunctorType |
Tyepdef for the functor used to access a neighborhood of pixel pointers.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 96 of file itkSparseImage.h.
typedef SparseFieldLayer< NodeType > itk::SparseImage< TNode, VImageDimension >::NodeListType |
The list types for storing the active pixels.
Definition at line 101 of file itkSparseImage.h.
typedef ObjectStore< NodeType > itk::SparseImage< TNode, VImageDimension >::NodeStoreType |
Definition at line 102 of file itkSparseImage.h.
typedef TNode itk::SparseImage< TNode, VImageDimension >::NodeType |
The actual sparse pixel type.
Definition at line 88 of file itkSparseImage.h.
typedef SmartPointer< Self > itk::SparseImage< TNode, VImageDimension >::Pointer |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 73 of file itkSparseImage.h.
typedef SparseImage itk::SparseImage< TNode, VImageDimension >::Self |
Standard typedefs.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 71 of file itkSparseImage.h.
typedef Image< TNode *, VImageDimension > itk::SparseImage< TNode, VImageDimension >::Superclass |
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 72 of file itkSparseImage.h.
|
protected |
|
inlineprotected |
Definition at line 139 of file itkSparseImage.h.
|
private |
|
inline |
This function should be used to allocate memory for a variable at the desired pixel location.
Definition at line 116 of file itkSparseImage.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
inline |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 106 of file itkSparseImage.h.
|
inline |
Return the NeighborhoodAccessor functor. This method is called by the neighborhood iterators.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 111 of file itkSparseImage.h.
|
inline |
This function returns the allocated node list which can be used to iterate through the valid nodes.
Definition at line 128 of file itkSparseImage.h.
|
virtual |
This function initializes the m_NodeList and m_NodeStore variables, and calls the superclass Initialize method.
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
private |
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
protectedvirtual |
Method for grafting the content of one data object into another one. This method is intended to be overloaded by derived classes. Each one of them should use dynamic_casting in order to verify that the grafted object is actually of the same type as the class on which the Graft() method was invoked.
Reimplemented from itk::Image< TNode *, VImageDimension >.
|
static |
Dimension of the image.
Reimplemented from itk::Image< TNode *, VImageDimension >.
Definition at line 85 of file itkSparseImage.h.
|
private |
The variables for storing the node variables.
Definition at line 145 of file itkSparseImage.h.
|
private |
Definition at line 147 of file itkSparseImage.h.