ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::EllipseSpatialObject< TDimension > Class Template Reference

#include <itkEllipseSpatialObject.h>

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

Public Types

using ArrayType = FixedArray< double, TDimension >
 
using BoundingBoxType = typename Superclass::BoundingBoxType
 
using ConstPointer = SmartPointer< const Self >
 
using PointContainerPointer = SmartPointer< PointContainerType >
 
using PointContainerType = VectorContainer< IdentifierType, PointType >
 
using Pointer = SmartPointer< Self >
 
using PointType = typename Superclass::PointType
 
using ScalarType = double
 
using Self = EllipseSpatialObject
 
using Superclass = SpatialObject< TDimension >
 
using SuperclassPointer = SmartPointer< Superclass >
 
using TransformType = typename Superclass::TransformType
 
- Public Types inherited from itk::SpatialObject< TDimension >
using BoundingBoxPointer = typename BoundingBoxType::Pointer
 
using BoundingBoxType = BoundingBox< IdentifierType, VDimension, ScalarType, VectorContainerType >
 
using ChildrenListPointer = ChildrenListType *
 
using ChildrenListType = std::list< Pointer >
 
using ConstPointer = SmartPointer< const Self >
 
using CovariantVectorType = CovariantVector< ScalarType, VDimension >
 
using DerivativeOffsetType = Vector< double, VDimension >
 
using DerivativeVectorPointer = DerivativeVectorType *
 
using DerivativeVectorType = CovariantVector< ScalarType, VDimension >
 
using IndexType = Index< VDimension >
 
using InputType = Point< ScalarType, VDimension >
 
using ObjectDimensionType = unsigned int
 
using ObjectListType = std::list< Pointer >
 
using Pointer = SmartPointer< Self >
 
using PointPointer = PointType *
 
using PointType = Point< ScalarType, VDimension >
 
using PropertyType = SpatialObjectProperty
 
using RegionType = ImageRegion< VDimension >
 
using ScalarType = double
 
using Self = SpatialObject< VDimension >
 
using SizeType = Size< VDimension >
 
using Superclass = DataObject
 
using TransformConstPointer = const TransformType *
 
using TransformPointer = typename TransformType::Pointer
 
using TransformType = AffineTransform< ScalarType, VDimension >
 
using VectorContainerType = VectorContainer< IdentifierType, PointType >
 
using VectorPointer = VectorType *
 
using VectorType = Vector< ScalarType, VDimension >
 
- Public Types inherited from itk::DataObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = std::string
 
using DataObjectPointerArraySizeType = std::vector< Pointer >::size_type
 
using Pointer = SmartPointer< Self >
 
using Self = DataObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

void Clear () override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const PointTypeGetCenterInObjectSpace () const
 
virtual const char * GetNameOfClass () const
 
virtual const ArrayTypeGetRadiusInObjectSpace () const
 
bool IsInsideInObjectSpace (const PointType &point) const override
 
virtual void SetCenterInObjectSpace (PointType _arg)
 
virtual void SetRadiusInObjectSpace (ArrayType _arg)
 
void SetRadiusInObjectSpace (double radius)
 
- Public Member Functions inherited from itk::SpatialObject< TDimension >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
unsigned int GetMaximumDepth () const
 
unsigned int GetObjectDimension () const
 
void SetId (int id)
 
virtual const int & GetId () const
 
virtual void SetTypeName (std::string _arg)
 
virtual const std::string GetTypeName () const
 
virtual std::string GetClassNameAndDimension () const
 
void SetProperty (const PropertyType &property)
 
const PropertyTypeGetProperty () const
 
PropertyTypeGetProperty ()
 
ModifiedTimeType GetMTime () const override
 
ModifiedTimeType GetMyMTime () const
 
void SetObjectToWorldTransform (const TransformType *transform)
 
virtual TransformTypeGetModifiableObjectToWorldTransform ()
 
virtual const TransformTypeGetObjectToWorldTransform () const
 
const TransformTypeGetObjectToWorldTransformInverse () const
 
void SetObjectToParentTransform (const TransformType *transform)
 
virtual TransformTypeGetModifiableObjectToParentTransform ()
 
virtual const TransformTypeGetObjectToParentTransform () const
 
const TransformTypeGetObjectToParentTransformInverse () const
 
void ComputeObjectToParentTransform ()
 
bool IsInsideInObjectSpace (const PointType &point, unsigned int depth, const std::string &name="") const
 
virtual bool IsInsideInObjectSpace (const PointType &point) const
 
void Update () override
 
virtual bool ValueAtInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsEvaluableAtInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsInsideChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual bool ValueAtChildrenInObjectSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsEvaluableAtChildrenInObjectSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual void SetDefaultInsideValue (double _arg)
 
virtual double GetDefaultInsideValue () const
 
virtual void SetDefaultOutsideValue (double _arg)
 
virtual double GetDefaultOutsideValue () const
 
virtual bool ValueAtInWorldSpace (const PointType &point, double &value, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsInsideInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual bool IsEvaluableAtInWorldSpace (const PointType &point, unsigned int depth=0, const std::string &name="") const
 
virtual void DerivativeAtInObjectSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=1)
 
virtual void DerivativeAtInWorldSpace (const PointType &point, short unsigned int order, CovariantVectorType &value, unsigned int depth=0, const std::string &name="", const DerivativeOffsetType &offset=1)
 
void SetParent (Self *parent)
 
virtual bool HasParent () const
 
virtual const SelfGetParent () const
 
virtual SelfGetParent ()
 
virtual void SetParentId (int _arg)
 
virtual const int & GetParentId () const
 
void SetChildren (ChildrenListType &children)
 
void AddChild (Self *pointer)
 
bool RemoveChild (Self *pointer)
 
void RemoveAllChildren (unsigned int depth=MaximumDepth)
 
virtual ChildrenListTypeGetChildren (unsigned int depth=0, const std::string &name="") const
 
virtual void AddChildrenToList (ChildrenListType *childrenList, unsigned int depth=0, const std::string &name="") const
 
unsigned int GetNumberOfChildren (unsigned int depth=0, const std::string &name="") const
 
SpatialObject< VDimension > * GetObjectById (int id)
 
bool FixParentChildHierarchyUsingParentIds ()
 
bool CheckIdValidity () const
 
void FixIdValidity ()
 
int GetNextAvailableId () const
 
virtual const BoundingBoxTypeGetMyBoundingBoxInObjectSpace () const
 
virtual const BoundingBoxTypeGetMyBoundingBoxInWorldSpace () const
 
virtual bool ComputeFamilyBoundingBox (unsigned int depth=0, const std::string &name="") const
 
virtual const BoundingBoxTypeGetFamilyBoundingBoxInObjectSpace () const
 
virtual const BoundingBoxTypeGetFamilyBoundingBoxInWorldSpace () const
 
virtual void SetLargestPossibleRegion (const RegionType &region)
 
virtual const RegionTypeGetLargestPossibleRegion () const
 
virtual void SetBufferedRegion (const RegionType &region)
 
virtual const RegionTypeGetBufferedRegion () const
 
virtual void SetRequestedRegion (const RegionType &region)
 
void SetRequestedRegion (const DataObject *data) override
 
virtual const RegionTypeGetRequestedRegion () const
 
void SetRequestedRegionToLargestPossibleRegion () override
 
bool RequestedRegionIsOutsideOfTheBufferedRegion () override
 
bool VerifyRequestedRegion () override
 
void UpdateOutputInformation () override
 
void CopyInformation (const DataObject *data) override
 
bool Evaluate (const PointType &point) const
 
- Public Member Functions inherited from itk::DataObject
void DisconnectPipeline ()
 
bool GetDataReleased () const
 
virtual const bool & GetReleaseDataFlag () const
 
SmartPointer< ProcessObjectGetSource () const
 
DataObjectPointerArraySizeType GetSourceOutputIndex () const
 
const DataObjectIdentifierTypeGetSourceOutputName () const
 
virtual void Initialize ()
 
virtual void PropagateRequestedRegion ()
 
void ReleaseData ()
 
virtual void ReleaseDataFlagOff ()
 
virtual void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
void SetReleaseDataFlag (bool flag)
 
bool ShouldIReleaseData () const
 
virtual void UpdateOutputData ()
 
void SetPipelineMTime (ModifiedTimeType time)
 
virtual const ModifiedTimeTypeGetPipelineMTime () const
 
virtual ModifiedTimeType GetUpdateMTime () const
 
virtual void SetRealTimeStamp (RealTimeStamp _arg)
 
virtual const RealTimeStampGetRealTimeStamp () const
 
virtual void PrepareForNewData ()
 
virtual void DataHasBeenGenerated ()
 
virtual void Graft (const DataObject *)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::SpatialObject< TDimension >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::DataObject
static bool GetGlobalReleaseDataFlag ()
 
static void GlobalReleaseDataFlagOff ()
 
static void GlobalReleaseDataFlagOn ()
 
static Pointer New ()
 
static void SetGlobalReleaseDataFlag (bool val)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ObjectDimension = TDimension
 
- Static Public Attributes inherited from itk::SpatialObject< TDimension >
static constexpr unsigned int MaximumDepth
 
static constexpr ObjectDimensionType ObjectDimension
 

Protected Member Functions

void ComputeMyBoundingBox () override
 
 EllipseSpatialObject ()
 
LightObject::Pointer InternalClone () const override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~EllipseSpatialObject () override=default
 
- Protected Member Functions inherited from itk::SpatialObject< TDimension >
void ProtectedComputeObjectToWorldTransform ()
 
 SpatialObject ()=default
 
 ~SpatialObject () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
BoundingBoxTypeGetModifiableMyBoundingBoxInObjectSpace ()
 
LightObject::Pointer InternalClone () const override
 
- Protected Member Functions inherited from itk::DataObject
 DataObject ()
 
 ~DataObject () override
 
virtual void PropagateResetPipeline ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

PointType m_CenterInObjectSpace
 
ArrayType m_RadiusInObjectSpace
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

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

ITK Sphinx Examples:
Examples
Examples/Filtering/SpatialObjectToImage1.cxx, Examples/RegistrationITKv4/ModelToImageRegistration1.cxx, Examples/SpatialObjects/EllipseSpatialObject.cxx, Examples/SpatialObjects/GroupSpatialObject.cxx, Examples/SpatialObjects/ReadWriteSpatialObject.cxx, Examples/SpatialObjects/SceneSpatialObject.cxx, Examples/SpatialObjects/SpatialObjectToImageStatisticsCalculator.cxx, SphinxExamples/src/Core/SpatialObjects/ConvertSpatialObjectToImage/Code.cxx, SphinxExamples/src/Core/SpatialObjects/Ellipse/Code.cxx, SphinxExamples/src/Core/Transform/GlobalRegistrationTwoImagesAffine/Code.cxx, SphinxExamples/src/Core/Transform/GlobalRegistrationTwoImagesBSpline/Code.cxx, and SphinxExamples/src/Registration/Common/GlobalRegistrationOfTwoImages/Code.cxx.

Definition at line 38 of file itkEllipseSpatialObject.h.

Member Typedef Documentation

◆ ArrayType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::ArrayType = FixedArray<double, TDimension>

Definition at line 55 of file itkEllipseSpatialObject.h.

◆ BoundingBoxType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::BoundingBoxType = typename Superclass::BoundingBoxType

Definition at line 51 of file itkEllipseSpatialObject.h.

◆ ConstPointer

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::ConstPointer = SmartPointer<const Self>

Definition at line 46 of file itkEllipseSpatialObject.h.

◆ PointContainerPointer

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::PointContainerPointer = SmartPointer<PointContainerType>

Definition at line 53 of file itkEllipseSpatialObject.h.

◆ PointContainerType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::PointContainerType = VectorContainer<IdentifierType, PointType>

Definition at line 52 of file itkEllipseSpatialObject.h.

◆ Pointer

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::Pointer = SmartPointer<Self>

Definition at line 45 of file itkEllipseSpatialObject.h.

◆ PointType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::PointType = typename Superclass::PointType

Definition at line 49 of file itkEllipseSpatialObject.h.

◆ ScalarType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::ScalarType = double

Definition at line 44 of file itkEllipseSpatialObject.h.

◆ Self

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::Self = EllipseSpatialObject

Definition at line 43 of file itkEllipseSpatialObject.h.

◆ Superclass

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::Superclass = SpatialObject<TDimension>

Definition at line 47 of file itkEllipseSpatialObject.h.

◆ SuperclassPointer

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::SuperclassPointer = SmartPointer<Superclass>

Definition at line 48 of file itkEllipseSpatialObject.h.

◆ TransformType

template<unsigned int TDimension = 3>
using itk::EllipseSpatialObject< TDimension >::TransformType = typename Superclass::TransformType

Definition at line 50 of file itkEllipseSpatialObject.h.

Constructor & Destructor Documentation

◆ EllipseSpatialObject()

template<unsigned int TDimension = 3>
itk::EllipseSpatialObject< TDimension >::EllipseSpatialObject ( )
protected

◆ ~EllipseSpatialObject()

template<unsigned int TDimension = 3>
itk::EllipseSpatialObject< TDimension >::~EllipseSpatialObject ( )
overrideprotecteddefault

Member Function Documentation

◆ Clear()

template<unsigned int TDimension = 3>
void itk::EllipseSpatialObject< TDimension >::Clear ( )
overridevirtual

Reset the spatial object to its initial condition, yet preserves Id, Parent, and Child information

Reimplemented from itk::SpatialObject< TDimension >.

◆ ComputeMyBoundingBox()

template<unsigned int TDimension = 3>
void itk::EllipseSpatialObject< TDimension >::ComputeMyBoundingBox ( )
overrideprotectedvirtual

Get the boundaries of a specific object. This function needs to be called every time one of the object's components is changed.

Reimplemented from itk::SpatialObject< TDimension >.

◆ CreateAnother()

template<unsigned int TDimension = 3>
virtual::itk::LightObject::Pointer itk::EllipseSpatialObject< TDimension >::CreateAnother ( ) 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::Object.

◆ GetCenterInObjectSpace()

template<unsigned int TDimension = 3>
virtual const PointType& itk::EllipseSpatialObject< TDimension >::GetCenterInObjectSpace ( ) const
virtual

Get center in object space

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::SpatialObject< TDimension >.

◆ GetRadiusInObjectSpace()

template<unsigned int TDimension = 3>
virtual const ArrayType& itk::EllipseSpatialObject< TDimension >::GetRadiusInObjectSpace ( ) const
virtual

Get radii via an array of radius values

◆ InternalClone()

template<unsigned int TDimension = 3>
LightObject::Pointer itk::EllipseSpatialObject< TDimension >::InternalClone ( ) const
overrideprotectedvirtual

Actual implementation of the clone method. This method should be reimplemented in subclasses to clone the extra required parameters.

Reimplemented from itk::LightObject.

◆ IsInsideInObjectSpace()

template<unsigned int TDimension = 3>
bool itk::EllipseSpatialObject< TDimension >::IsInsideInObjectSpace ( const PointType point) const
override

Test whether a point is inside or outside the object

◆ New()

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

Method for creation through the object factory.

◆ PrintSelf()

template<unsigned int TDimension = 3>
void itk::EllipseSpatialObject< TDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Print the object informations in a stream.

Reimplemented from itk::DataObject.

◆ SetCenterInObjectSpace()

template<unsigned int TDimension = 3>
virtual void itk::EllipseSpatialObject< TDimension >::SetCenterInObjectSpace ( PointType  _arg)
virtual

Set center point in object space.

◆ SetRadiusInObjectSpace() [1/2]

template<unsigned int TDimension = 3>
virtual void itk::EllipseSpatialObject< TDimension >::SetRadiusInObjectSpace ( ArrayType  _arg)
virtual

Set radii via an array of radius values

◆ SetRadiusInObjectSpace() [2/2]

template<unsigned int TDimension = 3>
void itk::EllipseSpatialObject< TDimension >::SetRadiusInObjectSpace ( double  radius)

Set all radii to the same radius value. Each radius is half the length of one axis of the ellipse.

Member Data Documentation

◆ m_CenterInObjectSpace

template<unsigned int TDimension = 3>
PointType itk::EllipseSpatialObject< TDimension >::m_CenterInObjectSpace
private

Definition at line 123 of file itkEllipseSpatialObject.h.

◆ m_RadiusInObjectSpace

template<unsigned int TDimension = 3>
ArrayType itk::EllipseSpatialObject< TDimension >::m_RadiusInObjectSpace
private

Definition at line 122 of file itkEllipseSpatialObject.h.

◆ ObjectDimension

template<unsigned int TDimension = 3>
constexpr unsigned int itk::EllipseSpatialObject< TDimension >::ObjectDimension = TDimension
staticconstexpr

Definition at line 57 of file itkEllipseSpatialObject.h.


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