Orfeo Toolbox  3.16
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
itk::ImageMaskSpatialObject< TDimension > Class Template Reference

Implementation of an image mask as spatial object. More...

#include <itkImageMaskSpatialObject.h>

+ Inheritance diagram for itk::ImageMaskSpatialObject< TDimension >:
+ Collaboration diagram for itk::ImageMaskSpatialObject< TDimension >:

List of all members.

Public Types

typedef
AffineGeometryFrameType::Pointer 
AffineGeometryFramePointer
typedef AffineGeometryFrame
< double, TDimension > 
AffineGeometryFrameType
typedef BoundingBoxType::Pointer BoundingBoxPointer
typedef Superclass::BoundingBoxType BoundingBoxType
typedef ChildrenListTypeChildrenListPointer
typedef std::list< PointerChildrenListType
typedef SmartPointer< const SelfConstPointer
typedef CovariantVector
< ScalarType, TDimension > 
CovariantVectorType
typedef Superclass::ImagePointer ImagePointer
typedef Superclass::ImageType ImageType
typedef Superclass::IndexType IndexType
typedef IndexType::IndexValueType IndexValueType
typedef Point< ScalarType,
TDimension > 
InputType
typedef
InterpolateImageFunction
< ImageType
InterpolatorType
typedef
NearestNeighborInterpolateImageFunction
< ImageType
NNInterpolatorType
typedef Offset< TDimension > OffsetType
typedef OffsetType::OffsetValueType OffsetValueType
typedef OutputVectorTypeOutputVectorPointer
typedef CovariantVector
< double, TDimension > 
OutputVectorType
typedef Superclass::PixelType PixelType
typedef PointContainerType::Pointer PointContainerPointer
typedef VectorContainer
< unsigned long, PointType
PointContainerType
typedef SmartPointer< SelfPointer
typedef PointTypePointPointer
typedef Superclass::PointType PointType
typedef PropertyType::Pointer PropertyPointer
typedef SpatialObjectProperty
< float > 
PropertyType
typedef Superclass::RegionType RegionType
typedef Superclass::ScalarType ScalarType
typedef ImageMaskSpatialObject
< TDimension > 
Self
typedef Superclass::SizeType SizeType
typedef
itk::ImageSliceConstIteratorWithIndex
< ImageType
SliceIteratorType
typedef double * SpacingType
typedef ImageSpatialObject
< TDimension > 
Superclass
typedef const TransformTypeTransformConstPointer
typedef TransformType::Pointer TransformPointer
typedef Superclass::TransformType TransformType
typedef SpatialObjectTreeNode
< TDimension > 
TreeNodeType
typedef VectorContainer
< unsigned long int, PointType
VectorContainerType
typedef VectorTypeVectorPointer
typedef Vector< ScalarType,
TDimension > 
VectorType

Public Member Functions

unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
void AddSpatialObject (Self *pointer)
virtual void Clear (void)
virtual bool ComputeBoundingBox () const
IndexType ComputeIndex (OffsetValueType offset) const
bool ComputeLocalBoundingBox () const
void ComputeObjectToParentTransform (void)
void ComputeObjectToWorldTransform (void)
OffsetValueType ComputeOffset (const IndexType &ind) const
virtual void CopyInformation (const DataObject *data)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void DataHasBeenGenerated ()
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual void DerivativeAt (const PointType &point, short unsigned int order, OutputVectorType &value, unsigned int depth=0, char *name=NULL)
void DisconnectPipeline ()
bool Evaluate (const PointType &point) const
virtual const
AffineGeometryFrameType
GetAffineGeometryFrame ()
RegionType GetAxisAlignedBoundingBoxRegion () const
virtual BoundingBoxTypeGetBoundingBox () const
virtual const unsigned int & GetBoundingBoxChildrenDepth ()
virtual const std::string & GetBoundingBoxChildrenName ()
virtual const RegionTypeGetBufferedRegion () const
virtual ChildrenListTypeGetChildren (unsigned int depth=0, char *name=NULL) const
CommandGetCommand (unsigned long tag)
bool GetDataReleased () const
bool GetDebug () const
virtual double GetDefaultInsideValue () const
virtual double GetDefaultOutsideValue () const
virtual const int & GetId ()
const ImageTypeGetImage (void) const
TransformTypeGetIndexToObjectTransform (void)
const TransformTypeGetIndexToObjectTransform (void) const
virtual TransformTypeGetIndexToWorldTransform ()
virtual const TransformTypeGetIndexToWorldTransform ()
virtual InterpolatorTypeGetInterpolator ()
virtual const RegionTypeGetLargestPossibleRegion () const
unsigned int GetMaximumDepth ()
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
unsigned long GetMTime (void) const
virtual const char * GetNameOfClass () const
TransformTypeGetNodeToParentNodeTransform (void)
const TransformTypeGetNodeToParentNodeTransform (void) const
unsigned int GetNumberOfChildren (unsigned int depth=0, char *name=NULL) const
unsigned int GetObjectDimension (void) const
unsigned long GetObjectMTime (void) const
TransformTypeGetObjectToNodeTransform (void)
const TransformTypeGetObjectToNodeTransform (void) const
TransformTypeGetObjectToParentTransform (void)
const TransformTypeGetObjectToParentTransform (void) const
virtual TransformTypeGetObjectToWorldTransform ()
virtual const TransformTypeGetObjectToWorldTransform ()
const OffsetValueTypeGetOffsetTable () const
virtual const SelfGetParent (void) const
virtual SelfGetParent (void)
virtual const int & GetParentId ()
virtual const unsigned long & GetPipelineMTime ()
const char * GetPixelType ()
PropertyTypeGetProperty (void)
const PropertyTypeGetProperty (void) const
virtual int GetReferenceCount () const
virtual const bool & GetReleaseDataFlag ()
virtual const RegionTypeGetRequestedRegion () const
int GetSlicePosition (unsigned int dimension)
SmartPointerForwardReference
< ProcessObject
GetSource () const
unsigned int GetSourceOutputIndex () const
virtual const double * GetSpacing () const
virtual std::string GetSpatialObjectTypeAsString () const
unsigned long GetTransformMTime (void)
virtual TreeNodeTypeGetTreeNode ()
virtual const TreeNodeTypeGetTreeNode ()
virtual const char * GetTypeName (void) const
virtual unsigned long GetUpdateMTime () const
unsigned long GetWorldTransformMTime (void)
virtual void Graft (const DataObject *)
bool HasObserver (const EventObject &event) const
virtual bool HasParent (void) const
virtual void Initialize ()
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
bool IsEvaluableAt (const PointType &point, unsigned int depth=0, char *name=NULL) const
bool IsInside (const PointType &point, unsigned int depth, char *name) const
virtual bool IsInside (const PointType &point) const
bool IsInside (const PointType &point, unsigned int depth, char *name) const
bool IsInside (const PointType &point) const
virtual void Modified () const
virtual void PrepareForNewData ()
void Print (std::ostream &os, Indent indent=0) const
virtual void PropagateRequestedRegion ()
virtual void Register () const
void ReleaseData ()
virtual void ReleaseDataFlagOff ()
virtual void ReleaseDataFlagOn ()
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void RemoveSpatialObject (Self *object)
virtual bool RequestedRegionIsOutsideOfTheBufferedRegion ()
virtual void ResetPipeline ()
virtual void SetAffineGeometryFrame (AffineGeometryFrameType *_arg)
virtual void SetBoundingBoxChildrenDepth (unsigned int _arg)
virtual void SetBoundingBoxChildrenName (std::string _arg)
virtual void SetBufferedRegion (const RegionType &region)
void SetChildren (ChildrenListType &children)
void SetDebug (bool debugFlag) const
virtual void SetDefaultInsideValue (double _arg)
virtual void SetDefaultOutsideValue (double _arg)
virtual void SetId (int _arg)
void SetImage (const ImageType *image)
void SetInterpolator (InterpolatorType *interpolator)
virtual void SetLargestPossibleRegion (const RegionType &region)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
void SetNodeToParentNodeTransform (TransformType *transform)
void SetObjectToParentTransform (TransformType *transform)
void SetObjectToWorldTransform (TransformType *transform)
void SetParent (Self *parent)
virtual void SetParentId (int _arg)
void SetPipelineMTime (unsigned long time)
void SetProperty (PropertyType *property)
virtual void SetReferenceCount (int)
void SetReleaseDataFlag (bool flag)
virtual void SetRequestedRegion (const RegionType &region)
virtual void SetRequestedRegion (DataObject *data)
virtual void SetRequestedRegionToLargestPossibleRegion ()
void SetSlicePosition (unsigned int dimension, int position)
void SetSpacing (const double spacing[itkGetStaticConstMacro(ObjectDimension)])
virtual void SetTreeNode (TreeNodeType *_arg)
bool ShouldIReleaseData () const
virtual void UnRegister () const
virtual void Update (void)
virtual void UpdateOutputData ()
virtual void UpdateOutputInformation ()
bool ValueAt (const PointType &point, double &value, unsigned int depth=0, char *name=NULL) const
virtual bool VerifyRequestedRegion ()

Static Public Member Functions

static void BreakOnError ()
static bool GetGlobalReleaseDataFlag ()
static bool GetGlobalWarningDisplay ()
static void GlobalReleaseDataFlagOff ()
static void GlobalReleaseDataFlagOn ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static Pointer New ()
static void SetGlobalReleaseDataFlag (bool val)
static void SetGlobalWarningDisplay (bool flag)

Static Public Attributes

static const unsigned int MaximumDepth = 9999999
static const unsigned int ObjectDimension = TDimension

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 ImageMaskSpatialObject (const Self &)
 ImageMaskSpatialObject ()
virtual ~ImageMaskSpatialObject ()
void ComputeOffsetTable ()
virtual const BoundingBoxTypeGetBounds ()
virtual const unsigned int & GetDimension ()
virtual const TransformTypeGetInternalInverseTransform ()
void operator= (const Self &)
virtual void PrintHeader (std::ostream &os, Indent indent) const
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual void PropagateResetPipeline ()
virtual void SetDimension (unsigned int _arg)
bool SetInternalInverseTransformToWorldToIndexTransform () const
virtual void SetTypeName (std::string _arg)

Protected Attributes

ImagePointer m_Image
InterpolatorType::Pointer m_Interpolator
std::string m_PixelType
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
int * m_SlicePosition

Detailed Description

template<unsigned int TDimension = 3>
class itk::ImageMaskSpatialObject< TDimension >

Implementation of an image mask as spatial object.

This class derives from the ImageSpatialObject and overloads the IsInside() method. One of the common uses of this class is to serve as Mask for the Image Registration Metrics.

See also:
ImageSpatialObject SpatialObject CompositeSpatialObject

Definition at line 38 of file itkImageMaskSpatialObject.h.


Member Typedef Documentation

template<unsigned int TDimension = 3>
typedef AffineGeometryFrameType::Pointer itk::SpatialObject< TDimension >::AffineGeometryFramePointer
inherited

Definition at line 114 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef AffineGeometryFrame<double,TDimension> itk::SpatialObject< TDimension >::AffineGeometryFrameType
inherited

Definition at line 113 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef BoundingBoxType::Pointer itk::SpatialObject< TDimension >::BoundingBoxPointer
inherited

Definition at line 111 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::BoundingBoxType itk::ImageMaskSpatialObject< TDimension >::BoundingBoxType
template<unsigned int TDimension = 3>
typedef ChildrenListType* itk::SpatialObject< TDimension >::ChildrenListPointer
inherited

Definition at line 118 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef std::list< Pointer > itk::SpatialObject< TDimension >::ChildrenListType
inherited

Return type for the list of children

Reimplemented in itk::PolygonGroupSpatialObject< TDimension >.

Definition at line 117 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer< const Self > itk::ImageMaskSpatialObject< TDimension >::ConstPointer
template<unsigned int TDimension = 3>
typedef CovariantVector<ScalarType, TDimension > itk::SpatialObject< TDimension >::CovariantVectorType
inherited
template<unsigned int TDimension = 3>
typedef Superclass::ImagePointer itk::ImageMaskSpatialObject< TDimension >::ImagePointer
template<unsigned int TDimension = 3>
typedef Superclass::ImageType itk::ImageMaskSpatialObject< TDimension >::ImageType
template<unsigned int TDimension = 3>
typedef Superclass::IndexType itk::ImageMaskSpatialObject< TDimension >::IndexType

Index typedef support. An index is used to access pixel values.

Reimplemented from itk::ImageSpatialObject< TDimension, unsigned char >.

Definition at line 53 of file itkImageMaskSpatialObject.h.

template<unsigned int TDimension = 3>
typedef IndexType::IndexValueType itk::SpatialObject< TDimension >::IndexValueType
inherited

Definition at line 123 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Point< ScalarType, TDimension > itk::SpatialObject< TDimension >::InputType
inherited

Definition at line 91 of file itkSpatialObject.h.

typedef int itk::LightObject::InternalReferenceCountType
protectedinherited

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 137 of file itkLightObject.h.

typedef InterpolateImageFunction<ImageType> itk::ImageSpatialObject< TDimension, unsigned char >::InterpolatorType
inherited

Definition at line 62 of file itkImageSpatialObject.h.

Definition at line 65 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Offset<TDimension> itk::SpatialObject< TDimension >::OffsetType
inherited

Offset typedef support. An offset represent relative position between indices.

Definition at line 127 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef OffsetType::OffsetValueType itk::SpatialObject< TDimension >::OffsetValueType
inherited

Definition at line 128 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef OutputVectorType* itk::SpatialObject< TDimension >::OutputVectorPointer
inherited

Definition at line 101 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef CovariantVector< double, TDimension > itk::SpatialObject< TDimension >::OutputVectorType
inherited

Definition at line 100 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::PixelType itk::ImageMaskSpatialObject< TDimension >::PixelType
typedef PointContainerType::Pointer itk::ImageSpatialObject< TDimension, unsigned char >::PointContainerPointer
inherited

Definition at line 68 of file itkImageSpatialObject.h.

typedef VectorContainer< unsigned long, PointType> itk::ImageSpatialObject< TDimension, unsigned char >::PointContainerType
inherited

Definition at line 67 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SmartPointer< Self > itk::ImageMaskSpatialObject< TDimension >::Pointer
template<unsigned int TDimension = 3>
typedef PointType* itk::SpatialObject< TDimension >::PointPointer
inherited

Definition at line 92 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::PointType itk::ImageMaskSpatialObject< TDimension >::PointType
template<unsigned int TDimension = 3>
typedef PropertyType::Pointer itk::SpatialObject< TDimension >::PropertyPointer
inherited

Definition at line 132 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef SpatialObjectProperty< float > itk::SpatialObject< TDimension >::PropertyType
inherited

Definition at line 131 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::RegionType itk::ImageMaskSpatialObject< TDimension >::RegionType
template<unsigned int TDimension = 3>
typedef Superclass::ScalarType itk::ImageMaskSpatialObject< TDimension >::ScalarType
template<unsigned int TDimension = 3>
typedef ImageMaskSpatialObject< TDimension > itk::ImageMaskSpatialObject< TDimension >::Self

Standard class typedefs.

Reimplemented from itk::ImageSpatialObject< TDimension, unsigned char >.

Definition at line 44 of file itkImageMaskSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::SizeType itk::ImageMaskSpatialObject< TDimension >::SizeType

Reimplemented from itk::SpatialObject< TDimension >.

Definition at line 55 of file itkImageMaskSpatialObject.h.

template<unsigned int TDimension = 3>
typedef itk::ImageSliceConstIteratorWithIndex< ImageType > itk::ImageMaskSpatialObject< TDimension >::SliceIteratorType

Definition at line 61 of file itkImageMaskSpatialObject.h.

template<unsigned int TDimension = 3>
typedef double* itk::SpatialObject< TDimension >::SpacingType
inherited

Definition at line 98 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef ImageSpatialObject< TDimension > itk::ImageMaskSpatialObject< TDimension >::Superclass
template<unsigned int TDimension = 3>
typedef const TransformType* itk::SpatialObject< TDimension >::TransformConstPointer
inherited

Definition at line 105 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef TransformType::Pointer itk::SpatialObject< TDimension >::TransformPointer
inherited

Definition at line 104 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Superclass::TransformType itk::ImageMaskSpatialObject< TDimension >::TransformType
template<unsigned int TDimension = 3>
typedef SpatialObjectTreeNode<TDimension> itk::SpatialObject< TDimension >::TreeNodeType
inherited
template<unsigned int TDimension = 3>
typedef VectorContainer< unsigned long int, PointType > itk::SpatialObject< TDimension >::VectorContainerType
inherited

Definition at line 107 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef VectorType* itk::SpatialObject< TDimension >::VectorPointer
inherited

Definition at line 96 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
typedef Vector< ScalarType, TDimension > itk::SpatialObject< TDimension >::VectorType
inherited

Constructor & Destructor Documentation

template<unsigned int TDimension = 3>
itk::ImageMaskSpatialObject< TDimension >::ImageMaskSpatialObject ( const Self )
protected
template<unsigned int TDimension>
itk::ImageMaskSpatialObject< TDimension >::ImageMaskSpatialObject ( )
protected

Constructor

Definition at line 30 of file itkImageMaskSpatialObject.txx.

template<unsigned int TDimension>
itk::ImageMaskSpatialObject< TDimension >::~ImageMaskSpatialObject ( )
protectedvirtual

Destructor

Definition at line 39 of file itkImageMaskSpatialObject.txx.


Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
)
inherited

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

Definition at line 389 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), itk::ProgressAccumulator::RegisterInternalFilter(), otb::ImageFileWriter< TInputImage >::Update(), and otb::WriterWatcherBase::WriterWatcherBase().

unsigned long itk::Object::AddObserver ( const EventObject event,
Command cmd 
) const
inherited

Definition at line 401 of file itkObject.cxx.

References itk::SubjectImplementation::AddObserver().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::AddSpatialObject ( Self pointer)
inherited

Theses functions are just calling the itkSpatialObjectTreeNode functions Add an object to the list of children.

Add a child to the object

Definition at line 270 of file itkSpatialObject.txx.

Referenced by itk::SpatialObjectDuplicator< TInputSpatialObject >::CopyObject(), and itk::SceneSpatialObject< TSpaceDimension >::FixHierarchy().

void itk::LightObject::BreakOnError ( )
staticinherited

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

Definition at line 149 of file itkLightObject.cxx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::Clear ( void  )
virtualinherited
template<unsigned int TDimension>
bool itk::SpatialObject< TDimension >::ComputeBoundingBox ( void  ) const
virtualinherited

Compute an axis-aligned bounding box for an object and its selected children, down to a specified depth. After computation, the resulting bounding box is stored in this->m_Bounds.

By default, the bounding box children depth is maximum, meaning that the bounding box for the object and all its recursive children is computed. This depth can be set (before calling ComputeBoundingBox) using SetBoundingBoxChildrenDepth().

By calling SetBoundingBoxChildrenName(), it is possible to restrict the bounding box computation to objects of a specified type or family of types. The spatial objects included in the computation are those whose typenames share, as their initial substring, the string specified via SetBoundingBoxChildrenName(). The root spatial object (on which the method is called) is not treated specially. If its typename does not match the bounding box children name, then it is not included in the bounding box computation, but its descendents that match the string are included.

Definition at line 540 of file itkSpatialObject.txx.

References itk::FixedArray< TValueType, VLength >::Fill(), and ITK_TYPENAME.

template<unsigned int TDimension = 3>
IndexType itk::SpatialObject< TDimension >::ComputeIndex ( OffsetValueType  offset) const
inlineinherited

Compute the index of the pixel at a specified offset from the beginning of the buffered region.

Definition at line 310 of file itkSpatialObject.h.

bool itk::ImageSpatialObject< TDimension, unsigned char >::ComputeLocalBoundingBox ( void  ) const
virtualinherited

Compute the boundaries of the iamge spatial object.

Compute the bounds of the image

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::ComputeObjectToParentTransform ( void  )
inherited

Compute the Local transform when the global transform is set

Compute the Transform when the global tranform as been set This does not change the IndexToObjectMatrix

Definition at line 437 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::ComputeObjectToWorldTransform ( void  )
inherited

Compute the World transform when the local transform is set This function should be called each time the local transform has been modified

Compute the Global Transform

Definition at line 316 of file itkSpatialObject.txx.

References itk::SpatialObjectTreeNode< TDimension >::GetChildren().

template<unsigned int TDimension = 3>
OffsetValueType itk::SpatialObject< TDimension >::ComputeOffset ( const IndexType ind) const
inlineinherited

Compute an offset from the beginning of the buffer for a pixel at the specified index.

Definition at line 291 of file itkSpatialObject.h.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::ComputeOffsetTable ( )
protectedinherited

Calculate the offsets needed to move from one pixel to the next along a row, column, slice, volume, etc. These offsets are based on the size of the BufferedRegion. This should be called after the BufferedRegion is set.

Definition at line 882 of file itkSpatialObject.txx.

References itk::Size< VDimension >::GetSize().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::CopyInformation ( const DataObject data)
virtualinherited

Copy information from the specified data set. This method is part of the pipeline execution model. By default, a ProcessObject will copy meta-data from the first input to all of its outputs. See ProcessObject::GenerateOutputInformation(). Each subclass of DataObject is responsible for being able to copy whatever meta-data it needs from from another DataObject. ImageBase has more meta-data than its DataObject. Thus, it must provide its own version of CopyInformation() in order to copy the LargestPossibleRegion from the input parameter.

Copy the information from another spatial object

Reimplemented from itk::DataObject.

Reimplemented in itk::TubeSpatialObject< TDimension, TTubePointType >, itk::TubeSpatialObject< TDimension, VesselTubeSpatialObjectPoint< TDimension > >, itk::TubeSpatialObject< TDimension, DTITubeSpatialObjectPoint< TDimension > >, and itk::EllipseSpatialObject< TDimension >.

Definition at line 992 of file itkSpatialObject.txx.

References itk::SpatialObject< TDimension >::GetLargestPossibleRegion().

template<unsigned int TDimension = 3>
virtual::itk::LightObject::Pointer itk::ImageMaskSpatialObject< TDimension >::CreateAnother ( void  ) const
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::ImageSpatialObject< TDimension, unsigned char >.

void itk::DataObject::DataHasBeenGenerated ( )
inherited

Inform the pipeline mechanism that data has been generated. This method is called by ProcessObject::UpdateOutputData() once the process object has finished generating its data. This essentially marks the DataObject as being updated and ready for use.

Definition at line 428 of file itkDataObject.cxx.

void itk::Object::DebugOff ( ) const
virtualinherited

Turn debugging output off.

Definition at line 253 of file itkObject.cxx.

void itk::Object::DebugOn ( ) const
virtualinherited

Turn debugging output on.

Definition at line 242 of file itkObject.cxx.

void itk::LightObject::Delete ( )
virtualinherited

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

Delete a itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C++ delete method will not work with reference counting.

Definition at line 88 of file itkLightObject.cxx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::DerivativeAt ( const PointType point,
short unsigned int  order,
OutputVectorType value,
unsigned int  depth = 0,
char *  name = NULL 
)
virtualinherited

Return the n-th order derivative value at the specified point.

Return the Derivative at a point given the order of the derivative

Definition at line 90 of file itkSpatialObject.txx.

References itk::FixedArray< TValueType, VLength >::Begin(), itk::FixedArray< TValueType, VLength >::Fill(), itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().

void itk::DataObject::DisconnectPipeline ( )
inherited

Separate this data object from the pipeline. This routine disconnects a data object from the upstream pipeline. Hence an Update() from downstream will not propagate back past this data object. To completely isolate this data object from the pipeline, the application must remove this data object from any filters which it is connected as the input.

Definition at line 216 of file itkDataObject.cxx.

template<unsigned int TDimension = 3>
bool itk::SpatialObject< TDimension >::Evaluate ( const PointType point) const
inlineinherited

Returns true if a point is inside the object - provided to make spatial objects compatible with spatial functions and conditional iterators for defining regions of interest.

Definition at line 207 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
virtual const AffineGeometryFrameType* itk::SpatialObject< TDimension >::GetAffineGeometryFrame ( )
virtualinherited

Set/Get the AffineGeometryFrame

template<unsigned int TDimension>
ImageMaskSpatialObject< TDimension >::RegionType itk::ImageMaskSpatialObject< TDimension >::GetAxisAlignedBoundingBoxRegion ( ) const

Compute axis aligned bounding box from the image mask. The bounding box is returned as an image region. Each call to this function will recompute the region. This function is useful in cases, where you may have a mask image resulting from say a segmentation and you want to get the smallest box region that encapsulates the mask image. Currently this is done only for 3D volumes.

Definition at line 110 of file itkImageMaskSpatialObject.txx.

References itk::ImageConstIteratorWithIndex< TImage >::GoToBegin(), and itk::ImageSliceConstIteratorWithIndex< TImage >::SetFirstDirection().

template<unsigned int TDimension>
SpatialObject< TDimension >::BoundingBoxType * itk::SpatialObject< TDimension >::GetBoundingBox ( void  ) const
virtualinherited

Get the bounding box of the object. This function calls ComputeBoundingBox()

Get the bounds of the object

Definition at line 261 of file itkSpatialObject.txx.

template<unsigned int TDimension = 3>
virtual const unsigned int& itk::SpatialObject< TDimension >::GetBoundingBoxChildrenDepth ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const std::string& itk::SpatialObject< TDimension >::GetBoundingBoxChildrenName ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const BoundingBoxType* itk::SpatialObject< TDimension >::GetBounds ( )
protectedvirtualinherited
template<unsigned int TDimension = 3>
virtual const RegionType& itk::SpatialObject< TDimension >::GetBufferedRegion ( void  ) const
inlinevirtualinherited

Get the region object that defines the size and starting index of the region of the image currently loaded in memory.

See also:
ImageRegion, SetLargestPossibleRegion(), SetRequestedRegion()

Definition at line 256 of file itkSpatialObject.h.

template<unsigned int TDimension>
SpatialObject< TDimension >::ChildrenListType * itk::SpatialObject< TDimension >::GetChildren ( unsigned int  depth = 0,
char *  name = NULL 
) const
virtualinherited

Returns a list of pointer to the children affiliated to this object. A depth of 0 returns the immediate childred. A depth of 1 returns the children and those children's children.

Warning:
User is responsible for freeing the list, but not the elements of the list.

Get the children list. User is responsible for freeing the list, but not the elements of the list.

Definition at line 601 of file itkSpatialObject.txx.

Referenced by itk::SpatialObjectDuplicator< TInputSpatialObject >::CopyObject(), itk::SpatialObjectToPointSetFilter< TInputSpatialObject, TOutputPointSet >::GenerateData(), and itk::PolygonGroupSpatialObjectXMLFileWriter::WriteFile().

Command * itk::Object::GetCommand ( unsigned long  tag)
inherited

Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.

Definition at line 414 of file itkObject.cxx.

References itk::Object::GetCommand(), and NULL.

Referenced by itk::Object::GetCommand().

bool itk::DataObject::GetDataReleased ( ) const
inlineinherited

Get the flag indicating the data has been released.

Definition at line 332 of file itkDataObject.h.

bool itk::Object::GetDebug ( ) const
inherited

Get the value of the debug flag.

Definition at line 264 of file itkObject.cxx.

Referenced by otb::ogr::ImageReference< double >::GetDebug().

template<unsigned int TDimension = 3>
virtual double itk::SpatialObject< TDimension >::GetDefaultInsideValue ( ) const
virtualinherited
template<unsigned int TDimension = 3>
virtual double itk::SpatialObject< TDimension >::GetDefaultOutsideValue ( ) const
virtualinherited
template<unsigned int TDimension = 3>
virtual const unsigned int& itk::SpatialObject< TDimension >::GetDimension ( )
protectedvirtualinherited
bool itk::DataObject::GetGlobalReleaseDataFlag ( )
staticinherited

Definition at line 189 of file itkDataObject.cxx.

bool itk::Object::GetGlobalWarningDisplay ( )
staticinherited

Get the value of the global debug output control flag.

Definition at line 381 of file itkObject.cxx.

template<unsigned int TDimension = 3>
virtual const int& itk::SpatialObject< TDimension >::GetId ( )
virtualinherited
const ImageType* itk::ImageSpatialObject< TDimension, unsigned char >::GetImage ( void  ) const
inherited

Get a pointer to the image currently attached to the object.

Get the image inside the spatial object

template<unsigned int TDimension>
SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetIndexToObjectTransform ( void  )
inherited
template<unsigned int TDimension>
const SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetIndexToObjectTransform ( void  ) const
inherited

Get the local transformation (const)

Definition at line 417 of file itkSpatialObject.txx.

template<unsigned int TDimension = 3>
virtual TransformType* itk::SpatialObject< TDimension >::GetIndexToWorldTransform ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const TransformType* itk::SpatialObject< TDimension >::GetIndexToWorldTransform ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const TransformType* itk::SpatialObject< TDimension >::GetInternalInverseTransform ( )
protectedvirtualinherited
virtual InterpolatorType* itk::ImageSpatialObject< TDimension, unsigned char >::GetInterpolator ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const RegionType& itk::SpatialObject< TDimension >::GetLargestPossibleRegion ( void  ) const
inlinevirtualinherited

Get the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions.

See also:
ImageRegion, GetBufferedRegion(), GetRequestedRegion()

Definition at line 245 of file itkSpatialObject.h.

Referenced by itk::SpatialObject< TDimension >::CopyInformation().

template<unsigned int TDimension = 3>
unsigned int itk::SpatialObject< TDimension >::GetMaximumDepth ( )
inlineinherited

Return the maximum depth that a tree of spatial objects can have. This provides convenient access to a static constant.

Definition at line 81 of file itkSpatialObject.h.

MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  )
inherited
Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

Reimplemented in otb::ImageMetadataInterfaceBase.

Definition at line 532 of file itkObject.cxx.

References NULL.

Referenced by otb::RenderingImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), itk::Brains2MaskImageIO::CanReadFile(), otb::DataNode< TPrecision, VDimension, TValuePrecision >::CopyFieldList(), otb::VectorImage< TPixel, VImageDimension >::CopyInformation(), otb::Image< TPixel, VImageDimension >::CopyInformation(), itk::GDCMImageIO::GetBodyPart(), itk::GDCMImageIO::GetInstitution(), itk::GDCMImageIO::GetManufacturer(), itk::GDCMImageIO::GetModality(), itk::GDCMImageIO::GetModel(), itk::GDCMImageIO::GetNumberOfSeriesInStudy(), itk::GDCMImageIO::GetNumberOfStudyRelatedSeries(), itk::GDCMImageIO::GetPatientAge(), itk::GDCMImageIO::GetPatientDOB(), itk::GDCMImageIO::GetPatientID(), itk::GDCMImageIO::GetPatientName(), itk::GDCMImageIO::GetPatientSex(), itk::GDCMImageIO::GetScanOptions(), itk::GDCMImageIO::GetStudyDate(), itk::GDCMImageIO::GetStudyDescription(), itk::GDCMImageIO::GetStudyID(), itk::GDCMImageIO::GetValueFromTag(), otb::GDALImageIO::InternalReadImageInformation(), itk::GDCMImageIO::InternalReadImageInformation(), otb::GDALImageIO::InternalWriteImageInformation(), otb::RAMDrivenAdaptativeStreamingManager< TImage >::PrepareStreaming(), itk::DICOMImageIO2::Read(), itk::DICOMImageIO2::ReadImageInformation(), itk::NrrdImageIO::ReadImageInformation(), otb::JPEG2000ImageIO::ReadImageInformation(), itk::MetaImageIO::ReadImageInformation(), itk::VoxBoCUBImageIO::ReadImageInformation(), itk::MRCImageIO::ReadImageInformation(), itk::IPLCommonImageIO::ReadImageInformation(), itk::PhilipsRECImageIO::ReadImageInformation(), itk::AnalyzeImageIO::ReadImageInformation(), itk::Bruker2DSEQImageIO::ReadImageInformation(), otb::ImageMetadataInterfaceBase::SetImage(), itk::NiftiImageIO::SetImageIOMetadataFromNIfTI(), otb::VectorDataToLabelImageFilter< TVectorData, TOutputImage >::SetOutputParametersFromImage(), itk::NrrdImageIO::Write(), itk::GDCMImageIO::Write(), and itk::PolygonGroupSpatialObjectXMLFileWriter::WriteFile().

const MetaDataDictionary & itk::Object::GetMetaDataDictionary ( void  ) const
inherited
Returns:
A constant reference to this objects MetaDataDictionary.

Reimplemented in otb::ImageMetadataInterfaceBase.

Definition at line 543 of file itkObject.cxx.

References NULL.

unsigned long itk::ImageSpatialObject< TDimension, unsigned char >::GetMTime ( void  ) const
virtualinherited

Returns the latest modified time of the object and its component.

Get the modification time

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension = 3>
virtual const char* itk::ImageMaskSpatialObject< TDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSpatialObject< TDimension, unsigned char >.

template<unsigned int TDimension>
SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetNodeToParentNodeTransform ( void  )
inherited

Definition at line 952 of file itkSpatialObject.txx.

References NULL.

template<unsigned int TDimension>
const SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetNodeToParentNodeTransform ( void  ) const
inherited

Definition at line 965 of file itkSpatialObject.txx.

References NULL.

template<unsigned int TDimension>
unsigned int itk::SpatialObject< TDimension >::GetNumberOfChildren ( unsigned int  depth = 0,
char *  name = NULL 
) const
inherited

Returns the number of children currently assigned to the object.

Get the number of children

Definition at line 648 of file itkSpatialObject.txx.

template<unsigned int TDimension = 3>
unsigned int itk::SpatialObject< TDimension >::GetObjectDimension ( void  ) const
inlineinherited

Get the dimensionality of the object

Definition at line 149 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
unsigned long itk::SpatialObject< TDimension >::GetObjectMTime ( void  ) const
inlineinherited

Returns the latest modified time of the spatial object, but not the modification time of the children

Definition at line 226 of file itkSpatialObject.h.

template<unsigned int TDimension>
SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetObjectToNodeTransform ( void  )
inherited

Transforms points from the object-specific "physical" space to the "physical" space of its parent object.

Get the local transformation

Definition at line 369 of file itkSpatialObject.txx.

template<unsigned int TDimension>
const SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetObjectToNodeTransform ( void  ) const
inherited

Get the local transformation (const)

Definition at line 378 of file itkSpatialObject.txx.

template<unsigned int TDimension>
SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetObjectToParentTransform ( void  )
inherited

Get the local transformation

Definition at line 387 of file itkSpatialObject.txx.

Referenced by itk::MetaSceneConverter< NDimensions, PixelType, TMeshTraits >::SetTransform().

template<unsigned int TDimension>
const SpatialObject< TDimension >::TransformType * itk::SpatialObject< TDimension >::GetObjectToParentTransform ( void  ) const
inherited

Get the local transformation (const)

Definition at line 398 of file itkSpatialObject.txx.

template<unsigned int TDimension = 3>
virtual TransformType* itk::SpatialObject< TDimension >::GetObjectToWorldTransform ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const TransformType* itk::SpatialObject< TDimension >::GetObjectToWorldTransform ( )
virtualinherited
template<unsigned int TDimension = 3>
const OffsetValueType* itk::SpatialObject< TDimension >::GetOffsetTable ( void  ) const
inlineinherited

Get the offset table. The offset table gives increments for moving from one pixel to next in the current row, column, slice, etc.. This table if of size [VImageDimension+1], because its values are computed progressively as: {1, N1, N1*N2, N1*N2*N3,...,(N1*...*Nn)} Where the values {N1,...,Nn} are the elements of the BufferedRegion::Size array. The last element of the OffsetTable is equivalent to the BufferSize. Having a [VImageDimension+1] size array, simplifies the implementation of some data accessing algorithms.

Definition at line 287 of file itkSpatialObject.h.

template<unsigned int TDimension>
const SpatialObject< TDimension > * itk::SpatialObject< TDimension >::GetParent ( void  ) const
virtualinherited
template<unsigned int TDimension>
SpatialObject< TDimension > * itk::SpatialObject< TDimension >::GetParent ( void  )
virtualinherited

Return a pointer to the parent object in the hierarchy tree

Get the parent of the spatial object

Definition at line 676 of file itkSpatialObject.txx.

References NULL.

template<unsigned int TDimension = 3>
virtual const int& itk::SpatialObject< TDimension >::GetParentId ( )
virtualinherited
virtual const unsigned long& itk::DataObject::GetPipelineMTime ( )
virtualinherited
const char* itk::ImageSpatialObject< TDimension, unsigned char >::GetPixelType ( )
inlineinherited

Definition at line 116 of file itkImageSpatialObject.h.

template<unsigned int TDimension>
SpatialObject< TDimension >::PropertyType * itk::SpatialObject< TDimension >::GetProperty ( void  )
inherited
template<unsigned int TDimension = 3>
const PropertyType* itk::SpatialObject< TDimension >::GetProperty ( void  ) const
inlineinherited

Definition at line 375 of file itkSpatialObject.h.

virtual int itk::LightObject::GetReferenceCount ( ) const
inlinevirtualinherited

Gets the reference count on this object.

Definition at line 105 of file itkLightObject.h.

virtual const bool& itk::DataObject::GetReleaseDataFlag ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const RegionType& itk::SpatialObject< TDimension >::GetRequestedRegion ( void  ) const
inlinevirtualinherited

Get the region object that defines the size and starting index for the region of the image requested (i.e., the region of the image to be operated on by a filter).

See also:
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()

Definition at line 275 of file itkSpatialObject.h.

Referenced by itk::SpatialObject< TDimension >::SetRequestedRegion().

int itk::ImageSpatialObject< TDimension, unsigned char >::GetSlicePosition ( unsigned int  dimension)
inlineinherited

Get the slice position

Definition at line 113 of file itkImageSpatialObject.h.

SmartPointerForwardReference< ProcessObject > itk::DataObject::GetSource ( void  ) const
inherited

Get the process object that generated this data object. If there is no process object, then the data object has been disconnected from the pipeline, or the data object was created manually. (Note: we cannot use the GetObjectMacro() defined in itkMacro because the mutual dependency of DataObject and ProcessObject causes compile problems. Also, a forward reference smart pointer is returned, not a smart pointer, because of the circular dependency between the process and data object.)

GetSource() returns a SmartPointerForwardReference and not a WeakPointer because it is assumed the code calling GetSource() wants to hold a long term reference to the source.

Definition at line 288 of file itkDataObject.cxx.

Referenced by otb::PipelineMemoryPrintCalculator::EvaluateProcessObjectPrintRecursive().

unsigned int itk::DataObject::GetSourceOutputIndex ( ) const
inherited

Which of the source's outputs corresponds to this data object?

Definition at line 296 of file itkDataObject.cxx.

Referenced by itk::MultiResolutionPyramidImageFilter< TInputImage, TOutputImage >::GenerateOutputRequestedRegion().

template<unsigned int TDimension = 3>
virtual const double* itk::SpatialObject< TDimension >::GetSpacing ( void  ) const
inlinevirtualinherited

Get the spacing of the spatial object.

Definition at line 404 of file itkSpatialObject.h.

template<unsigned int TDimension>
std::string itk::SpatialObject< TDimension >::GetSpatialObjectTypeAsString ( ) const
virtualinherited

Return the type of the spatial object as a string This is used by the SpatialObjectFactory

Definition at line 979 of file itkSpatialObject.txx.

Referenced by itk::SpatialObjectDuplicator< TInputSpatialObject >::CopyObject().

template<unsigned int TDimension>
unsigned long itk::SpatialObject< TDimension >::GetTransformMTime ( void  )
inherited

Return the Modified time of the LocalToWorldTransform

Return the Modified time of the LocalToGlobalTransform

Definition at line 657 of file itkSpatialObject.txx.

template<unsigned int TDimension = 3>
virtual TreeNodeType* itk::SpatialObject< TDimension >::GetTreeNode ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const TreeNodeType* itk::SpatialObject< TDimension >::GetTreeNode ( )
virtualinherited
template<unsigned int TDimension = 3>
virtual const char* itk::SpatialObject< TDimension >::GetTypeName ( void  ) const
inlinevirtualinherited

Get the typename of the SpatialObject

Definition at line 141 of file itkSpatialObject.h.

unsigned long itk::DataObject::GetUpdateMTime ( ) const
virtualinherited

MTime for the last time this DataObject was generated.

Definition at line 438 of file itkDataObject.cxx.

template<unsigned int TDimension>
unsigned long itk::SpatialObject< TDimension >::GetWorldTransformMTime ( void  )
inherited

Return the Modified time of the WorldToLocalTransform

Return the Modified time of the GlobalToLocalTransform

Definition at line 666 of file itkSpatialObject.txx.

static void itk::DataObject::GlobalReleaseDataFlagOff ( )
inlinestaticinherited

Definition at line 318 of file itkDataObject.h.

static void itk::DataObject::GlobalReleaseDataFlagOn ( )
inlinestaticinherited

Definition at line 316 of file itkDataObject.h.

static void itk::Object::GlobalWarningDisplayOff ( )
inlinestaticinherited
static void itk::Object::GlobalWarningDisplayOn ( )
inlinestaticinherited

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

virtual void itk::DataObject::Graft ( const DataObject )
inlinevirtualinherited

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 in itk::ImageBase< VImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TLabelObject >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >, itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::VectorImage< TPixel, VImageDimension >, itk::VectorImage< TOutputPixelType, VImageDimension >, itk::VectorImage< TNeuron::ComponentType, VImageDimension >, itk::VectorImage< TInputPixelType, VImageDimension >, itk::VectorImage< TPixelType, Dimension >, otb::ogr::DataSource, itk::Image< TPixel, VImageDimension >, itk::Image< TInputPixel, VImageDimension >, itk::Image< TOutputPixelType, VImageDimension >, itk::Image< TOutputPixel, VImageDimension >, itk::Image< BloxCoreAtomPixel< NDimension >, TImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< TImageDimension >, TImageDimension >, itk::Image< TBloxPixelType, TImageDimension >, itk::Image< BloxBoundaryPointPixel< TImageDimension >, TImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::LabelMap< TLabelObject >, and otb::VectorData< TPrecision, VDimension, TValuePrecision >.

Definition at line 449 of file itkDataObject.h.

Referenced by otb::AtmosphericCorrectionParametersTo6SAtmosphericRadiativeTerms::GraftNthOutput(), otb::VectorDataSource< TOutputVectorData >::GraftNthOutput(), otb::PointSetSource< TOutputPointSet >::GraftNthOutput(), itk::MeshSource< TOutputMesh >::GraftNthOutput(), otb::ObjectListSource< TOutputList >::GraftNthOutput(), and itk::ImageSource< TOutputImage >::GraftNthOutput().

bool itk::Object::HasObserver ( const EventObject event) const
inherited

Return true if an observer is registered for this event.

Definition at line 467 of file itkObject.cxx.

template<unsigned int TDimension>
bool itk::SpatialObject< TDimension >::HasParent ( void  ) const
virtualinherited

Return true if the object has a parent object. Basically, only the root object , or some isolated objects should return false.

Return true if the spatial object has a parent

Definition at line 718 of file itkSpatialObject.txx.

void itk::DataObject::Initialize ( void  )
virtualinherited

Restore the data object to its initial state. This means releasing memory.

Reimplemented in otb::SVMModel< TValue, TLabel >, itk::Mesh< TPixelType, VDimension, TMeshTraits >, itk::Mesh< TCoordType, 2, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::Mesh< TPixel, VDimension, TTraits >, itk::QuadEdgeMesh< TPixel, VDimension, TTraits >, itk::SpecialCoordinatesImage< TPixel, VImageDimension >, itk::SpecialCoordinatesImage< TPixel, 3 >, itk::VectorImage< TPixel, VImageDimension >, itk::VectorImage< TOutputPixelType, VImageDimension >, itk::VectorImage< TNeuron::ComponentType, VImageDimension >, itk::VectorImage< TInputPixelType, VImageDimension >, itk::VectorImage< TPixelType, Dimension >, itk::Image< TPixel, VImageDimension >, itk::Image< TInputPixel, VImageDimension >, itk::Image< TOutputPixelType, VImageDimension >, itk::Image< TOutputPixel, VImageDimension >, itk::Image< BloxCoreAtomPixel< NDimension >, TImageDimension >, itk::Image< TNode *, VImageDimension >, itk::Image< BloxBoundaryProfilePixel< TImageDimension >, TImageDimension >, itk::Image< TBloxPixelType, TImageDimension >, itk::Image< BloxBoundaryPointPixel< TImageDimension >, TImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, itk::PointSet< TPixelType, VDimension, TMeshTraits >, itk::PointSet< TPixel, VDimension, TTraits >, itk::PointSet< TCoordType, VDimension, DefaultDynamicMeshTraits< TCoordType, 2, 2, TCoordType > >, itk::watershed::SegmentTree< TScalarType >, itk::ImageBase< VImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TLabelObject >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >, itk::LabelMap< TLabelObject >, itk::ChainCodePath< VDimension >, itk::ChainCodePath< 2 >, itk::SparseImage< TNode, VImageDimension >, itk::PolyLineParametricPath< VDimension >, itk::FourierSeriesPath< VDimension >, itk::OrthogonallyCorrected2DParametricPath, itk::Statistics::RBFNetwork< TMeasurementVector, TTargetVector >, itk::Statistics::OneHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >, and itk::Statistics::TwoHiddenLayerBackPropagationNeuralNetwork< TMeasurementVector, TTargetVector >.

Definition at line 167 of file itkDataObject.cxx.

void itk::Object::InvokeEvent ( const EventObject event)
inherited
void itk::Object::InvokeEvent ( const EventObject event) const
inherited

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

Definition at line 457 of file itkObject.cxx.

bool itk::ImageSpatialObject< TDimension, unsigned char >::IsEvaluableAt ( const PointType point,
unsigned int  depth = 0,
char *  name = NULL 
) const
virtualinherited

Return true if the object is evaluable at the requested point, and else otherwise.

Return true if the given point is inside the image

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension>
bool itk::ImageMaskSpatialObject< TDimension >::IsInside ( const PointType point,
unsigned int  depth,
char *  name 
) const

Returns true if the point is inside, false otherwise.

Return true if the given point is inside the image

Definition at line 87 of file itkImageMaskSpatialObject.txx.

References itk::SpatialObject< TDimension >::IsInside(), and NULL.

template<unsigned int TDimension>
bool itk::ImageMaskSpatialObject< TDimension >::IsInside ( const PointType point) const
virtual

Test whether a point is inside or outside the object For computational speed purposes, it is faster if the method does not check the name of the class and the current depth

Definition at line 50 of file itkImageMaskSpatialObject.txx.

bool itk::ImageSpatialObject< TDimension, unsigned char >::IsInside ( const PointType point,
unsigned int  depth,
char *  name 
) const
virtualinherited

Returns true if the point is inside, false otherwise.

Return true if the given point is inside the image

Reimplemented from itk::SpatialObject< TDimension >.

bool itk::ImageSpatialObject< TDimension, unsigned char >::IsInside ( const PointType point) const
inherited

Test whether a point is inside or outside the object For computational speed purposes, it is faster if the method does not check the name of the class and the current depth

void itk::Object::Modified ( void  ) const
virtualinherited

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Make sure this object's modified time is greater than all others.

Reimplemented in otb::SVMModel< TValue, TLabel >, otb::SurfaceAdjacencyEffect6SCorrectionSchemeFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, TBufferConverter >, otb::MeanShiftImageFilter< TInputImage, TOutputImage, TLabeledOutput, MeanShift::VectorBufferConverter >, otb::GCPsToRPCSensorModelImageFilter< TImage >, otb::Polygon< TValue >, otb::ImageRegionAdaptativeSplitter< VImageDimension >, otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >, itk::GrayscaleDilateImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, VDimension >, itk::GrayscaleErodeImageFilter< TInputImage, TOutputImage, TKernel >, otb::PolyLineParametricPathWithValue< TValue, 2 >, itk::MorphologicalGradientImageFilter< TInputImage, TOutputImage, TKernel >, otb::PhysicalToRPCSensorModelImageFilter< TImage >, itk::GrayscaleMorphologicalClosingImageFilter< TInputImage, TOutputImage, TKernel >, itk::GrayscaleMorphologicalOpeningImageFilter< TInputImage, TOutputImage, TKernel >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, TFilter >, itk::MiniPipelineSeparableImageFilter< TInputImage, TOutputImage, RankImageFilter< TInputImage, TInputImage, FlatStructuringElement< ::itk::GetImageDimension< TInputImage >::ImageDimension > > >, itk::NormalizeImageFilter< TInputImage, TOutputImage >, and otb::StatisticsXMLFileReader< TMeasurementVector >.

Definition at line 297 of file itkObject.cxx.

Referenced by otb::Wrapper::InputImageListParameter::AddFromFileName(), otb::Wrapper::InputVectorDataListParameter::AddFromFileName(), otb::Wrapper::InputImageListParameter::AddImage(), otb::Wrapper::InputImageListParameter::AddNullElement(), otb::Wrapper::InputVectorDataListParameter::AddNullElement(), otb::Wrapper::StringListParameter::AddNullElement(), otb::VectorDataModel::AddPointToGeometry(), otb::Wrapper::InputVectorDataListParameter::AddVectorData(), otb::Wrapper::InputImageListParameter::ClearValue(), otb::Wrapper::InputVectorDataListParameter::ClearValue(), otb::VectorDataModel::DeleteGeometry(), otb::VectorDataModel::EndGeometry(), otb::Wrapper::InputImageListParameter::Erase(), otb::Wrapper::InputVectorDataListParameter::Erase(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), otb::ImageWidget< TInputImage >::LinearInterpolationOff(), otb::ImageWidget< TInputImage >::LinearInterpolationOn(), itk::MatrixOffsetTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase(), otb::ogr::ImageReference< double >::Modified(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetAutoMinMax(), otb::BlendingImageFilter< TInputImage1, TInputImage2, TOutputImage >::SetBlendingFunction(), otb::ImageLayerGenerator< TImageLayer >::SetBlendingFunction(), otb::TileMapImageIO::SetCacheDirectory(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetChannelList(), itk::LBFGSBOptimizer::SetCostFunction(), itk::MINC2ImageIO::SetDimensionName(), itk::ImageIOBase::SetDimensions(), itk::ImageIOBase::SetDirection(), otb::Wrapper::InputImageListParameter::SetImageList(), itk::GDCMSeriesFileNames::SetInputDirectory(), otb::HistogramStatisticsFunction< TInputHistogram, TOutput >::SetInputHistogram(), otb::ImageToGenericRSOutputParameters< TImage >::SetInputKeywordList(), otb::Wrapper::InputVectorDataListParameter::SetListFromFileName(), otb::Wrapper::InputImageListParameter::SetListFromFileName(), otb::Function::RenderingFunction< TPixel, TRGBPixel >::SetListSample(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), otb::Wrapper::InputImageListParameter::SetNthFileName(), otb::Wrapper::InputVectorDataListParameter::SetNthFileName(), itk::ImageIOBase::SetNumberOfDimensions(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ImageIOBase::SetOrigin(), otb::ImageToGenericRSOutputParameters< TImage >::SetOutputProjectionRef(), otb::MapProjectionAdapter::SetParameter(), otb::Function::GaussianRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), otb::Function::StandardRenderingFunction< TPixel, TRGBPixel, TPixelRepresentationFunction, TTransferFunction >::SetParameters(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), otb::ImageLayerGenerator< TImageLayer >::SetRenderingFunction(), otb::RenderingImageFilter< TInputImage, TOutputImage >::SetRenderingFunction(), itk::ImageIOBase::SetSpacing(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation(), otb::Wrapper::OutputFilenameParameter::SetValue(), otb::Wrapper::InputFilenameParameter::SetValue(), otb::Wrapper::ListViewParameter::SetValue(), otb::Wrapper::ChoiceParameter::SetValue(), otb::Wrapper::InputVectorDataListParameter::SetVectorDataList(), and otb::MapProjectionAdapter::SetWkt().

template<unsigned int TDimension = 3>
static Pointer itk::ImageMaskSpatialObject< TDimension >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::ImageSpatialObject< TDimension, unsigned char >.

template<unsigned int TDimension = 3>
void itk::ImageMaskSpatialObject< TDimension >::operator= ( const Self )
protected
virtual void itk::DataObject::PrepareForNewData ( )
inlinevirtualinherited

Setup a DataObject to receive new data. This method is called by the pipeline mechanism on each output of filter that needs to execute. The default implementation is to return a DataObject to its initial state. This may involve releasing previously allocated bulk data. Subclasses of DataObject may want to override this method and/or the Initialize() method if they want a different default behavior (for instance a DataObject might want finer control over its bulk data memory management).

Definition at line 385 of file itkDataObject.h.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const
inherited

Cause the object to print itself out.

Avoid DLL boundary problems. This function will be common to all itk objects. It just calls the header/self/trailer virtual print methods, which can be overriden by subclasses (any itk object).

Definition at line 135 of file itkLightObject.cxx.

References itk::Indent::GetNextIndent().

Referenced by itk::operator<<().

void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print header for all objects.

Definition at line 320 of file itkLightObject.cxx.

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const
protectedinherited

Definition at line 478 of file itkObject.cxx.

template<unsigned int TDimension>
void itk::ImageMaskSpatialObject< TDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Print the object

Reimplemented from itk::ImageSpatialObject< TDimension, unsigned char >.

Definition at line 260 of file itkImageMaskSpatialObject.txx.

void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const
protectedvirtualinherited

Define a default print trailer for all objects.

Definition at line 331 of file itkLightObject.cxx.

void itk::DataObject::PropagateRequestedRegion ( void  )
virtualinherited

Methods to update the pipeline. Called internally by the pipeline mechanism.

Reimplemented in itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and otb::ImageList< TImage >.

Definition at line 379 of file itkDataObject.cxx.

References itk::DataObjectError::SetDataObject(), itk::ExceptionObject::SetDescription(), and itk::ExceptionObject::SetLocation().

void itk::DataObject::PropagateResetPipeline ( )
protectedvirtualinherited

Propagate a call to ResetPipeline(). Called only from ProcessObject.

Definition at line 367 of file itkDataObject.cxx.

void itk::Object::Register ( ) const
virtualinherited

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

Definition at line 309 of file itkObject.cxx.

Referenced by itk::ObjectFactoryBase::RegisterFactory().

void itk::DataObject::ReleaseData ( )
inherited

Release data back to system to conserve memory resource. Used during pipeline execution. Releasing this data does not make down-stream data invalid, so it does not modify the MTime of this data object.

Definition at line 197 of file itkDataObject.cxx.

virtual void itk::DataObject::ReleaseDataFlagOff ( )
virtualinherited
virtual void itk::DataObject::ReleaseDataFlagOn ( )
virtualinherited
void itk::Object::RemoveAllObservers ( )
inherited

Remove all observers .

Definition at line 435 of file itkObject.cxx.

void itk::Object::RemoveObserver ( unsigned long  tag)
inherited

Remove the observer with this tag value.

Definition at line 425 of file itkObject.cxx.

Referenced by otb::StreamingImageVirtualWriter< TInputImage >::GenerateData(), and otb::ImageFileWriter< TInputImage >::Update().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::RemoveSpatialObject ( Self pointer)
inherited

Remove the object passed as arguments from the list of children. May this function should return a false value if the object to remove is not found in the list.

Remove a child to the object

Definition at line 281 of file itkSpatialObject.txx.

template<unsigned int TDimension>
bool itk::SpatialObject< TDimension >::RequestedRegionIsOutsideOfTheBufferedRegion ( )
virtualinherited

Determine whether the RequestedRegion is outside of the BufferedRegion. This method returns true if the RequestedRegion is outside the BufferedRegion (true if at least one pixel is outside). This is used by the pipeline mechanism to determine whether a filter needs to re-execute in order to satisfy the current request. If the current RequestedRegion is already inside the BufferedRegion from the previous execution (and the current filter is up to date), then a given filter does not need to re-execute

Reimplemented from itk::DataObject.

Definition at line 774 of file itkSpatialObject.txx.

References itk::Index< VIndexDimension >::GetIndex(), and itk::Size< VDimension >::GetSize().

void itk::DataObject::ResetPipeline ( )
virtualinherited

Reset the pipeline. If an exception is thrown during an Update(), the pipeline may be in an inconsistent state. This method clears the internal state of the pipeline so Update() can be called.

Definition at line 360 of file itkDataObject.cxx.

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetAffineGeometryFrame ( AffineGeometryFrameType _arg)
virtualinherited
template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetBoundingBoxChildrenDepth ( unsigned int  _arg)
virtualinherited

Set/Get the depth at which the bounding box is computed

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetBoundingBoxChildrenName ( std::string  _arg)
virtualinherited

Set/Get the name of the children to consider when computing the bounding box

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetBufferedRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index of the region of the image currently loaded in memory.

See also:
ImageRegion, SetLargestPossibleRegion(), SetRequestedRegion()

Definition at line 800 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetChildren ( ChildrenListType children)
inherited

Set the list of pointers to children to the list passed as argument.

Set children list

Definition at line 629 of file itkSpatialObject.txx.

void itk::Object::SetDebug ( bool  debugFlag) const
inherited

Set the value of the debug flag. A non-zero value turns debugging on.

Definition at line 275 of file itkObject.cxx.

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetDefaultInsideValue ( double  _arg)
virtualinherited

Set/Get the default inside value (ValueAt()) of the object. Default is 1.0

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetDefaultOutsideValue ( double  _arg)
virtualinherited

Set/Get the default outside value (ValueAt()) of the object. Default is 0.0

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetDimension ( unsigned int  _arg)
protectedvirtualinherited
void itk::DataObject::SetGlobalReleaseDataFlag ( bool  val)
staticinherited

Turn on/off a flag to control whether every object releases its data after being used by a filter. Being a global flag, it controls the behavior of all DataObjects and ProcessObjects.

Definition at line 177 of file itkDataObject.cxx.

void itk::Object::SetGlobalWarningDisplay ( bool  val)
staticinherited

This is a global flag that controls whether any debug, warning or error messages are displayed.

Set the value of the global debug output control flag.

Definition at line 370 of file itkObject.cxx.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetId ( int  _arg)
virtualinherited
void itk::ImageSpatialObject< TDimension, unsigned char >::SetImage ( const ImageType image)
inherited

Set the image.

Set the image in the spatial object

template<unsigned int TDimension>
bool itk::SpatialObject< TDimension >::SetInternalInverseTransformToWorldToIndexTransform ( ) const
protectedinherited

This convenience method take the IndexToWorldTransform, and if it can compute its inverse, then stores the result in the InternalInverse member variable, that can be later accessed with the method GetInternalInverseTransform(). This method is not exposed to users, it is only intended to be called internally by derived classes.

Definition at line 927 of file itkSpatialObject.txx.

void itk::ImageSpatialObject< TDimension, unsigned char >::SetInterpolator ( InterpolatorType interpolator)
inherited

Set/Get the interpolator

Set the interpolator

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetLargestPossibleRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index for the largest possible region this image could represent. This is used in determining how much memory would be needed to load an entire dataset. It is also used to determine boundary conditions.

See also:
ImageRegion, SetBufferedRegion(), SetRequestedRegion()

Set the largest possible region

Definition at line 727 of file itkSpatialObject.txx.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs)
inherited
template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetNodeToParentNodeTransform ( TransformType transform)
inherited

These function are just calling the node container transforms

Definition at line 940 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetObjectToParentTransform ( TransformType transform)
inherited

Transforms points from the object-specific "physical" space to the "physical" space of its parent object.

Set the local to global transformation

Definition at line 305 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetObjectToWorldTransform ( TransformType transform)
inherited

This defines the transformation from the global coordinate frame. By setting this transform, the local transform is computed

Set the global to local transformation

Definition at line 426 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetParent ( Self parent)
inherited

Set the pointer to the parent object in the tree hierarchy used for the spatial object patter.

Set the parent of the spatial object

Definition at line 702 of file itkSpatialObject.txx.

References NULL.

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetParentId ( int  _arg)
virtualinherited

Set/Get the parent Identification number

void itk::DataObject::SetPipelineMTime ( unsigned long  time)
inlineinherited

The maximum MTime of all upstream filters and data objects. This does not include the MTime of this data object.

Definition at line 370 of file itkDataObject.h.

Referenced by itk::ProcessObject::UpdateOutputInformation().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetProperty ( PropertyType property)
inherited

Set the property applied to the object.

Definition at line 908 of file itkSpatialObject.txx.

void itk::Object::SetReferenceCount ( int  ref)
virtualinherited

Sets the reference count (use with care)

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 347 of file itkObject.cxx.

void itk::DataObject::SetReleaseDataFlag ( bool  flag)
inlineinherited

Turn on/off a flag to control whether this object's data is released after being used by a filter.

Definition at line 304 of file itkDataObject.h.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetRequestedRegion ( const RegionType region)
virtualinherited

Set the region object that defines the size and starting index for the region of the image requested (i.e., the region of the image to be operated on by a filter).

See also:
ImageRegion, SetLargestPossibleRegion(), SetBufferedRegion()

Definition at line 846 of file itkSpatialObject.txx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetRequestedRegion ( DataObject data)
virtualinherited

Set the requested region from this data object to match the requested region of the data object passed in as a parameter. This method implements the API from DataObject. The data object parameter must be castable to an ImageBase.

Reimplemented from itk::DataObject.

Definition at line 859 of file itkSpatialObject.txx.

References itk::SpatialObject< TDimension >::GetRequestedRegion().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::SetRequestedRegionToLargestPossibleRegion ( )
virtualinherited

Set the RequestedRegion to the LargestPossibleRegion. This forces a filter to produce all of the output in one execution (i.e. not streaming) on the next call to Update().

Reimplemented from itk::DataObject.

Definition at line 765 of file itkSpatialObject.txx.

void itk::ImageSpatialObject< TDimension, unsigned char >::SetSlicePosition ( unsigned int  dimension,
int  position 
)
inherited

Set the slice position

template<unsigned int TDimension = 3>
void itk::SpatialObject< TDimension >::SetSpacing ( const double  spacing[itkGetStaticConstMacro(ObjectDimension)])
inlineinherited

Theses functions are just calling the AffineGeometryFrame functions Set the spacing of the spatial object.

Definition at line 400 of file itkSpatialObject.h.

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetTreeNode ( TreeNodeType _arg)
virtualinherited

Set the tree container

Referenced by itk::SpatialObjectTreeNode< TDimension >::SetData().

template<unsigned int TDimension = 3>
virtual void itk::SpatialObject< TDimension >::SetTypeName ( std::string  _arg)
protectedvirtualinherited
bool itk::DataObject::ShouldIReleaseData ( ) const
inherited

Return flag indicating whether data should be released after use by a filter.

Definition at line 206 of file itkDataObject.cxx.

void itk::Object::UnRegister ( ) const
virtualinherited

Decrease the reference count (release by another object).

If there is a delete method, invoke it.

Reimplemented from itk::LightObject.

Definition at line 324 of file itkObject.cxx.

Referenced by itk::Object::New(), and itk::ObjectFactoryBase::UnRegisterFactory().

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::Update ( void  )
virtualinherited

Specify that the object has been updated

This is probably not correct and should be removed

Reimplemented from itk::DataObject.

Definition at line 916 of file itkSpatialObject.txx.

void itk::DataObject::UpdateOutputData ( void  )
virtualinherited

Reimplemented in itk::ImageBase< VImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TLabelObject >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< VectorImage< TPixelType, Dimension > >::ImageDimension >, itk::ImageBase< ::itk::GetImageDimension< TImage >::ImageDimension >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, otb::Accessor::VectorImageToASPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ShiftScalePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< VectorImage< TPixelType, Dimension >, Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, Accessor::AddPixelAccessor< TImage::PixelType > >, and otb::ImageList< TImage >.

Definition at line 410 of file itkDataObject.cxx.

template<unsigned int TDimension>
void itk::SpatialObject< TDimension >::UpdateOutputInformation ( void  )
virtualinherited

Update the information for this DataObject so that it can be used as an output of a ProcessObject. This method is used the pipeline mechanism to propagate information and initialize the meta data associated with a DataObject. This method calls its source's ProcessObject::UpdateOutputInformation() which determines modified times, LargestPossibleRegions, and any extra meta data like spacing, origin, etc.

Update the Output information

Reimplemented from itk::DataObject.

Definition at line 739 of file itkSpatialObject.txx.

bool itk::ImageSpatialObject< TDimension, unsigned char >::ValueAt ( const PointType point,
double &  value,
unsigned int  depth = 0,
char *  name = NULL 
) const
virtualinherited

Returns the value of the image at the requested point. If the point is not inside the object, then an exception is thrown.

See also:
ExceptionObject

Return the value of the image at a specified point The value returned is always of type double For RGB Images the value returned is the value of the first channel.

Reimplemented from itk::SpatialObject< TDimension >.

template<unsigned int TDimension>
bool itk::SpatialObject< TDimension >::VerifyRequestedRegion ( )
virtualinherited

Verify that the RequestedRegion is within the LargestPossibleRegion. If the RequestedRegion is not within the LargestPossibleRegion, then the filter cannot possible satisfy the request. This method returns true if the request can be satisfied and returns fails if the request cannot. This method is used by PropagateRequestedRegion(). PropagateRequestedRegion() throws a InvalidRequestedRegionError exception is the requested region is not within the LargestPossibleRegion.

Reimplemented from itk::DataObject.

Definition at line 814 of file itkSpatialObject.txx.

References itk::Index< VIndexDimension >::GetIndex(), and itk::Size< VDimension >::GetSize().


Member Data Documentation

ImagePointer itk::ImageSpatialObject< TDimension, unsigned char >::m_Image
protectedinherited

Definition at line 129 of file itkImageSpatialObject.h.

InterpolatorType::Pointer itk::ImageSpatialObject< TDimension, unsigned char >::m_Interpolator
protectedinherited

Definition at line 139 of file itkImageSpatialObject.h.

std::string itk::ImageSpatialObject< TDimension, unsigned char >::m_PixelType
protectedinherited

Definition at line 137 of file itkImageSpatialObject.h.

InternalReferenceCountType itk::LightObject::m_ReferenceCount
mutableprotectedinherited

Number of uses of this object by other objects.

Definition at line 141 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock
mutableprotectedinherited

Mutex lock to protect modification to the reference count

Definition at line 144 of file itkLightObject.h.

int* itk::ImageSpatialObject< TDimension, unsigned char >::m_SlicePosition
protectedinherited

Definition at line 136 of file itkImageSpatialObject.h.

template<unsigned int TDimension = 3>
const unsigned int itk::SpatialObject< TDimension >::MaximumDepth = 9999999
staticinherited
template<unsigned int TDimension = 3>
const unsigned int itk::SpatialObject< TDimension >::ObjectDimension = TDimension
staticinherited

Dimension of the object. This constant is used by functions that are templated over SpatialObject type when they need compile time access to the dimension of the object.

Definition at line 146 of file itkSpatialObject.h.


The documentation for this class was generated from the following files:

Generated at Sun Feb 3 2013 01:53:01 for Orfeo Toolbox with doxygen 1.8.1.1